From afc7f67ba0269d77989c2534d5c1627af716fda9 Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 20 Sep 2017 11:49:31 +0000 Subject: [PATCH 2/6] gnu: Add python2-setuptools-scm-git-archive. * gnu/packages/python.scm (python2-setuptools-scm-git-archive): New variable. --- gnu/packages/python.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 1de08f2cd..dac308e1b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7438,6 +7438,30 @@ from an XML-based format.") files. UFO is a file format that stores fonts source files.") (license license:bsd-3))) +(define-public python2-setuptools-scm-git-archive + (package + (name "python2-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) + (arguments + `(#:python ,python-2)) + (propagated-inputs + `(("python2-setuptools-scm" ,python2-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 python-ly (package (name "python-ly") -- 2.14.2