diff options
author | Tim Harder <radhermit@gentoo.org> | 2018-06-25 14:22:59 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2018-06-25 14:44:46 -0400 |
commit | 71d29e1f86b48ed9928360ff77eb7050a8faf6d2 (patch) | |
tree | 4ead962c48576b36328f6ee952659323698a2e49 /dev-python/zope-interface | |
parent | app-misc/ranger: remove old (diff) | |
download | gentoo-71d29e1f86b48ed9928360ff77eb7050a8faf6d2.tar.gz gentoo-71d29e1f86b48ed9928360ff77eb7050a8faf6d2.tar.bz2 gentoo-71d29e1f86b48ed9928360ff77eb7050a8faf6d2.zip |
dev-python/zope-interface: version bump to 4.5.0
Diffstat (limited to 'dev-python/zope-interface')
-rw-r--r-- | dev-python/zope-interface/Manifest | 1 | ||||
-rw-r--r-- | dev-python/zope-interface/zope-interface-4.5.0.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest index 6b3f8de34c71..6321b4506d51 100644 --- a/dev-python/zope-interface/Manifest +++ b/dev-python/zope-interface/Manifest @@ -1,3 +1,4 @@ DIST zope.interface-4.1.1.tar.gz 864139 BLAKE2B 5531be26538fc54dc1108130813797ac24f426d7caf3e65172a5beda36a8227bdb9ed4d33c48bec09fe3d3311769082a6fd77c1f24145fe4573fc6bc2b3387e0 SHA512 77d8c978522e95063bb5a1feb5b20af341bcf447d393ceb1ea229f0db02408f0e8981226621c04988936730b265cdba0bab88aaacd7fdf1006281c297e8e1ca1 DIST zope.interface-4.3.2.tar.gz 143139 BLAKE2B 60e8d1ed360192cfd2bafc5738f1a5278216d1ca55ca7104d261078915f9ea1966a1001ceaca02bff9359a69b38b402a77c42e872b1a64f29f61a80805587b4a SHA512 4a9b0f8b7e3157f29aca3810baea13d880b09d80945f23953e13325afe6780c2c1a5562a875f97958c1b33a28e009dd495f608aa7af79aded4f2ac2d61d3a251 DIST zope.interface-4.4.3.tar.gz 147052 BLAKE2B dea636ebed2f66035510d467615a9532a7c082ddf4ad3bb26fe0101f790db667817e12c4fd3f4a0b654151422e6ff8cb156f3d2e4310e0294ffdc7b5b4e836f9 SHA512 29d9f3f1fe9af8a4ffb1e6d2f067bba1fa1bac7b02690ba8429985aa6ca76d3f337076bc8c48f39d0f338ccd855800b2f28b319a183a285191cc007bf8d9c9ad +DIST zope.interface-4.5.0.tar.gz 151261 BLAKE2B 45d84249c4c64e8c5a7406ca50f3fe960130727cf36dce4d6469b84da2747c1dc2eddbc29c779024c40bb7f2457559875ffd39e64c5e0ea7aaa911d7d19e2ca3 SHA512 d3a256723901bf505e4caa0f9988814cd583aefa1adced7ea9ce0a9130e67909f8d6b5dd20d986182a34ea216d63aec1aa4513fc76110e6d96a43a49f1719ee1 diff --git a/dev-python/zope-interface/zope-interface-4.5.0.ebuild b/dev-python/zope-interface/zope-interface-4.5.0.ebuild new file mode 100644 index 000000000000..da0e81e1c162 --- /dev/null +++ b/dev-python/zope-interface/zope-interface-4.5.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 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 flag-o-matic + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Interfaces for Python" +HOMEPAGE="https://pypi.org/project/zope.interface/ https://github.com/zopefoundation/zope.interface" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +RDEPEND=" + dev-python/namespace-zope[${PYTHON_USEDEP}]" + +DEPEND=" + ${RDEPEND} + >=dev-python/setuptools-33.1.1[${PYTHON_USEDEP}] + test? ( dev-python/zope-event[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_compile() { + if ! python_is_python3; then + local CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" + append-flags -fno-strict-aliasing + fi + + distutils-r1_python_compile +} + +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 +} |