add defusedxml-0.6.0
This commit is contained in:
3
dev-python/defusedxml/Manifest
Normal file
3
dev-python/defusedxml/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST defusedxml-0.6.0.tar.gz 62670 BLAKE2B 352202cd8157bcd18ecb06921eb086cfc91e567dbbb18592e526caa4fed69bc76842eda849813b829ef4389d3df74303529e7f775d56be2f919783fc7fb19b04 SHA512 dd1313802cf8565fd319ef10af04075019d00cba557e6414b2a2762bd4302437a32c05cd8c9e4cec5310c68c6a95d2951acf1360244e7974d40bb3fe963b7226
|
||||
EBUILD defusedxml-0.6.0.ebuild 756 BLAKE2B feeff69140a576e4a87f670a351fa394241bdb5ab52d9b445c32d4ca8273807b26f304e2ce4387c7f9210507539644833ce686be896a25ce2999bdb7f85c468e SHA512 31e98ecc96d9b1507d977ba1ffe1afe4e0df7dbeb86c4cebe2c263533e8f9d9607ec7733974e34335da3bdfa06ae6d683bb8c100fff79e119a2f5c9ea594d74a
|
||||
MISC metadata.xml 384 BLAKE2B 27ce5f8830ff4e0646f95d633cbaeb85576ec01fea3bb46d7b54d2be2acd6f154ccfe8455169d61014bce03e5434eb449c2876c53a77f64bf083559985531de7 SHA512 377bdeac0f80c45f6f6f3387182e75c47e8cd526f563a1ce5305119113b4a1c4a99dc3a76bc91d81a967498645c9a23dc2746b62023dd0dc26e8d55d15424b6c
|
||||
29
dev-python/defusedxml/defusedxml-0.6.0.ebuild
Normal file
29
dev-python/defusedxml/defusedxml-0.6.0.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2019 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_REQ_USE="xml(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="XML bomb protection for Python stdlib modules, an xml serialiser"
|
||||
HOMEPAGE="https://bitbucket.org/tiran/defusedxml https://pypi.org/project/defusedxml/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~amd64-linux"
|
||||
IUSE="examples"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( other/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
12
dev-python/defusedxml/metadata.xml
Normal file
12
dev-python/defusedxml/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">defusedxml</remote-id>
|
||||
<remote-id type="bitbucket">tiran/defusedxml</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user