Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-xmlsec/
Date: Tue, 25 Feb 2020 02:05:23
Message-Id: 1582596306.c523454e67e3f628806b588c6b462fd75a1b5574.chutzpah@gentoo
1 commit: c523454e67e3f628806b588c6b462fd75a1b5574
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Tue Feb 25 01:33:50 2020 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 25 02:05:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c523454e
7
8 dev-python/python-xmlsec: New package
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-2.3.89, Repoman-2.3.20
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 dev-python/python-xmlsec/Manifest | 1 +
15 dev-python/python-xmlsec/metadata.xml | 8 ++++++
16 .../python-xmlsec/python-xmlsec-1.3.6.ebuild | 32 ++++++++++++++++++++++
17 3 files changed, 41 insertions(+)
18
19 diff --git a/dev-python/python-xmlsec/Manifest b/dev-python/python-xmlsec/Manifest
20 new file mode 100644
21 index 00000000000..5a850473bfe
22 --- /dev/null
23 +++ b/dev-python/python-xmlsec/Manifest
24 @@ -0,0 +1 @@
25 +DIST python-xmlsec-1.3.6.tar.gz 51174 BLAKE2B e6571d16268450c5e144aae8da5be42a6aa20f239859c0a5a85f5e20f361d5d85b85772cd5cdd296f2fb9da5f3dffbb869d537bd96fe68b7d4495bb378471d07 SHA512 ccfbe4c8266a5340f67331eac35174ae2cc175ce32ea8482c8b9757275466f058a5977ce62f39bce3c3abeda28988455c93302362c7f219d7b88b44ef245e972
26
27 diff --git a/dev-python/python-xmlsec/metadata.xml b/dev-python/python-xmlsec/metadata.xml
28 new file mode 100644
29 index 00000000000..56cae167d37
30 --- /dev/null
31 +++ b/dev-python/python-xmlsec/metadata.xml
32 @@ -0,0 +1,8 @@
33 +<?xml version="1.0" encoding="UTF-8"?>
34 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
35 +<pkgmetadata>
36 + <maintainer type="person">
37 + <email>chutzpah@g.o</email>
38 + <name>Patrick McLean</name>
39 + </maintainer>
40 +</pkgmetadata>
41
42 diff --git a/dev-python/python-xmlsec/python-xmlsec-1.3.6.ebuild b/dev-python/python-xmlsec/python-xmlsec-1.3.6.ebuild
43 new file mode 100644
44 index 00000000000..46ffcb643f2
45 --- /dev/null
46 +++ b/dev-python/python-xmlsec/python-xmlsec-1.3.6.ebuild
47 @@ -0,0 +1,32 @@
48 +# Copyright 2020 Gentoo Authors
49 +# Distributed under the terms of the GNU General Public License v2
50 +
51 +EAPI=7
52 +
53 +PYTHON_COMPAT=( python3_{6,7,8} )
54 +inherit distutils-r1
55 +
56 +DESCRIPTION="Python bindings for the XML Security Library"
57 +HOMEPAGE="https://github.com/mehcode/python-xmlsec"
58 +SRC_URI="https://github.com/mehcode/python-xmlsec/archive/${PV}.tar.gz -> ${P}.tar.gz"
59 +
60 +LICENSE="MIT"
61 +SLOT="0"
62 +KEYWORDS="~amd64 ~x86"
63 +
64 +DEPEND="
65 + dev-libs/xmlsec:=
66 +"
67 +RDEPEND="${DEPEND}
68 + dev-python/lxml[${PYTHON_USEDEP}]
69 +"
70 +BDEPEND="${RDEPEND}
71 + dev-python/pkgconfig[${PYTHON_USEDEP}]
72 + dev-python/wheel[${PYTHON_USEDEP}]
73 +"
74 +
75 +# tests fail, has been reported upstream
76 +# https://github.com/mehcode/python-xmlsec/issues/84
77 +RESTRICT=test
78 +
79 +distutils_enable_tests pytest