dev-python/functools32: New package, ebuild written by me
authorJustin Lecher <jlec@gentoo.org>
Wed, 2 Sep 2015 11:01:45 +0000 (13:01 +0200)
committerJustin Lecher <jlec@gentoo.org>
Wed, 2 Sep 2015 11:05:34 +0000 (13:05 +0200)
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/functools32/Manifest [new file with mode: 0644]
dev-python/functools32/functools32-3.2.3.ebuild [new file with mode: 0644]
dev-python/functools32/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/functools32/Manifest b/dev-python/functools32/Manifest
new file mode 100644 (file)
index 0000000..b7f4df1
--- /dev/null
@@ -0,0 +1 @@
+DIST functools32-3.2.3-2.tar.gz 31171 SHA256 f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d SHA512 ad944019f4aefde292b6872bfe06862d01920a2f44adf8740c36ed51d16d879be7638591aaddf9dac4ec83b6f05bbf81972d5f32854abedcce3dde080459f7f7 WHIRLPOOL b574508df6fcc1b1309cc5130c50e0d4611f59f434f5ecea27924085a9c12c70f8fb3819741c3db8f5244a8ee0ceb9085565b5603f3b888166ce66d1af943121
diff --git a/dev-python/functools32/functools32-3.2.3.ebuild b/dev-python/functools32/functools32-3.2.3.ebuild
new file mode 100644 (file)
index 0000000..2a3ffeb
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Backport of the functools module from Python 3"
+HOMEPAGE="https://pypi.python.org/pypi/functools32 https://github.com/MiCHiLU/python-functools32"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}-2.tar.gz"
+
+SLOT="0"
+LICENSE="PSF-2.4"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+S="${WORKDIR}"/${P}-2
+
+python_test(){
+       "${PYTHON}" test_functools32.py || die
+}
diff --git a/dev-python/functools32/metadata.xml b/dev-python/functools32/metadata.xml
new file mode 100644 (file)
index 0000000..301d220
--- /dev/null
@@ -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>