1 |
commit: 0b97005729973f0308058b6ed09bdce629a6652b |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Thu May 21 02:07:01 2020 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 21 02:07:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b970057 |
7 |
|
8 |
dev-python/python-xmlsec-1.3.7: Version bump |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/python-xmlsec/Manifest | 1 + |
15 |
.../python-xmlsec/python-xmlsec-1.3.7.ebuild | 40 ++++++++++++++++++++++ |
16 |
2 files changed, 41 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/python-xmlsec/Manifest b/dev-python/python-xmlsec/Manifest |
19 |
index 5a850473bfe..c6c1ef8f7e6 100644 |
20 |
--- a/dev-python/python-xmlsec/Manifest |
21 |
+++ b/dev-python/python-xmlsec/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST python-xmlsec-1.3.6.tar.gz 51174 BLAKE2B e6571d16268450c5e144aae8da5be42a6aa20f239859c0a5a85f5e20f361d5d85b85772cd5cdd296f2fb9da5f3dffbb869d537bd96fe68b7d4495bb378471d07 SHA512 ccfbe4c8266a5340f67331eac35174ae2cc175ce32ea8482c8b9757275466f058a5977ce62f39bce3c3abeda28988455c93302362c7f219d7b88b44ef245e972 |
24 |
+DIST python-xmlsec-1.3.7.tar.gz 71412 BLAKE2B 56bfe2a1ffff7fc2bbef96ccc8b3fe5434589a11371a87538f819f7ae8ddb8db5fbb1d0790b9e03d7039fbfd62c9f8d6e90ad2ef0bee66ac97ff1a239718e4db SHA512 87949b445ac962e68467c9466275cb72cb17cedd7736046997e1b2f70d80c6159f5740577b7762f9f4518a1bb9c0e1553061010118d6eb688c276335532fa6d5 |
25 |
|
26 |
diff --git a/dev-python/python-xmlsec/python-xmlsec-1.3.7.ebuild b/dev-python/python-xmlsec/python-xmlsec-1.3.7.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f846953be22 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/python-xmlsec/python-xmlsec-1.3.7.ebuild |
31 |
@@ -0,0 +1,40 @@ |
32 |
+# Copyright 2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Python bindings for the XML Security Library" |
41 |
+HOMEPAGE="https://github.com/mehcode/python-xmlsec" |
42 |
+SRC_URI="https://github.com/mehcode/python-xmlsec/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~ppc64 ~x86" |
47 |
+ |
48 |
+DEPEND=" |
49 |
+ dev-libs/xmlsec:= |
50 |
+" |
51 |
+RDEPEND="${DEPEND} |
52 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+BDEPEND="${RDEPEND} |
55 |
+ dev-python/pkgconfig[${PYTHON_USEDEP}] |
56 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+ |
59 |
+# tests fail, has been reported upstream |
60 |
+# https://github.com/mehcode/python-xmlsec/issues/84 |
61 |
+RESTRICT=test |
62 |
+ |
63 |
+distutils_enable_tests pytest |
64 |
+ |
65 |
+python_prepare_all() { |
66 |
+ sed -e "s:use_scm_version=.*:version='${PN}',:" \ |
67 |
+ -e "/setup_requires/ d" \ |
68 |
+ -i setup.py || die |
69 |
+ |
70 |
+ distutils-r1_python_prepare_all |
71 |
+} |