summaryrefslogtreecommitdiff
path: root/dev-python/python-xmlsec/python-xmlsec-1.3.6.ebuild
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-02-24 17:33:50 -0800
committerPatrick McLean <chutzpah@gentoo.org>2020-02-24 18:05:06 -0800
commitc523454e67e3f628806b588c6b462fd75a1b5574 (patch)
tree451c47f67c2e2973f7d3311effe7f1506f62c03c /dev-python/python-xmlsec/python-xmlsec-1.3.6.ebuild
parent05529d9cfd25259280a93c382d99ea7009681aca (diff)
downloadgentoo-c523454e67e3f628806b588c6b462fd75a1b5574.tar.gz
gentoo-c523454e67e3f628806b588c6b462fd75a1b5574.tar.bz2
gentoo-c523454e67e3f628806b588c6b462fd75a1b5574.zip
dev-python/python-xmlsec: New package
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/python-xmlsec/python-xmlsec-1.3.6.ebuild')
-rw-r--r--dev-python/python-xmlsec/python-xmlsec-1.3.6.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/python-xmlsec/python-xmlsec-1.3.6.ebuild b/dev-python/python-xmlsec/python-xmlsec-1.3.6.ebuild
new file mode 100644
index 000000000000..46ffcb643f24
--- /dev/null
+++ b/dev-python/python-xmlsec/python-xmlsec-1.3.6.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+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 ~x86"
+
+DEPEND="
+ dev-libs/xmlsec:=
+"
+RDEPEND="${DEPEND}
+ dev-python/lxml[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}
+ dev-python/pkgconfig[${PYTHON_USEDEP}]
+ dev-python/wheel[${PYTHON_USEDEP}]
+"
+
+# tests fail, has been reported upstream
+# https://github.com/mehcode/python-xmlsec/issues/84
+RESTRICT=test
+
+distutils_enable_tests pytest