mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 14:21:02 +02:00
dnspython: add a missing patch so it works, https://github.com/rthalley/dnspython/issues/271
This commit is contained in:
parent
5277c89b32
commit
7bcc1487bd
2 changed files with 20 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
|
@ -16,9 +16,13 @@ EGIT_COMMIT="1bb88cfecacb18fb406466e38a5b9c185cb5373e"
|
|||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
|
||||
IUSE="examples test"
|
||||
|
||||
RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||||
RDEPEND="dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/ecdsa[${PYTHON_USEDEP}]
|
||||
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||||
!!dev-python/pycrypto
|
||||
!dev-python/dnspython:py2
|
||||
!dev-python/dnspython:py3"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
|
|
@ -29,7 +33,9 @@ DISTUTILS_IN_SOURCE_BUILD=1
|
|||
|
||||
#https://github.com/rthalley/dnspython/issues/271
|
||||
#https://bugs.gentoo.org/611590
|
||||
PATCHES=( "${FILESDIR}/pull290.patch" )
|
||||
PATCHES=( "${FILESDIR}/pull290.patch"
|
||||
"${FILESDIR}/pull290_setup.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
cd tests || die
|
||||
11
dev-python/dnspython/files/pull290_setup.patch
Normal file
11
dev-python/dnspython/files/pull290_setup.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- a/setup.py 2018-01-16 11:19:53.000000000 +0800
|
||||
+++ b/setup.py 2018-01-16 11:21:22.717644865 +0800
|
||||
@@ -62,7 +62,7 @@
|
||||
'provides': ['dns'],
|
||||
'extras_require': {
|
||||
'IDNA': ['idna>=2.1'],
|
||||
- 'DNSSEC': ['pycrypto>=2.6.1', 'ecdsa>=0.13'],
|
||||
+ 'DNSSEC': ['pycryptodome', 'ecdsa>=0.13'],
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue