mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-python/zope-testing: New package, dep of zc.buildout
This commit is contained in:
1
dev-python/zope-testing/Manifest
Normal file
1
dev-python/zope-testing/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST zope.testing-4.6.1.tar.gz 59292 SHA256 a65c15b8e35a2dde138bc29deac1116658fedeea41baa942147c1ffaab847def SHA512 13ab0ce01efc42227980e79e97ea91d37d377b83d38e897750cee344e9ab1a82f6d860d7884374da55cd0e102447f56fb69970fbfad2de927c0cee3c18b0ddb9 WHIRLPOOL bdca81b71912af70e89a814f39ffb7dd38db8d1c71413c2ee1b2eae4911b287218b0709e7a01ea79e52559be0f8c48474708abc6b871dad6e89349fb03c15a8c
|
||||
12
dev-python/zope-testing/metadata.xml
Normal file
12
dev-python/zope-testing/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">zope.testing</remote-id>
|
||||
<remote-id type="github">zopefoundation/zope.testing</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
38
dev-python/zope-testing/zope-testing-4.6.1.ebuild
Normal file
38
dev-python/zope-testing/zope-testing-4.6.1.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN/-/.}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Zope testing helpers"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/zope.testing https://github.com/zopefoundation/zope.testing"
|
||||
SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="ZPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]
|
||||
dev-python/zope-exceptions[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# remove .pth files since dev-python/namespace-zope handles the ns
|
||||
find "${D}" -name '*.pth' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user