summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-09-22 14:59:13 +0200
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-10-12 16:08:18 +0200
commit229ad120d473360c1e575529c0e105f76a0add54 (patch)
tree3c8f73238f34853eca04e3afbc1aae4bdd851a7b
parentcb6d5c5468f42f52e82596c7e46bac4a25f3c52a (diff)
downloadguix-229ad120d473360c1e575529c0e105f76a0add54.tar.gz
gnu: Add python-setuptools-scm.
* gnu/packages/python.scm (python-setuptools-scm,
  python2-setuptools-scm): New variables.
-rw-r--r--gnu/packages/python.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b999b832cc..bf21e9aa99 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3763,6 +3763,30 @@ child application and control it as if a human were typing commands.")
 (define-public python2-pexpect
   (package-with-python2 python-pexpect))
 
+(define-public python-setuptools-scm
+  (package
+    (name "python-setuptools-scm")
+    (version "1.8.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://pypi.python.org/packages/source/s/"
+                                  "setuptools_scm/setuptools_scm-"
+                                  version ".tar.bz2"))
+              (sha256
+               (base32
+                "00p60v2yfqy1r58pjcx9wy6dvqd7wkpfs5z1dzwf7y75c1g3dgyx"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/pypa/setuptools_scm/")
+    (synopsis "Manage Python package versions in SCM metadata")
+    (description
+     "setuptools_scm handles managing your Python package versions in
+@dfn{software configuration management} (SCM) metadata instead of declaring
+them as the version argument or in a SCM managed file.")
+    (license license:expat)))
+
+(define-public python2-setuptools-scm
+  (package-with-python2 python-setuptools-scm))
+
 (define-public python-ipython
   (package
     (name "python-ipython")