moat-src 0.9.1__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 -3
- {moat_src-0.9.1.dist-info → moat_src-0.9.3.dist-info}/METADATA +1 -1
- {moat_src-0.9.1.dist-info → moat_src-0.9.3.dist-info}/RECORD +6 -6
- {moat_src-0.9.1.dist-info → moat_src-0.9.3.dist-info}/WHEEL +0 -0
- {moat_src-0.9.1.dist-info → moat_src-0.9.3.dist-info}/licenses/LICENSE.txt +0 -0
- {moat_src-0.9.1.dist-info → moat_src-0.9.3.dist-info}/top_level.txt +0 -0
moat/src/_main.py
CHANGED
@@ -909,8 +909,6 @@ async def build(
|
|
909
909
|
# Step 1: check for changed files since last tagging
|
910
910
|
if autotag:
|
911
911
|
for r in repos:
|
912
|
-
if r.name == "moat.src":
|
913
|
-
breakpoint()
|
914
912
|
if r.has_changes(True):
|
915
913
|
try:
|
916
914
|
nt = r.next_tag()
|
@@ -1007,6 +1005,9 @@ async def build(
|
|
1007
1005
|
deb_opts = ["--no-sign"]
|
1008
1006
|
|
1009
1007
|
for r in repos:
|
1008
|
+
ltag = r.last_tag
|
1009
|
+
if r.vers.get("deb","-") == f"{ltag}-{r.vers.pkg}":
|
1010
|
+
continue
|
1010
1011
|
rd = PACK / r.dash
|
1011
1012
|
p = rd / "debian"
|
1012
1013
|
if not p.is_dir():
|
@@ -1035,7 +1036,6 @@ async def build(
|
|
1035
1036
|
)
|
1036
1037
|
tag,ptag = res.stdout.strip().decode("utf-8").rsplit("-", 1)
|
1037
1038
|
ptag = int(ptag)
|
1038
|
-
ltag = r.last_tag
|
1039
1039
|
if tag != ltag or r.vers.pkg != ptag:
|
1040
1040
|
subprocess.run(
|
1041
1041
|
[
|
@@ -1075,6 +1075,8 @@ async def build(
|
|
1075
1075
|
continue
|
1076
1076
|
tag = r.last_tag
|
1077
1077
|
name = r.dash
|
1078
|
+
if r.vers.get("pypi","-") == r.last_tag:
|
1079
|
+
continue
|
1078
1080
|
|
1079
1081
|
targz = rd / "dist" / f"{r.under}-{tag}.tar.gz"
|
1080
1082
|
done = rd / "dist" / f"{r.under}-{tag}.done"
|
@@ -1130,6 +1132,8 @@ async def build(
|
|
1130
1132
|
print("Please fix(?) and try again.", file=sys.stderr)
|
1131
1133
|
no_commit=True
|
1132
1134
|
no_deb=True
|
1135
|
+
else:
|
1136
|
+
r.vers.pypi = r.last_tag
|
1133
1137
|
|
1134
1138
|
# Step 7: upload Debian package
|
1135
1139
|
if run and not no_deb:
|
@@ -1138,6 +1142,8 @@ async def build(
|
|
1138
1142
|
dput_opts = ["-u", "ext"]
|
1139
1143
|
for r in repos:
|
1140
1144
|
ltag = r.last_tag
|
1145
|
+
if r.vers.get("deb","-") == f"{ltag}-{r.vers.pkg}":
|
1146
|
+
continue
|
1141
1147
|
if not (PACK / r.dash / "debian").is_dir():
|
1142
1148
|
continue
|
1143
1149
|
changes = PACK / f"{r.mdash}_{ltag}-{r.vers.pkg}_{ARCH}.changes"
|
@@ -1159,6 +1165,8 @@ async def build(
|
|
1159
1165
|
print(*err, file=sys.stderr)
|
1160
1166
|
print("Please fix(?) and try again.", file=sys.stderr)
|
1161
1167
|
no_commit=True
|
1168
|
+
else:
|
1169
|
+
r.vers.deb = f"{ltag}-{r.vers.pkg}"
|
1162
1170
|
|
1163
1171
|
# Step 8: commit the result
|
1164
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
|