mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-python/zope-interface: bump to 5.1.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22_p29 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST zope.interface-4.7.1.tar.gz 151374 BLAKE2B 87900329d4634456287fe0fc78093df02f9b0e27fe2fd9f6dc039253f5814f2a00936e0f49e6001754c192eed323cfad068cf863d3e52ed31bad6352d83e1d0e SHA512 cb99cdf9733cdd2fb6637163167da0073145db1ed1788ae147098a23a9cafb4d661368a1780a44a231a2ea9f1adfa4fd6acac423a4a8d9cf026ee3a603ca7767
|
||||
DIST zope.interface-5.1.0.tar.gz 225400 BLAKE2B 6ad412bbf3c0327d2b8f37899c1e71fe4bf63c3840c9f2c7e776e3208ec8999c4812aaae89cb9a78724b40ef3dd883323b00eeccab44714eabef6c33c171be48 SHA512 be8319913222ada47a22559e22322ec12dff3adf17f45335d007c5aa3509d84a7d0a7e6c113967b91810b3613344b5c60e002eb740af2bbb454b2807de8dad98
|
||||
|
||||
24
dev-python/zope-interface/files/5.1.0-drop-coverage.patch
Normal file
24
dev-python/zope-interface/files/5.1.0-drop-coverage.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
From 56fc9c6c650d4016c15f8fcf5e12a0c7ce5fb6a0 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Gilbert <floppym@gentoo.org>
|
||||
Date: Tue, 14 Apr 2020 23:19:47 -0400
|
||||
Subject: [PATCH] Drop coverage dep for testing
|
||||
|
||||
---
|
||||
setup.py | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index fb32743..1c9ef83 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -81,7 +81,6 @@ else:
|
||||
tests_require = [
|
||||
# The test dependencies should NOT have direct or transitive
|
||||
# dependencies on zope.interface.
|
||||
- 'coverage >= 5.0.3',
|
||||
'zope.event',
|
||||
'zope.testing',
|
||||
]
|
||||
--
|
||||
2.26.0
|
||||
|
||||
@@ -19,7 +19,7 @@ SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]"
|
||||
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
BDEPEND="<dev-python/setuptools-46.0.0[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/zope-event[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
51
dev-python/zope-interface/zope-interface-5.1.0.ebuild
Normal file
51
dev-python/zope-interface/zope-interface-5.1.0.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
|
||||
|
||||
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 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||
dev-python/zope-testing[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/5.1.0-drop-coverage.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests setup.py
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
|
||||
append-flags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
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