summaryrefslogtreecommitdiff
path: root/dev-python/defusedxml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
commit7218e1b46bceac05841e90472501742d905fb3fc (patch)
tree56fae051db521b8fce8014cbc8b11484885b14b3 /dev-python/defusedxml
parent6d691ad5b6239929063441bbd14c489e92e7396e (diff)
gentoo resync : 12.03.2021
Diffstat (limited to 'dev-python/defusedxml')
-rw-r--r--dev-python/defusedxml/Manifest2
-rw-r--r--dev-python/defusedxml/defusedxml-0.7.1.ebuild34
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/defusedxml/Manifest b/dev-python/defusedxml/Manifest
index 898e79ae11f2..08b734904ef5 100644
--- a/dev-python/defusedxml/Manifest
+++ b/dev-python/defusedxml/Manifest
@@ -1,5 +1,7 @@
DIST defusedxml-0.7.0.rc1.tar.gz 33950 BLAKE2B d2794d0d06ca7bd1faa0b33f3fa7e02fcfb8b7bb7bfba5e0cf4119f7341a618daf80b08e0a6949cad67c5d3ceb84a5d984d731ae129b9aed383b5b583b114013 SHA512 068a6610fcb791385dc1956d1ff1e8b17b143a0138e6a10a293b8f18153d733e160e924f52c565e2df503101faa9b2c3d4718b2980f0e5652034e250b8a82f55
DIST defusedxml-0.7.0.tar.gz 34412 BLAKE2B 661003c15c4e22877ccbd5c746f782d662bf8ba16dfb998953d979867eed181df01fda51bbec0813497059a27665ab391db7c4d442f90f1f22faafa6a27fe500 SHA512 7738175dafb4092a61d1a73941aecf5d78840e3674e2ae6bbf45e4e0ab6c71a9c9abce8a5394a148d50d90fd6a20d4e02c65241212af2ba6b655c1935e432603
+DIST defusedxml-0.7.1.tar.gz 34709 BLAKE2B cfe69851e0ac6472cb9e66d1b577831eec37b0a01129dcb43cec151aa939029efc194220f3c7b481d306a77db710a639bdd56f3fd1f7ae46fa4ab8f308b8036f SHA512 4f536794b814291520c7db27765014c57f415554cff569cddab596b33e1aa03799aae9448fdaf07417d1a9f4d8782aa827d1b68aac6881ffe5c2ca9b8a40d864
EBUILD defusedxml-0.7.0.ebuild 771 BLAKE2B 7db25489ae6023850c869e566641bd07f50f23689386c7ed42bd43299ab99e6a14ae2dec83f9b8044175c5659a9542b55c165d7e77ebe557d0e145f7e58ab712 SHA512 5fb7054c2f02260a815f238466f927230abb17bed5e1dcc75c3781d21c0678f349c74cdcf42dcd99bbacec2c4cb29bbeafebbd1c45f4ea921693796ed769e9d8
EBUILD defusedxml-0.7.0_rc1.ebuild 763 BLAKE2B 4ce16ef59ebaa00ecc4a578428f6988464f281398639fa73abe5ff5de72becfdb34f02e523c3ef9a32b4156f2f42ff6ec5020df5b52b2edd37dd800fc221fa6e SHA512 660a3cd3038dd50bb9d2e4c291e09fd41a07821edc8e01496167093fe1ec34b59ce043f097f50babb7ef711af173809ac20f0436be35d56b1ff6e5e200befa6d
+EBUILD defusedxml-0.7.1.ebuild 771 BLAKE2B 7db25489ae6023850c869e566641bd07f50f23689386c7ed42bd43299ab99e6a14ae2dec83f9b8044175c5659a9542b55c165d7e77ebe557d0e145f7e58ab712 SHA512 5fb7054c2f02260a815f238466f927230abb17bed5e1dcc75c3781d21c0678f349c74cdcf42dcd99bbacec2c4cb29bbeafebbd1c45f4ea921693796ed769e9d8
MISC metadata.xml 406 BLAKE2B 365781c65fe4cd1a48d65f80056d5ae136c8fb81e88f80e57b5832f0424a30a5c836f8b5f0645f59ffb0e22b7d0732827f96a015699b6469a211bf02935f6f99 SHA512 5185c963f9ed00372963adc8ccf5270daa902704452fa7b2538dbff3a9be51ed860bd92407daa2199be6ff0147c5916ba744cc02ad0012605cfe4d9980f8aba9
diff --git a/dev-python/defusedxml/defusedxml-0.7.1.ebuild b/dev-python/defusedxml/defusedxml-0.7.1.ebuild
new file mode 100644
index 000000000000..3955f4c70145
--- /dev/null
+++ b/dev-python/defusedxml/defusedxml-0.7.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} 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="
+ https://github.com/tiran/defusedxml/archive/v${PV/_/.}.tar.gz
+ -> ${P/_/.}.tar.gz"
+S=${WORKDIR}/${P/_/.}
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~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
+}