diff options
-rw-r--r-- | dev-python/zope-component/Manifest | 1 | ||||
-rw-r--r-- | dev-python/zope-component/zope-component-4.4.1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/zope-component/Manifest b/dev-python/zope-component/Manifest index 7b72b84203a6..b42c1c74c846 100644 --- a/dev-python/zope-component/Manifest +++ b/dev-python/zope-component/Manifest @@ -1,2 +1,3 @@ DIST zope.component-4.3.0.tar.gz 85971 SHA256 bb4136c7443610f8c2d2d357cad247c3e90bb5e6f0b7a02b0edfb11924ff9bc2 SHA512 0c078bf2471bee44acac0c291c3159f4315cdbdb3eaa504f97c1b345fdba5efff6a1514ee2ab558ff3c3e4a18924f982de7c7ddf323080ee99f573d6776d91cc WHIRLPOOL 9edc6362b815497d129f8bcf897996f4fbc56b067a894b3033b4fcc85515d317eab54d63cfec4b066fb4ac750c94ddb6aaf0de4563d74e573afb172b31398be6 DIST zope.component-4.4.0.tar.gz 86804 SHA256 2a53e184026d63ef4073dd3722b34f104fbc702329b61182bf65e1152ef5038a SHA512 7c158a8522fd7b7abd98837db4e9750c2a1a8b6878756ff80c6aa5c5dcaaf29323fd2daede63bd26f9242cdedb3ec0577b6d30a312b00c910f28f8397b795659 WHIRLPOOL c8b67436b1c213726cca7b1ea855fbadb3dbdc8fb2824022ad663ddaaa623eccfd76dbdb53db97cbd7dbb9da61983fb4a7f23c8b8467dc813e26e0547b69798b +DIST zope.component-4.4.1.tar.gz 84745 SHA256 1b29aa65413f6dda29e64e2352a6aa13d9ba70078f6b91f328573488788d531c SHA512 dc9f6a725cc49ac94a164d11786ef977e94e1c9a7c88de4aaeb0f62621cfe00284007ae44937ec92ae6cffc5b16ab4af1548db2237b0ba4b818e2c8f6355ecbd WHIRLPOOL 20027bf663a9dd3abfce7ee72b35dae8b574b139da6278fcaf0a833051c54e169960dcceaeb0bcb9c4c140e82bde9c3e4f2da47857d99e883214845cb4c4bcb8 diff --git a/dev-python/zope-component/zope-component-4.4.1.ebuild b/dev-python/zope-component/zope-component-4.4.1.ebuild new file mode 100644 index 000000000000..88bcb9d4a319 --- /dev/null +++ b/dev-python/zope-component/zope-component-4.4.1.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.component +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Zope Component Architecture" +HOMEPAGE="https://github.com/zopefoundation/zope.component http://docs.zope.org/zope.component/" +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/namespace-zope[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + >=dev-python/zope-interface-4.1.0[${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 +} |