Upgrade mallard-ducktype to 1.0.2

  • Done
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • Jack Hill
Owner
unassigned
Submitted by
Jack Hill
Severity
normal
J
J
Jack Hill wrote on 22 Jul 2019 02:05
(address . guix-patches@gnu.org)
alpine.DEB.2.20.1907211953410.9756@marsh.hcoop.net
Hi Guix,

mallard-ducktype 1.0.2 has been released, so I've prepared the following
patch to update our package definition.

Notable in this release is the availability of a source tarball on pypi,
so I've updated the package definition to use that instead of a git
reference.


Best,
Jack
J
J
Jack Hill wrote on 22 Jul 2019 02:08
[PATCH] gnu: mallard-ducktype: Update to 1.0.2.
(address . 36755@debbugs.gnu.org)(name . Jack Hill)(address . jackhill@jackhill.us)
20190722000800.28933-1-jackhill@jackhill.us
With this release a source tarball is newly available on PyPI.

* gnu/packages/python-xyz.scm (mallard-ducktype) Update to 1.0.2.
[source] Use pypi uri.
---
gnu/packages/python-xyz.scm | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6e90c9a933..43bcc377e7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3122,19 +3122,14 @@ and is very extensible.")
(define-public mallard-ducktype
(package
(name "mallard-ducktype")
- (version "1.0.1")
+ (version "1.0.2")
(source
(origin
- (method git-fetch)
- ;; git-reference because a proper source tarball is not available
- ;; https://lists.gnu.org/archive/html/guix-devel/2019-05/msg00209.html
- (uri (git-reference
- (url "https://github.com/projectmallard/mallard-ducktype.git")
- (commit version)))
- (file-name (git-file-name name version))
+ (method url-fetch)
+ (uri (pypi-uri name version))
(sha256
(base32
- "0crland0kmpsyjfmnflcw7gaqy5b87b6ah17cmr9d5z1kyazf54n"))))
+ "1xxx8jqsqais91li2wl9jbc9fzhgq1gbi24lf9kx43j6fjck25cf"))))
(build-system python-build-system)
(home-page "http://projectmallard.org")
(synopsis "Convert Ducktype to Mallard documentation markup")
--
2.22.0
E
E
Efraim Flashner wrote on 22 Jul 2019 08:50
(name . Jack Hill)(address . jackhill@jackhill.us)(address . 36755@debbugs.gnu.org)
20190722065056.GL1034@macbook41
The patch applies cleanly but it turns out the test suite doesn't run.
Digging a little further, the test suite isn't included with the pypi
release, so I'd prefer to stay with the git checkout so we can run the
test suite.

Can you send an updated patch that keeps the git checkout?

Thanks


--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl01XNAACgkQQarn3Mo9
g1GYTQ/+JwRMkWbBYMPbjmjjynZaecNKDSkv54cQs/gESUZjMV8vnmfJig968TVr
oA15dJ8i8syV2cI7QxL6qWg84av7edSBsKoCjYF7ZGEkQb49so5YqecHu6fzsKhu
UI/xlrk2swngcheyPe0bAMzaylGwPYo0xn2KcV6ljBmy44snl7Rr0oi6QTSGpB7D
G65TmDnNS9+Bs62/64vlKS/HM1gibyC6U/gV6m/yeN6pdVuXL2XI/JLFkewkvitR
dbXk4PZ69U5Q0jQeLG7ivJjz81aaslSbeQbxfMsYkCRnCFrRqz9eLexrWZURJmjd
nOeS3ZYgNr22oRWly2gO1Pg7r0QCZDZGyf4852vYDIgxHZdgYXmrbtlbi1fMo4d3
XqZNNvYorsTuchkvBVeIEjQl12MBUvoYRphePgVo311vmMcKxR6C/xtPLCTfSNwK
74lDU/Rhbs8/U2GE/0q7bmaFSCaxyJSPhNb09VrbECiGX5ioqAWIxKLLlxJXckA7
3e0LrzQVYFuVb8T+2/y1aIh3p+coRhH1Cf+a1uFtYLa63Od6YltlPEnlhUxjlhO0
es4xnPHi08iVuRs6Q/Rq1RZZA2HvRELwZWJwli2fsyorJi/FOmJS8APAzaYl/PBo
FJIQQl1wh4vvU/MNGtNUuUOSxgDgQaRPoPQdg8hV8tERACYUIz4=
=3uWM
-----END PGP SIGNATURE-----


