mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-11 14:26:13 +01:00
gnu: Add python-get-version.
* gnu/packages/python-xyz.scm (python-get-version): New variable.
This commit is contained in:
parent
cc2c2850ce
commit
2ceff35f07
1 changed files with 29 additions and 0 deletions
|
@ -7336,6 +7336,35 @@ designed to efficiently cope with extremely large amounts of data.")
|
||||||
Python code formatter \"black\".")
|
Python code formatter \"black\".")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python-get-version
|
||||||
|
(package
|
||||||
|
(name "python-get-version")
|
||||||
|
(version "2.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "get_version" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1g15jyx33vkxavv9hwv275cs4g9bp2i1y942raw3fxamq8kbaml1"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(propagated-inputs
|
||||||
|
`(("python-pygments" ,python-pygments)
|
||||||
|
("python-pytest" ,python-pytest)
|
||||||
|
("python-pytest-black" ,python-pytest-black)
|
||||||
|
("python-pytest-cov" ,python-pytest-cov)
|
||||||
|
("python-setuptools" ,python-setuptools)
|
||||||
|
("python-testpath" ,python-testpath)))
|
||||||
|
(home-page "https://github.com/flying-sheep/get_version")
|
||||||
|
(synopsis "Version helper in the spirit of versioneer")
|
||||||
|
(description
|
||||||
|
"This package provides a version helper that lets you automatically use
|
||||||
|
the latest @code{vX.X.X} Git tag as the version in your Python package. It
|
||||||
|
also supports getting the version from Python source distributions or, once
|
||||||
|
your package is installed, via @code{pkg_resources} (part of
|
||||||
|
@code{setuptools}).")
|
||||||
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public python-pyasn1
|
(define-public python-pyasn1
|
||||||
(package
|
(package
|
||||||
(name "python-pyasn1")
|
(name "python-pyasn1")
|
||||||
|
|
Loading…
Add table
Reference in a new issue