gnu: Add python-setuptools-scm-git-archive.

* gnu/packages/python.scm (python-setuptools-scm-git-archive,
python2-setuptools-scm-git-archive): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
ng0 2017-11-28 14:42:42 -05:00 committed by Leo Famulari
parent 427a51fd8f
commit 9b3c7520eb
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 27 additions and 0 deletions

View File

@ -11856,3 +11856,30 @@ services.")
(define-public python2-jsonrpclib-pelix (define-public python2-jsonrpclib-pelix
(package-with-python2 python-jsonrpclib-pelix)) (package-with-python2 python-jsonrpclib-pelix))
(define-public python-setuptools-scm-git-archive
(package
(name "python-setuptools-scm-git-archive")
(version "1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "setuptools_scm_git_archive" version))
(sha256
(base32
"1nii1sz5jq75ilf18bjnr11l9rz1lvdmyk66bxl7q90qan85yhjj"))))
(build-system python-build-system)
(native-inputs
`(("python-pytest-3.0" ,python-pytest-3.0)))
(propagated-inputs
`(("python-setuptools-scm" ,python-setuptools-scm)))
(home-page "https://github.com/Changaco/setuptools_scm_git_archive/")
(synopsis "Setuptools_scm plugin for git archives")
(description
"The setuptools_scm_git_archive package is a plugin to
setuptools_scm, which supports obtaining versions from git archives that
belong to tagged versions.")
(license license:expat)))
(define-public python2-setuptools-scm-git-archive
(package-with-python2 python-setuptools-scm-git-archive))