diff options
Diffstat (limited to 'dev-python/python-xmlsec')
-rw-r--r-- | dev-python/python-xmlsec/Manifest | 2 | ||||
-rw-r--r-- | dev-python/python-xmlsec/python-xmlsec-1.3.12.ebuild | 43 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/python-xmlsec/Manifest b/dev-python/python-xmlsec/Manifest index df42ac17e1ed..6a41862811f1 100644 --- a/dev-python/python-xmlsec/Manifest +++ b/dev-python/python-xmlsec/Manifest @@ -1,4 +1,6 @@ AUX python-xmlsec-1.3.11-fix-xml-testfail.patch 879 BLAKE2B 3d655b40a67b44a4abd65188c6d719e12063e857942fdb112b47da38977864252e3d250e0bbaf5c86f4688bb7701aae89df444c4fef0e3f0eaffc98fe5b6b856 SHA512 8c8f9af415dc9207e5c0599ee958dff6558618f94a9cb3c583b1c9eb6d1de251d714edf1afdee581cb33c7543f88c54d36af9b6f903fe31994a86f1b602e4c75 DIST python-xmlsec-1.3.11.tar.gz 75023 BLAKE2B 87fe4b47a9df6bc2fb2f1a459fa20240d9d5c92e0f7fa9bfc466e1fbfc0e3f12d90d01f5c7a6eac1389ea3252b8267a545203edf34c30117573bada9a7f5481a SHA512 fe0144d67edcad366b1d0f4615983f5630afd8f22aa056f46d1e6564f1c3114c0a469675e64a06591540515b0d12b5bf9304845f5138b24e15acaf4e5b861961 +DIST python-xmlsec-1.3.12.tar.gz 77722 BLAKE2B b5ecece8063b823cdbe4d58967d10026bdc6f3774954021a3739d579ba3c5a08130af1792921c7892e6bc3d00f88ac83ab30e862775e419e0dad40b990b10cbe SHA512 19c5e3bf58b4b0f8a1cca3e60c08348b02ae298620f8c02b8cfb325aecf0313cb2bd1af89507b754ebe4c35af3b031e232d15ddcd42deae0821c9c0d7571aa7c EBUILD python-xmlsec-1.3.11.ebuild 899 BLAKE2B 8a441f253d63282c8b5ca330ef8ee9b41b1e673cf693122128c6459e42a39fbb7c51df51477c8dfa3355cb2cd8a0c6b766383e58edbbc747b2a073eecc40b07f SHA512 7e96a22c5a467d0be19bb08162ac56fb02f69bf3645d9fd6f2d312a8586013337a54e2f450347fdc1f00a21b0129d9759a9b527a676075dfafc9c6914c5649fa +EBUILD python-xmlsec-1.3.12.ebuild 1015 BLAKE2B 2f14eca15dba42e5d0fa5a40d50677c9c93c805a4faaaaa5b917f8d338789d8790f8196768b009f8b60f6b57e50eef25b9c31842290373997bb8077772231973 SHA512 6031e265cd9b0c4d64d11501a52aef55de160b16c1a6ea82f948f8c247fd47f42e28382ff5c424fe7ec9663e916b7764979a50ec77f608a7ea072e35de715b63 MISC metadata.xml 420 BLAKE2B 8aeda69d8870ff72e5ff7476fa1e6fe2bde1bdbdc12093821a29aa905abb644bf4a78a8e5f8b2247f8bc89662f6055f26bd05eadf2f31371c2aa75f59f5b62da SHA512 96532b3a747f1a669b50ed86fb22f986e86f6456239c432c754ba12f5f3303a67037d25584eead27c6f9398d5d48275b558a8b0517a1128d9960b96e5962e474 diff --git a/dev-python/python-xmlsec/python-xmlsec-1.3.12.ebuild b/dev-python/python-xmlsec/python-xmlsec-1.3.12.ebuild new file mode 100644 index 000000000000..0d81ac88bf68 --- /dev/null +++ b/dev-python/python-xmlsec/python-xmlsec-1.3.12.ebuild @@ -0,0 +1,43 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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/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 --install pytest + +python_prepare_all() { + sed -e "s:use_scm_version=.*:version='${PV}',:" \ + -e "/setup_requires/ d" \ + -i setup.py || die + + distutils-r1_python_prepare_all +} |