~ruther/guix-local

64ba79d12b919caa6355c07aa30cb069eab0c021 — Nicolas Graves 5 months ago 222deca
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>
1 files changed, 17 insertions(+), 10 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +17 -10
@@ 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