summaryrefslogtreecommitdiff
path: root/dev-python/defusedxml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-python/defusedxml
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-python/defusedxml')
-rw-r--r--dev-python/defusedxml/Manifest4
-rw-r--r--dev-python/defusedxml/defusedxml-0.5.0.ebuild4
-rw-r--r--dev-python/defusedxml/defusedxml-0.6.0.ebuild31
3 files changed, 36 insertions, 3 deletions
diff --git a/dev-python/defusedxml/Manifest b/dev-python/defusedxml/Manifest
index c1fd30dc9ef8..41f031fa1d6f 100644
--- a/dev-python/defusedxml/Manifest
+++ b/dev-python/defusedxml/Manifest
@@ -1,3 +1,5 @@
DIST defusedxml-0.5.0.tar.gz 60405 BLAKE2B bd57b3b705abff71ff99ce4e43fe4c1fd708463546cc5d614dceb56f36e98771ef5c952a1aae010d32e4b557ed687c194c61723a0b3334dc1b0d517591d7c3d3 SHA512 71e1a604df9be41ded454bcdfa63610e897eb405295d7365fcddfc5f50f7572c36f0bd91a4a1fdf47d1b097637bd9fdcf08f1cdb73e2fe64eea0320a7532e452
-EBUILD defusedxml-0.5.0.ebuild 755 BLAKE2B 5376aeb35680d5678fa19f44420a65a4689911c6d5fecd5c8e0df2e7f66989dd82a19414e8bee4b2bdbbcfaa06b970d6b7dc5dcfedf2aaaee3fb2436707ee392 SHA512 807bbb10c0aea163f53889fe6cf36e669b64893fe9e1820aa80949b1574d39a06fa3e0eb28ef15771a54883011ebfc3763107d3c4e7b80e561f67cbcff7880aa
+DIST defusedxml-0.6.0.tar.gz 62670 BLAKE2B 352202cd8157bcd18ecb06921eb086cfc91e567dbbb18592e526caa4fed69bc76842eda849813b829ef4389d3df74303529e7f775d56be2f919783fc7fb19b04 SHA512 dd1313802cf8565fd319ef10af04075019d00cba557e6414b2a2762bd4302437a32c05cd8c9e4cec5310c68c6a95d2951acf1360244e7974d40bb3fe963b7226
+EBUILD defusedxml-0.5.0.ebuild 748 BLAKE2B 01d4e3b4747422227816e9e61ca37e3d9b62d39d980a980726ad0acb722baaeecf1590578c845014d0ef9850eb174f16c6fa76ebad342bba02853bf71d4a67c7 SHA512 98974274931ed405eef9ccdf3665e3c8ab7ff00c27522b1c687273249856845a09b1a59695a679dc24bd3e376bfd1b05942f444e8df69aabe80cac18bdcea927
+EBUILD defusedxml-0.6.0.ebuild 719 BLAKE2B a229cbb1b4701d536842ef2f92113fd8c5a60970afd34784b6d9f022abfbbda210ef9e256b092eb0f69d395e0b1c7add2c094237b7d112e42e99b505d713a9c3 SHA512 cfda8d21184f5f1733582765a8937bd8d4932d186ad55095fd1527761f787c2bfea778c5fd935b18f21370221630420437bbdc84101ea3e141531967ae3790b4
MISC metadata.xml 384 BLAKE2B 27ce5f8830ff4e0646f95d633cbaeb85576ec01fea3bb46d7b54d2be2acd6f154ccfe8455169d61014bce03e5434eb449c2876c53a77f64bf083559985531de7 SHA512 377bdeac0f80c45f6f6f3387182e75c47e8cd526f563a1ce5305119113b4a1c4a99dc3a76bc91d81a967498645c9a23dc2746b62023dd0dc26e8d55d15424b6c
diff --git a/dev-python/defusedxml/defusedxml-0.5.0.ebuild b/dev-python/defusedxml/defusedxml-0.5.0.ebuild
index 8d0c0b8212ab..4de368eb4718 100644
--- a/dev-python/defusedxml/defusedxml-0.5.0.ebuild
+++ b/dev-python/defusedxml/defusedxml-0.5.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy{,3} )
+PYTHON_COMPAT=( python{2_7,3_6,3_7} pypy3 )
PYTHON_REQ_USE="xml(+)"
inherit distutils-r1
diff --git a/dev-python/defusedxml/defusedxml-0.6.0.ebuild b/dev-python/defusedxml/defusedxml-0.6.0.ebuild
new file mode 100644
index 000000000000..681a66d806c8
--- /dev/null
+++ b/dev-python/defusedxml/defusedxml-0.6.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} pypy3 )
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="XML bomb protection for Python stdlib modules, an xml serialiser"
+HOMEPAGE="https://pypi.org/project/defusedxml/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+distutils_enable_tests setup.py
+
+src_prepare() {
+ default
+
+ mv other examples || die
+}
+
+python_install_all() {
+ use examples && dodoc -r examples/
+ distutils-r1_python_install_all
+}