J
J
Jack Hill wrote on 22 Jul 2019 15:27
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 36755@debbugs.gnu.org)
alpine.DEB.2.20.1907220925300.9756@marsh.hcoop.net
On Mon, 22 Jul 2019, Efraim Flashner wrote:

Toggle quote (5 lines)
> The patch applies cleanly but it turns out the test suite doesn't run.
> Digging a little further, the test suite isn't included with the pypi
> release, so I'd prefer to stay with the git checkout so we can run the
> test suite.

Thanks for the review and catching that. I agree that sticking with the
git checkout sounds like the correct course of action.

Toggle quote (2 lines)
> Can you send an updated patch that keeps the git checkout?

Sure, new patch coming shortly.
J
J
Jack Hill wrote on 22 Jul 2019 15:33
[PATCH v2] gnu: mallard-ducktype: Update to 1.0.2.
(address . 36755@debbugs.gnu.org)
20190722133301.21156-1-jackhill@jackhill.us
* gnu/packages/python-xyz.scm (mallard-ducktype) Update to 1.0.2.
---
gnu/packages/python-xyz.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d8f144893d..362ab7f031 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3122,19 +3122,19 @@ and is very extensible.")
(define-public mallard-ducktype
(package
(name "mallard-ducktype")
- (version "1.0.1")
+ (version "1.0.2")
(source
(origin
(method git-fetch)
- ;; git-reference because a proper source tarball is not available
- ;; https://lists.gnu.org/archive/html/guix-devel/2019-05/msg00209.html
+ ;; git-reference because tests are not included in pypi source tarball
+ ;; https://issues.guix.gnu.org/issue/36755#2
(uri (git-reference
(url "https://github.com/projectmallard/mallard-ducktype.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
- "0crland0kmpsyjfmnflcw7gaqy5b87b6ah17cmr9d5z1kyazf54n"))))
+ "1jk9bfz7g04ip78s03b0xak6d54rj4h9zpgadkziy1ji216g6y4c"))))
(build-system python-build-system)
(arguments
'(#:phases
--
2.22.0
E
E
Efraim Flashner wrote on 23 Jul 2019 08:10
(name . Jack Hill)(address . jackhill@jackhill.us)(address . 36755-done@debbugs.gnu.org)
20190723061044.GA780@macbook41
patch pushed. Thanks!

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl02pOQACgkQQarn3Mo9
g1Feyw//QE0qRMrnKTdPcARXqpx3w8amzbNvx66cjstzFnu0Wt0LOEh7YXqdeKIW
aehp7mDUL/e/AHmDv9VwyRIoKEzLWc7LERgkKVWXmrfAHbDTVP3bFcqWa+tR+KeR
7ww429fSWBZoi6BeRM0gNeKd1rSmf93m2NXuS3YE74ZQT3pg5s/jJSeG3X5mKfZD
QFd9n1ZR8HNtJiqLoHLqpB+59NWazxGSRtdHgHvwVLLI94JHRQ5VGiQXsvhgvpAc
L+QZ6npW2QKc1O0RTpjA+UbGnVDRjtZvRrCyp9riUy6ZQNYio/qhqSdnoGhCe1oY
leve6T9hyhL9vtennT85F6dSuogd3Hi/wRD+c4TfmLwlhV1OVxGreuM2mohFtbxc
fkV/m3XIskMKqBnxqhOBqvp3H4ZVZS3jtYcNLYtcqKQQWyGdwCDVXPtPmE5gCK5P
GIg6iwqEgSOfa4xvLucvhfWEyHTbubVoqMumsZlMYOstiB+O4f7W4/eQaEfrUwPD
4OBFKMfoB2nVkhVww9CYrBVuZL0bLNZTlcmLeDwq/UYYUoeVJQGFYuFGT+Sw6IUX
lu+hiSIrop3s6ROZLBpKyJKk+cW9ae6QWRNXUWRnt7hhooEbcO0mGV+DhzLIOexE
TcB4I2bkY5mh3AF60vzYRDXDQYjLZSBkAZ5ir7cqMWoz4FAvD3M=
=b/yq
-----END PGP SIGNATURE-----


Closed
?