summaryrefslogtreecommitdiff
path: root/dev-python/versiontools
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/versiontools')
-rw-r--r--dev-python/versiontools/Manifest5
-rw-r--r--dev-python/versiontools/metadata.xml12
-rw-r--r--dev-python/versiontools/versiontools-1.9.1-r1.ebuild29
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/versiontools/Manifest b/dev-python/versiontools/Manifest
new file mode 100644
index 000000000000..e72f122312e1
--- /dev/null
+++ b/dev-python/versiontools/Manifest
@@ -0,0 +1,5 @@
+DIST versiontools-1.9.1.tar.gz 19089 SHA256 a969332887a18a9c98b0df0ea4d4ca75972f24ca94f06fb87d591377e83414f6 SHA512 f062eecc9998bf194dcac7c52065757ef546aa94bbe7d5b6786ba10f1e44486df997e9a314ff60a0d4e88a2620824217c8add516011baa2ee4e26ec19f762892 WHIRLPOOL a191e18b8ecc9994b2508abe5259aada09eb23906e589b68b23588a1743cfda88048b9199d5e8627a7bb35019ea0f8fa4f09a01595cb18f8c15cb0a6fb9712fe
+EBUILD versiontools-1.9.1-r1.ebuild 685 SHA256 5710afa1fee4ec1d6a342b492c207147550fbda450ec195500c70f248f04bdee SHA512 ea0bcf7fc6ff8cada26bd018491ee782797ae20506a6032ee8af003b7eac2009c6aa382777408d0ed3894c11c8548e054632220a4dd82df21dab86a6c2d5c0ca WHIRLPOOL d717b1859e0de09d250081a2fb45a3e9705e7babc6010fc614b070ed7f793aae9022a292ccf5d17d3391bd79e69c7544e0f6a47a764ec01a966e431366d441ea
+MISC ChangeLog 2847 SHA256 1f60f8006fd55a98a3d14a5f119d46bc93fa40e6c3131d19f31f5d11f7570a8f SHA512 c8508c112726597066bc8c3a8ed965aa6091bb9481b03d158a60cbc0cf9d1218f77273149e02aff3bda4f6295a88d9401fb3be50ed661ce8216c707d20f7a79e WHIRLPOOL 4a2fd550bdf39abe97138e7ea7dc607b521b81c15419fca8acab4a2120b3fb7996ef42807bcddc168cdde91072dcea12d7351a74797c511b2d8aa0928da0ed4f
+MISC ChangeLog-2015 2000 SHA256 b911343d7f785addc561540937d22965748d675da642762e473e4c58a4c8e7cc SHA512 3bf87ea7cd9d7bbfa1bc469a1bdc47fa540f7ec1d689120ba75167c7d20c3aecca5561ca51f3b1ad97eabe9cd984cd2c4a2c462f7fae2dcc259dbf3d3ed5699d WHIRLPOOL 2fe653933ebb5ec8c31ebbdebe463e49fa249f25b705981653f3de8bcec3d2b32fdc96bc73a8846418b8d2317a7cee966f3dbb446a8fcf5190b6d45b5534b96a
+MISC metadata.xml 370 SHA256 21ef16e91132001a63b910ecd816063d1483a46aa31e7c51287443499b60290e SHA512 2960d71bf6f0a11dd92600c4e62103ead304ab6d3215034fa72253bd57d7a64cea5a97c324df1d5672260b2f679b02e45efe01404cc65a45f55d751a721e48c1 WHIRLPOOL 740a812d8cfe696e36c942be7465b798c69a452a4ea511083b14ed7e284a8e48695ec63f96a9d9032bcb765a5d41a52ebfea2d22926d08c12f78ed9c0151dce3
diff --git a/dev-python/versiontools/metadata.xml b/dev-python/versiontools/metadata.xml
new file mode 100644
index 000000000000..6da64af30fb7
--- /dev/null
+++ b/dev-python/versiontools/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">versiontools</remote-id>
+ <remote-id type="launchpad">versiontools</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/versiontools/versiontools-1.9.1-r1.ebuild b/dev-python/versiontools/versiontools-1.9.1-r1.ebuild
new file mode 100644
index 000000000000..a346f2589929
--- /dev/null
+++ b/dev-python/versiontools/versiontools-1.9.1-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Smart replacement for plain tuple used in __version__"
+HOMEPAGE="https://pypi.python.org/pypi/versiontools/ https://launchpad.net/versiontools"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND=""
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+ # Expexted failure
+ sed -e s':test_cant_import:_&:' -i versiontools/tests.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ esetup.py test
+}