mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 15:10:16 -05:00
gnu: Add python-openstep-plist.
* gnu/packages/python-xyz.scm (python-openstep-plist): New variable.
This commit is contained in:
parent
937215d562
commit
fff525acca
1 changed files with 34 additions and 0 deletions
|
@ -11592,6 +11592,40 @@ (define-public python-netaddr
|
|||
and MAC network addresses.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-openstep-plist
|
||||
(package
|
||||
(name "python-openstep-plist")
|
||||
(version "0.3.0")
|
||||
(home-page "https://github.com/fonttools/openstep-plist")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url home-page)
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1rxjgzh0p069ncsr2986rn32vhdqyq35irbqg2559jh18456mkca"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'pretend-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(package-version this-package))))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv")))))))
|
||||
(native-inputs
|
||||
(list python-cython python-pytest python-setuptools-scm))
|
||||
(synopsis "OpenStep plist parser and writer")
|
||||
(description
|
||||
"This package provides a parser for the \"old style\" OpenStep property
|
||||
list format (also known as ASCII plist), written in Cython.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-wrapt
|
||||
(package
|
||||
(name "python-wrapt")
|
||||
|
|
Loading…
Reference in a new issue