moat-src 0.9.2__py3-none-any.whl → 0.9.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- moat/src/_main.py +11 -1
- {moat_src-0.9.2.dist-info → moat_src-0.9.3.dist-info}/METADATA +1 -1
- {moat_src-0.9.2.dist-info → moat_src-0.9.3.dist-info}/RECORD +6 -6
- {moat_src-0.9.2.dist-info → moat_src-0.9.3.dist-info}/WHEEL +0 -0
- {moat_src-0.9.2.dist-info → moat_src-0.9.3.dist-info}/licenses/LICENSE.txt +0 -0
- {moat_src-0.9.2.dist-info → moat_src-0.9.3.dist-info}/top_level.txt +0 -0
moat/src/_main.py
CHANGED
@@ -1005,6 +1005,9 @@ async def build(
|
|
1005
1005
|
deb_opts = ["--no-sign"]
|
1006
1006
|
|
1007
1007
|
for r in repos:
|
1008
|
+
ltag = r.last_tag
|
1009
|
+
if r.vers.get("deb","-") == f"{ltag}-{r.vers.pkg}":
|
1010
|
+
continue
|
1008
1011
|
rd = PACK / r.dash
|
1009
1012
|
p = rd / "debian"
|
1010
1013
|
if not p.is_dir():
|
@@ -1033,7 +1036,6 @@ async def build(
|
|
1033
1036
|
)
|
1034
1037
|
tag,ptag = res.stdout.strip().decode("utf-8").rsplit("-", 1)
|
1035
1038
|
ptag = int(ptag)
|
1036
|
-
ltag = r.last_tag
|
1037
1039
|
if tag != ltag or r.vers.pkg != ptag:
|
1038
1040
|
subprocess.run(
|
1039
1041
|
[
|
@@ -1073,6 +1075,8 @@ async def build(
|
|
1073
1075
|
continue
|
1074
1076
|
tag = r.last_tag
|
1075
1077
|
name = r.dash
|
1078
|
+
if r.vers.get("pypi","-") == r.last_tag:
|
1079
|
+
continue
|
1076
1080
|
|
1077
1081
|
targz = rd / "dist" / f"{r.under}-{tag}.tar.gz"
|
1078
1082
|
done = rd / "dist" / f"{r.under}-{tag}.done"
|
@@ -1128,6 +1132,8 @@ async def build(
|
|
1128
1132
|
print("Please fix(?) and try again.", file=sys.stderr)
|
1129
1133
|
no_commit=True
|
1130
1134
|
no_deb=True
|
1135
|
+
else:
|
1136
|
+
r.vers.pypi = r.last_tag
|
1131
1137
|
|
1132
1138
|
# Step 7: upload Debian package
|
1133
1139
|
if run and not no_deb:
|
@@ -1136,6 +1142,8 @@ async def build(
|
|
1136
1142
|
dput_opts = ["-u", "ext"]
|
1137
1143
|
for r in repos:
|
1138
1144
|
ltag = r.last_tag
|
1145
|
+
if r.vers.get("deb","-") == f"{ltag}-{r.vers.pkg}":
|
1146
|
+
continue
|
1139
1147
|
if not (PACK / r.dash / "debian").is_dir():
|
1140
1148
|
continue
|
1141
1149
|
changes = PACK / f"{r.mdash}_{ltag}-{r.vers.pkg}_{ARCH}.changes"
|
@@ -1157,6 +1165,8 @@ async def build(
|
|
1157
1165
|
print(*err, file=sys.stderr)
|
1158
1166
|
print("Please fix(?) and try again.", file=sys.stderr)
|
1159
1167
|
no_commit=True
|
1168
|
+
else:
|
1169
|
+
r.vers.deb = f"{ltag}-{r.vers.pkg}"
|
1160
1170
|
|
1161
1171
|
# Step 8: commit the result
|
1162
1172
|
if run:
|
@@ -1,14 +1,14 @@
|
|
1
1
|
moat/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
moat/src/_cfg.yaml,sha256=bXRcamFBn1VCc7MhGBiWK5ciq4qw6iXyZzRJWvs_m0Q,35
|
3
|
-
moat/src/_main.py,sha256=
|
3
|
+
moat/src/_main.py,sha256=RaLzTBzHEixTN72M_d52se_ORtZzxUIsz9x6C95Enuw,35452
|
4
4
|
moat/src/inspect.py,sha256=rUU-FQyQoQP8LJCebbtdL6lgzz9KPH7KGSq11kD4nmU,1489
|
5
5
|
moat/src/test.py,sha256=rA-YV_VDwtfBk-bzIEa31fk9GHl6V8f4HTXejLoAAbk,2187
|
6
6
|
moat/src/_templates/moat/__init__.py,sha256=ZBoFcXbv35djD599Vo_PKTqDjvQXYYXTcPUs5RcQZrs,101
|
7
7
|
moat/src/_templates/moat/_main.py,sha256=8gLupAmWb5T6wLkQYTi99V1nyaS8cAIccwxHet2ydFw,321
|
8
8
|
moat/src/_templates/packaging/pyproject.default.yaml,sha256=nHUa7dQhe8QpDH9Gbmjflf3BI3ECk2cuXArf0oPCgeg,2801
|
9
9
|
moat/src/_templates/packaging/pyproject.forced.yaml,sha256=djfcy3hgfoIgrn2pRrxDWTyN3EEsA1y5NhkzYrGjgNY,1427
|
10
|
-
moat_src-0.9.
|
11
|
-
moat_src-0.9.
|
12
|
-
moat_src-0.9.
|
13
|
-
moat_src-0.9.
|
14
|
-
moat_src-0.9.
|
10
|
+
moat_src-0.9.3.dist-info/licenses/LICENSE.txt,sha256=L5vKJLVOg5t0CEEPpW9-O_0vzbP0PEjEF06tLvnIDuk,541
|
11
|
+
moat_src-0.9.3.dist-info/METADATA,sha256=CR3g-oFCop_-0NTYDLyrpxJdsCPrkBC_-ijBnmwFeCM,733
|
12
|
+
moat_src-0.9.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
13
|
+
moat_src-0.9.3.dist-info/top_level.txt,sha256=pcs9fl5w5AB5GVi4SvBqIVmFrkRwQkVw_dEvW0Q0cSA,5
|
14
|
+
moat_src-0.9.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|