summaryrefslogtreecommitdiff
path: root/dev-python/python-xmlsec/python-xmlsec-1.3.11.ebuild
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gmail.com>2021-08-06 09:56:43 +0300
committerMichał Górny <mgorny@gentoo.org>2021-08-06 09:03:24 +0200
commit805d7b3232e00e444137c8fa060d34fbb7160860 (patch)
treee62ed458c0b8abe6f92f75665cc996963370c187 /dev-python/python-xmlsec/python-xmlsec-1.3.11.ebuild
parent86abeeb2136bf8961a234de44bb2bab7e6d2d06a (diff)
downloadgentoo-805d7b3232e00e444137c8fa060d34fbb7160860.tar.gz
gentoo-805d7b3232e00e444137c8fa060d34fbb7160860.tar.bz2
gentoo-805d7b3232e00e444137c8fa060d34fbb7160860.zip
dev-python/python-xmlsec: enable py3.10, EAPI=8, fix tests
Signed-off-by: Arthur Zamarin <arthurzam@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-xmlsec/python-xmlsec-1.3.11.ebuild')
-rw-r--r--dev-python/python-xmlsec/python-xmlsec-1.3.11.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/dev-python/python-xmlsec/python-xmlsec-1.3.11.ebuild b/dev-python/python-xmlsec/python-xmlsec-1.3.11.ebuild
index 2cdbbac944bb..a43d02473ec7 100644
--- a/dev-python/python-xmlsec/python-xmlsec-1.3.11.ebuild
+++ b/dev-python/python-xmlsec/python-xmlsec-1.3.11.ebuild
@@ -1,9 +1,9 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python bindings for the XML Security Library"
@@ -23,11 +23,13 @@ RDEPEND="${DEPEND}
BDEPEND="${RDEPEND}
dev-python/pkgconfig[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
-"
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ )"
-# tests fail, has been reported upstream
-# https://github.com/mehcode/python-xmlsec/issues/84
-RESTRICT=test
+PATCHES=(
+ "${FILESDIR}/${P}-fix-xml-testfail.patch"
+)
distutils_enable_tests pytest