summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-09-02 13:01:45 +0200
committerJustin Lecher <jlec@gentoo.org>2015-09-02 13:05:34 +0200
commit29337031660248e1ebc35205c125b8b7b8d02a55 (patch)
tree3e7e8698559898d63996933e12b5a91290cab446 /dev-python/functools32
parentdev-python/vcversioner: Add pypy support (diff)
downloadgentoo-29337031660248e1ebc35205c125b8b7b8d02a55.tar.gz
gentoo-29337031660248e1ebc35205c125b8b7b8d02a55.tar.bz2
gentoo-29337031660248e1ebc35205c125b8b7b8d02a55.zip
dev-python/functools32: New package, ebuild written by me
Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/functools32')
-rw-r--r--dev-python/functools32/Manifest1
-rw-r--r--dev-python/functools32/functools32-3.2.3.ebuild24
-rw-r--r--dev-python/functools32/metadata.xml5
3 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/functools32/Manifest b/dev-python/functools32/Manifest
new file mode 100644
index 000000000000..b7f4df169ea2
--- /dev/null
+++ b/dev-python/functools32/Manifest
@@ -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
index 000000000000..2a3ffeb6579c
--- /dev/null
+++ b/dev-python/functools32/functools32-3.2.3.ebuild
@@ -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
index 000000000000..301d2207cc29
--- /dev/null
+++ b/dev-python/functools32/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>