mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: python-pep-adapter: Update to 2.1.3.
* gnu/packages/pep.scm (python-pep-adapter): Update to 2.1.3. [source]: Switch to new git repo. [arguments]<phases>{remove-wheel-requirement}: New phase. [native-inputs]: Add python-pytest and python-pytest-forked. [inputs]: Remove asn1c, add python-setuptools-scm. util-linux.
This commit is contained in:
parent
c178f859b5
commit
140087faa5
1 changed files with 24 additions and 10 deletions
|
@ -26,12 +26,14 @@ (define-module (gnu packages pep)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages base)
|
#:use-module (gnu packages base)
|
||||||
#:use-module (gnu packages boost)
|
#:use-module (gnu packages boost)
|
||||||
|
#:use-module (gnu packages check)
|
||||||
#:use-module (gnu packages documentation)
|
#:use-module (gnu packages documentation)
|
||||||
#:use-module (gnu packages java)
|
#:use-module (gnu packages java)
|
||||||
#:use-module (gnu packages linux)
|
#:use-module (gnu packages linux)
|
||||||
#:use-module (gnu packages mail) ; for libetpan
|
#:use-module (gnu packages mail) ; for libetpan
|
||||||
#:use-module (gnu packages nettle)
|
#:use-module (gnu packages nettle)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
#:use-module (gnu packages python-xyz)
|
||||||
#:use-module (gnu packages sequoia)
|
#:use-module (gnu packages sequoia)
|
||||||
#:use-module (gnu packages sqlite)
|
#:use-module (gnu packages sqlite)
|
||||||
#:use-module (gnu packages tls)
|
#:use-module (gnu packages tls)
|
||||||
|
@ -189,16 +191,16 @@ (define-public libpepadapter
|
||||||
(define-public python-pep-adapter
|
(define-public python-pep-adapter
|
||||||
(package
|
(package
|
||||||
(name "python-pep-adapter")
|
(name "python-pep-adapter")
|
||||||
(version "2.0.5")
|
(version "2.1.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method hg-fetch)
|
(method git-fetch)
|
||||||
(uri (hg-reference
|
(uri (git-reference
|
||||||
(url "https://pep.foundation/dev/repos/pEpPythonAdapter")
|
(url "https://gitea.pep.foundation/pEp.foundation/pEpPythonAdapter")
|
||||||
(changeset "66df0e5b9405"))) ;; r374
|
(commit version)))
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "107i1s8jf8gyhpmqcs64q9csxa3fwc8g7s57iyccqb4czw8gph6d"))))
|
(base32 "0ssz21p1k7xx3snmd4g3ggzq565rlzdmp90l2mph6yfp1y65p39s"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(;; Adding configure-flags does not work, running `build_ext`
|
`(;; Adding configure-flags does not work, running `build_ext`
|
||||||
|
@ -226,12 +228,24 @@ (define-public python-pep-adapter
|
||||||
(string-append a "os.getenv('LIBRARY_PATH', '').split(os.pathsep)\n"))
|
(string-append a "os.getenv('LIBRARY_PATH', '').split(os.pathsep)\n"))
|
||||||
(("^(\\s+SYS_SHARES = )\\['/usr.*" _ a)
|
(("^(\\s+SYS_SHARES = )\\['/usr.*" _ a)
|
||||||
(string-append a "['" (assoc-ref %build-inputs "asn1c") "/share']\n")))
|
(string-append a "['" (assoc-ref %build-inputs "asn1c") "/share']\n")))
|
||||||
|
#t))
|
||||||
|
(add-before 'build 'remove-wheel-requirement
|
||||||
|
;; we dont't build a wheel
|
||||||
|
(lambda _
|
||||||
|
(substitute* "setup.cfg"
|
||||||
|
((" wheel *>= [0-9.]*") ""))
|
||||||
|
(substitute* "pyproject.toml"
|
||||||
|
(("\"wheel *>=.*\"") ""))
|
||||||
#t)))))
|
#t)))))
|
||||||
|
(native-inputs
|
||||||
|
`(("python-pytest" ,python-pytest)
|
||||||
|
("python-pytest-forked" ,python-pytest-forked)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("asn1c" ,asn1c)
|
`(("boost-python" ,boost-with-python3)
|
||||||
("boost-python" ,boost-with-python3)
|
|
||||||
("libpepadapter" ,libpepadapter)
|
("libpepadapter" ,libpepadapter)
|
||||||
("pep-engine" ,pep-engine)))
|
("pep-engine" ,pep-engine)
|
||||||
|
("python-setuptools-scm" ,python-setuptools-scm/next)
|
||||||
|
("util-linux" ,util-linux "lib"))) ;; uuid.h
|
||||||
(home-page "https://pep.foundation/")
|
(home-page "https://pep.foundation/")
|
||||||
(synopsis "Python adapter for p≡p (pretty Easy Privacy)")
|
(synopsis "Python adapter for p≡p (pretty Easy Privacy)")
|
||||||
(description "The p≡p Python adapter is an adaptor interface to the p≡p
|
(description "The p≡p Python adapter is an adaptor interface to the p≡p
|
||||||
|
|
Loading…
Reference in a new issue