From 29337031660248e1ebc35205c125b8b7b8d02a55 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Wed, 2 Sep 2015 13:01:45 +0200 Subject: [PATCH] dev-python/functools32: New package, ebuild written by me Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher --- dev-python/functools32/Manifest | 1 + .../functools32/functools32-3.2.3.ebuild | 24 +++++++++++++++++++ dev-python/functools32/metadata.xml | 5 ++++ 3 files changed, 30 insertions(+) create mode 100644 dev-python/functools32/Manifest create mode 100644 dev-python/functools32/functools32-3.2.3.ebuild create mode 100644 dev-python/functools32/metadata.xml 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 @@ + + + + python + -- 2.26.2