diff options
-rw-r--r-- | dev-python/zope-configuration/Manifest | 1 | ||||
-rw-r--r-- | dev-python/zope-configuration/metadata.xml | 18 | ||||
-rw-r--r-- | dev-python/zope-configuration/zope-configuration-4.1.0.ebuild | 40 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/zope-configuration/Manifest b/dev-python/zope-configuration/Manifest new file mode 100644 index 000000000000..2b7dd0f38cff --- /dev/null +++ b/dev-python/zope-configuration/Manifest @@ -0,0 +1 @@ +DIST zope.configuration-4.1.0.tar.gz 77780 BLAKE2B a3f0da446bbc858e43ccd4249c80db07b1f29df1fc31931c07bcd55116084a70b9618b15f22a8f1027e1fc53c8e2a7ba75bb3a80d8419c16cbef8f847299a3de SHA512 86bbc5ac22c61d485fcb55c4dafb5b81eaab0a08de1e5dc3cd586769323a09896e72b1e8aac790d3e8d8f93a133efd3f88a92a4b3c1075bdd0da62cd4e33c56a diff --git a/dev-python/zope-configuration/metadata.xml b/dev-python/zope-configuration/metadata.xml new file mode 100644 index 000000000000..3e47ce6bf270 --- /dev/null +++ b/dev-python/zope-configuration/metadata.xml @@ -0,0 +1,18 @@ +<?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> + </maintainer> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <upstream> + <remote-id type="github">zopefoundation/zope.configuration</remote-id> + <remote-id type="pypi">zope.configuration</remote-id> + </upstream> + <longdescription lang="en"> + The Zope configuration system provides an extensible system for supporting various kinds of configurations. + </longdescription> +</pkgmetadata> diff --git a/dev-python/zope-configuration/zope-configuration-4.1.0.ebuild b/dev-python/zope-configuration/zope-configuration-4.1.0.ebuild new file mode 100644 index 000000000000..9b2acc4b23b2 --- /dev/null +++ b/dev-python/zope-configuration/zope-configuration-4.1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6}) + +inherit distutils-r1 +MY_PN=zope.configuration +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Zope Configuration Architecture" +HOMEPAGE="https://github.com/zopefoundation/zope.configuration http://docs.zope.org/zope.configuration/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="test" + +RDEPEND="dev-python/zope-i18nmessageid[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] + dev-python/zope-schema[${PYTHON_USEDEP}]" +DEPEND="test? ( ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${MY_P} + +RESTRICT="test" + +python_test() { + nosetests || die +} + +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 +} |