From: Ben Woodcroft <b.woodcroft@uq.edu.au>
To: Daniel Pimentel <d4n1@d4n1.org>, guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Update python2-qrcode (refactored)
Date: Fri, 17 Jun 2016 08:08:08 +1000 [thread overview]
Message-ID: <57632348.7020101@uq.edu.au> (raw)
In-Reply-To: <ec3a78bc58f902659cd36fa14e5937f5@d4n1.org>
Hi Daniel,
Thanks for the patch.
> Subject: [PATCH 3/3] gnu: Add python2-qrcode
nitpicks: A full stop should be added at the end, and the following
changelog-style line should be added:
* gnu/packages/python.scm (python2-qrcode): New variable.
There was also some trailing whitespace in the patch.
> +
> +(define-public python2-qrcode
> + (package
> + (name "python2-qrcode")
> + (version "5.1")
5.3 is the newest version, is there a reason to stick with this older
version?
> + (source (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://pypi.python.org/packages/source/q/qrcode/qrcode-"
> + version ".tar.gz"))
I think Andreas' comment still applies here i.e. better to use 'pypi-url'.
> + (sha256
> + (base32
> + "0skzrvhjnnacrz52jml4i050vdx5lfcd3np172srxjaghdgfxg9k"))))
> + (build-system python-build-system)
> + (inputs
> + `(("python2-setuptools" ,python2-setuptools)
Can we make this a native-input ?
> + ("python2-pillow" ,python2-pillow)
I agree this should be an input, even if it is optional. However, it
does not get included in the .pth file, does this mean that it is not
available as usual in an environment. Would you mind please checking this?
> + ("python2-six" ,python2-six)))
> + (arguments
> + `(#:python ,python-2)) ; only Python 2.7 is supported
> + (home-page "https://pypi.python.org/pypi/qrcode")
> + (synopsis "Python library to generate QR Codes")
> + (description
> + "Python library that uses image libraries, Python Imaging
> Library (PIL)
> +by default, to generate QR Codes.")
How about "qrcode is a library which can be used to generate Quick
Response (QR) images. It is recommended that the pillow library be used
to generate images, though the default Python imaging library can also
be used.
> + (license license:expat)))
This should be bsd-3 I think.
Thanks,
ben
next prev parent reply other threads:[~2016-06-16 22:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-14 19:26 [PATCH] gnu: Add python2-qrcode Daniel Pimentel
2016-06-14 19:51 ` ng0
2016-06-14 20:00 ` [PATCH] gnu: Update python2-qrcode Daniel Pimentel
2016-06-14 21:12 ` ng0
2016-06-14 21:48 ` d4n1
2016-06-15 13:12 ` Andreas Enge
2016-06-16 12:14 ` [PATCH] gnu: Update python2-qrcode (refactored) Daniel Pimentel
2016-06-16 22:08 ` Ben Woodcroft [this message]
2016-06-17 23:40 ` [PATCH 2/2] gnu: Update python2-qrcode Daniel Pimentel
2016-06-18 5:31 ` Ben Woodcroft
2016-06-23 16:14 ` Daniel Pimentel
2016-06-23 16:41 ` [PATCH] gnu: Add python2-qrcode Daniel Pimentel
2016-06-23 23:45 ` Ben Woodcroft
2016-06-17 23:47 ` [PATCH 2/2] gnu: Update python2-qrcode Daniel Pimentel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57632348.7020101@uq.edu.au \
--to=b.woodcroft@uq.edu.au \
--cc=d4n1@d4n1.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).