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

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-09-02 13:01:45 +02:00
parent f4f9802c2e
commit 2933703166
3 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST functools32-3.2.3-2.tar.gz 31171 SHA256 f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d SHA512 ad944019f4aefde292b6872bfe06862d01920a2f44adf8740c36ed51d16d879be7638591aaddf9dac4ec83b6f05bbf81972d5f32854abedcce3dde080459f7f7 WHIRLPOOL b574508df6fcc1b1309cc5130c50e0d4611f59f434f5ecea27924085a9c12c70f8fb3819741c3db8f5244a8ee0ceb9085565b5603f3b888166ce66d1af943121

View File

@@ -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
}

View File

@@ -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>