gnu: python-vcversioner: Update to 2.16.0.0.
* gnu/packages/python.scm (python-vcversioner): Update to 2.16.0.0. [inputs]: Remove python-setuptools. [properties]: New field. (python2-vcversioner): Use 'strip-python2-variant'. [native-inputs]: Add python2-setuptools.
This commit is contained in:
parent
1f781865fb
commit
538fe01934
|
@ -2486,26 +2486,29 @@ than Python’s urllib2 library.")
|
||||||
(define-public python-vcversioner
|
(define-public python-vcversioner
|
||||||
(package
|
(package
|
||||||
(name "python-vcversioner")
|
(name "python-vcversioner")
|
||||||
(version "2.14.0.0")
|
(version "2.16.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "vcversioner" version))
|
(uri (pypi-uri "vcversioner" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"11ivq1bm7v0yb4nsfbv9m7g7lyjn112gbvpjnjz8nv1fx633dm5c"))))
|
"16z10sm78jd7ca3jbkgc3q5i8a8q7y1h21q1li21yy3rlhbhrrns"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(inputs
|
|
||||||
`(("python-setuptools" ,python-setuptools)))
|
|
||||||
(synopsis "Python library for version number discovery")
|
(synopsis "Python library for version number discovery")
|
||||||
(description "Vcversioner is a Python library that inspects tagging
|
(description "Vcversioner is a Python library that inspects tagging
|
||||||
information in a variety of version control systems in order to discover
|
information in a variety of version control systems in order to discover
|
||||||
version numbers.")
|
version numbers.")
|
||||||
(home-page "https://github.com/habnabit/vcversioner")
|
(home-page "https://github.com/habnabit/vcversioner")
|
||||||
(license license:isc)))
|
(license license:isc)
|
||||||
|
(properties `((python2-variant . ,(delay python2-vcversioner))))))
|
||||||
|
|
||||||
(define-public python2-vcversioner
|
(define-public python2-vcversioner
|
||||||
(package-with-python2 python-vcversioner))
|
(let ((vcversioner (package-with-python2
|
||||||
|
(strip-python2-variant python-vcversioner))))
|
||||||
|
(package (inherit vcversioner)
|
||||||
|
(native-inputs `(("python2-setuptools" ,python2-setuptools)
|
||||||
|
,@(package-native-inputs vcversioner))))))
|
||||||
|
|
||||||
(define-public python-jsonschema
|
(define-public python-jsonschema
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in New Issue