commit:     29337031660248e1ebc35205c125b8b7b8d02a55
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 11:01:45 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 11:05:34 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29337031

dev-python/functools32: New package, ebuild written by me

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/functools32/Manifest                 |  1 +
 dev-python/functools32/functools32-3.2.3.ebuild | 24 ++++++++++++++++++++++++
 dev-python/functools32/metadata.xml             |  5 +++++
 3 files changed, 30 insertions(+)

diff --git a/dev-python/functools32/Manifest b/dev-python/functools32/Manifest
new file mode 100644
index 0000000..b7f4df1
--- /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 0000000..2a3ffeb
--- /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 0000000..301d220
--- /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>

Reply via email to