diff options
Diffstat (limited to 'dev-python/python-xmlsec')
-rw-r--r-- | dev-python/python-xmlsec/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-xmlsec/python-xmlsec-1.3.12-r1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/python-xmlsec/Manifest b/dev-python/python-xmlsec/Manifest index 51b8ebad0cdd..4be3843b7f2e 100644 --- a/dev-python/python-xmlsec/Manifest +++ b/dev-python/python-xmlsec/Manifest @@ -1,4 +1,5 @@ AUX python-xmlsec-1.3.11-fix-xml-testfail.patch 879 BLAKE2B 3d655b40a67b44a4abd65188c6d719e12063e857942fdb112b47da38977864252e3d250e0bbaf5c86f4688bb7701aae89df444c4fef0e3f0eaffc98fe5b6b856 SHA512 8c8f9af415dc9207e5c0599ee958dff6558618f94a9cb3c583b1c9eb6d1de251d714edf1afdee581cb33c7543f88c54d36af9b6f903fe31994a86f1b602e4c75 DIST python-xmlsec-1.3.12.tar.gz 77722 BLAKE2B b5ecece8063b823cdbe4d58967d10026bdc6f3774954021a3739d579ba3c5a08130af1792921c7892e6bc3d00f88ac83ab30e862775e419e0dad40b990b10cbe SHA512 19c5e3bf58b4b0f8a1cca3e60c08348b02ae298620f8c02b8cfb325aecf0313cb2bd1af89507b754ebe4c35af3b031e232d15ddcd42deae0821c9c0d7571aa7c +EBUILD python-xmlsec-1.3.12-r1.ebuild 979 BLAKE2B 948e8a3ae7bd6a829bbbc75dc8a271aa95ac49801f490411dc07486b35c68030ea328318bba1301175426c39d8dcc0ac3e045ef100aaac5962725f91ba35affb SHA512 abdb24b19c722b6197c207c2ee195a71fa2289644e444e9ffe6160931f699841ffe6b5dfa857ed107b756f350d1caaf55a3337a3f1f245971d3898ca8c942fb0 EBUILD python-xmlsec-1.3.12.ebuild 1013 BLAKE2B f2fbe94c204ed68c7ee60192e29ae1120a41e59aa09748be1139bfb0383aa099186e2a4305aaa42d4a03e5cc57080b22fbc07d3cdb7d0e68a299003f11fe8637 SHA512 58730e58867afda94833fea263fae525f0c49db745c7c626241faf4c6cc217bb9d27cd3e550295f7249d5d280723e8a33e0281651e7f80bc76d9268683286afa MISC metadata.xml 420 BLAKE2B 8aeda69d8870ff72e5ff7476fa1e6fe2bde1bdbdc12093821a29aa905abb644bf4a78a8e5f8b2247f8bc89662f6055f26bd05eadf2f31371c2aa75f59f5b62da SHA512 96532b3a747f1a669b50ed86fb22f986e86f6456239c432c754ba12f5f3303a67037d25584eead27c6f9398d5d48275b558a8b0517a1128d9960b96e5962e474 diff --git a/dev-python/python-xmlsec/python-xmlsec-1.3.12-r1.ebuild b/dev-python/python-xmlsec/python-xmlsec-1.3.12-r1.ebuild new file mode 100644 index 000000000000..a2fd13f2a349 --- /dev/null +++ b/dev-python/python-xmlsec/python-xmlsec-1.3.12-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for the XML Security Library" +HOMEPAGE="https://github.com/mehcode/python-xmlsec" +SRC_URI="https://github.com/mehcode/python-xmlsec/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +RDEPEND=" + dev-libs/xmlsec:= + dev-python/lxml[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/pkgconfig[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-1.3.11-fix-xml-testfail.patch" +) + +EPYTEST_DESELECT=( + # Fragile based on black version? + tests/test_type_stubs.py::test_xmlsec_constants_stub +) + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |