diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-18 12:55:39 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-18 23:40:37 +0100 |
| commit | 64ba79d12b919caa6355c07aa30cb069eab0c021 (patch) | |
| tree | 9ad0813d25f21d32d8bb323040bb23887da127ba /gnu | |
| parent | 222deca6d69040c485420f31e9917cc46af25292 (diff) | |
gnu: python-pyqrcode: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pyqrcode):
[properties, source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Set <#:test-backend>.
[native-inputs]: Add python-pynose, python-pypng, python-setuptools.
[home-page, description]: Improve style.
Change-Id: If523d6420d760dcd571cc3841645a9ddcb24e817
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d31cc5722dc..e19c10fd083 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15748,21 +15748,28 @@ approach.") (define-public python-pyqrcode (package (name "python-pyqrcode") - (version "1.2.1") + (properties '((commit . "674a77b5eaf850d063f518bd90c243ee34ad6b5d") + (revision . "0"))) + (version (git-version "1.2.1" + (assoc-ref properties 'revision) + (assoc-ref properties 'commit))) (source (origin - (method url-fetch) - (uri (pypi-uri "PyQRCode" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/mnooner256/pyqrcode") + (commit (assoc-ref properties 'commit)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1m9ln8k9v7dfbh1i81225hx5mdsh8mpf9g7r4wpbfmiyfcs7dgzx")))) - (build-system python-build-system) - (home-page - "https://github.com/mnooner256/pyqrcode") + (base32 "0ks4sqwcwsnb5r65z6zdfbir34f35sfv3agnlmcq1w36fya2y62m")))) + (build-system pyproject-build-system) + (arguments (list #:test-backend #~'nose)) + (native-inputs (list python-pynose python-pypng python-setuptools)) + (home-page "https://github.com/mnooner256/pyqrcode") (synopsis "QR code generator") (description - "Pyqrcode is a QR code generator written purely in Python with -SVG, EPS, PNG and terminal output.") + "Pyqrcode is a QR code generator written purely in Python with SVG, EPS, +PNG and terminal output.") (license license:bsd-3))) (define-public python-seaborn |
