Browse Source

gnu: pep-python: Update to 2.1.3.

* gnu/packages/pep.scm(python-pep): Update to 2.1.3.
  [source]: Change to git repo.
  [native-inputs]: Added.
  [arguments]<phases>{unpin-versions}: New phase.
main
Hartmut Goebel 1 year ago
parent
commit
46f03a9f68
1 changed files with 24 additions and 11 deletions
  1. +24
    -11
      pEp/nightly.scm

+ 24
- 11
pEp/nightly.scm View File

@ -40,6 +40,7 @@
#:use-module (gnu packages rust)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz) ; for wheel
#:use-module (gnu packages nettle)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages sequoia)
@ -195,19 +196,19 @@ ENGINE_INC_PATH=~a/include
adapters.")
(license license:bsd-3)))
(define-public python-pep
(define-public python-pep-adapter
(package
(name "python-pep")
(version "2.1.0")
(name "python-pep-adapter")
(version "2.1.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitea.pep.foundation/pEp.foundation/pEpPythonAdapter")
(commit "Release_2.1.0")))
(file-name (string-append name "-" version "-checkout"))
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1ysxxg3wznd5bqrj3x1i2kbdrr3zz75gnz0b8pl354mf3fmzcmll"))))
(base32 "0ssz21p1k7xx3snmd4g3ggzq565rlzdmp90l2mph6yfp1y65p39s"))))
(build-system python-build-system)
(arguments
`(;; Adding configure-flags does not work, running `build_ext`
@ -235,16 +236,28 @@ adapters.")
(string-append a "os.getenv('LIBRARY_PATH', '').split(os.pathsep)\n"))
(("^(\\s+SYS_SHARES = )\\['/usr.*" _ a)
(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)))))
(native-inputs
`(("python-pytest" ,python-pytest)
("python-pytest-forked" ,python-pytest-forked)))
(inputs
`(("pep-engine" ,pep-engine)
`(("boost-python" ,boost-with-python3)
("libpepadapter" ,libpepadapter)
("boost-python" ,boost-with-python3)
("asn1c" ,asn1c)))
("pep-engine" ,pep-engine)
("python-setuptools-scm" ,python-setuptools-scm/next)
("util-linux" ,util-linux "lib"))) ;; uuid.h
(home-page "https://pep.foundation/")
(synopsis "p≡p Python adapter")
(synopsis "Python adapter for p≡p (pretty Easy Privacy)")
(description "The pp Python adapter is an adaptor interface to the pp
(pretty Easy privacy) Engine.")
(pretty Easy privacy) engine.")
(license license:gpl3)))
(define-public java-pep-jni-adapter


Loading…
Cancel
Save