mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pycups: Switch to pyproject.
* gnu/packages/cups.scm (python-pycups): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools, python-wheel. Change-Id: I9bd66f866aaade04d97fa2203f6c93ab7def1009 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
e28b372280
commit
bff730995a
1 changed files with 11 additions and 7 deletions
|
@ -53,6 +53,7 @@
|
|||
#:use-module (gnu packages polkit)
|
||||
#:use-module (gnu packages pretty-print)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages python-build)
|
||||
#:use-module (gnu packages python-xyz)
|
||||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages scanner)
|
||||
|
@ -61,6 +62,7 @@
|
|||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system meson)
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (guix build-system pyproject)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix gexp)
|
||||
|
@ -1081,17 +1083,19 @@ obtained and installed separately.")
|
|||
(version "2.0.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "pycups" version ".tar.bz2"))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/zdohnal/pycups")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"140c7073bkhx8w9qpaynllhynkkg0rzj3a4wjh9fnj15yvjlqhsp"))))
|
||||
(build-system python-build-system)
|
||||
(base32 "0x2f48gz9wpmcdjh6dj0kmciil57cm89hp4kcsnvhmkvpwpm3b55"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
'(;; Tests require CUPS to be running
|
||||
#:tests? #f))
|
||||
(inputs
|
||||
(list cups))
|
||||
(inputs (list cups))
|
||||
(native-inputs (list python-setuptools python-wheel))
|
||||
(home-page "https://github.com/zdohnal/pycups")
|
||||
(synopsis "Python bindings for libcups")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue