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
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')
-rw-r--r--dev-python/versioneer/Manifest1
-rw-r--r--dev-python/versioneer/metadata.xml5
-rw-r--r--dev-python/versioneer/versioneer-0.15.ebuild30
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest
new file mode 100644
index 000000000000..68bf08c54db3
--- /dev/null
+++ b/dev-python/versioneer/Manifest
@@ -0,0 +1 @@
+DIST versioneer-0.15.tar.gz 35408 SHA256 1252b9b9420fc3bc01036640da7928fe5d04519f463c5e960eb774c3ea80cd09 SHA512 b9d2f282f5dc681b0dafb0ae34352eb995e16b3184047bc29301b52acde9fc29b49e129c49c767827808a1e524315ece8c8fe02edf18a9d9cd20c34f345336e5 WHIRLPOOL fcc80ffe73bb3733733785587e84b0ab7de39a0916e5070c6cbdf499115e6da51a078f9d8176f4a15305c1b623cd59469385eaeeba33bbcb0116203f7c1704c7
diff --git a/dev-python/versioneer/metadata.xml b/dev-python/versioneer/metadata.xml
new file mode 100644
index 000000000000..ee7e8b2450a8
--- /dev/null
+++ b/dev-python/versioneer/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+</pkgmetadata>
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
+}