summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-10-30 15:14:32 +0100
committerJustin Lecher <jlec@gentoo.org>2015-10-31 09:41:36 +0100
commit68988813e2ce5488be5f6cccaa5c3d1867038edd (patch)
tree9a047c715ec62e603473705294f6d3db8e969a44 /dev-python/versioneer/versioneer-0.15.ebuild
parentdev-python/enable: Backport fixes for doc building (diff)
downloadgentoo-68988813e2ce5488be5f6cccaa5c3d1867038edd.tar.gz
gentoo-68988813e2ce5488be5f6cccaa5c3d1867038edd.tar.bz2
gentoo-68988813e2ce5488be5f6cccaa5c3d1867038edd.zip
dev-python/versioneer: New package written by me
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/versioneer/versioneer-0.15.ebuild')
-rw-r--r--dev-python/versioneer/versioneer-0.15.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/versioneer/versioneer-0.15.ebuild b/dev-python/versioneer/versioneer-0.15.ebuild
new file mode 100644
index 000000000000..ef9e1b318131
--- /dev/null
+++ b/dev-python/versioneer/versioneer-0.15.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Easy VCS-based management of project version strings"
+HOMEPAGE="https://pypi.python.org/pypi/versioneer https://github.com/warner/python-versioneer"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="public-domain"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ esetup.py make_versioneer
+ git config --global user.email "you@example.com"
+ git config --global user.name "Your Name"
+
+ ${PYTHON} test/git/test_git.py -v || die
+}