Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/defusedxml/
Date: Tue, 14 Feb 2017 18:56:27
Message-Id: 1487098550.e7eb0d65b6b69760741bb3b729e4e35c5c5b29b0.mrueg@gentoo
1 commit: e7eb0d65b6b69760741bb3b729e4e35c5c5b29b0
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 14 18:55:50 2017 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 14 18:55:50 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7eb0d65
7
8 dev-python/defusedxml: Version bump to 0.5.0
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/defusedxml/Manifest | 1 +
13 dev-python/defusedxml/defusedxml-0.5.0.ebuild | 28 +++++++++++++++++++++++++++
14 2 files changed, 29 insertions(+)
15
16 diff --git a/dev-python/defusedxml/Manifest b/dev-python/defusedxml/Manifest
17 index ed7fd2fae2..cf03d0bac5 100644
18 --- a/dev-python/defusedxml/Manifest
19 +++ b/dev-python/defusedxml/Manifest
20 @@ -1 +1,2 @@
21 DIST defusedxml-0.4.1.tar.gz 48889 SHA256 cd551d5a518b745407635bb85116eb813818ecaf182e773c35b36239fc3f2478 SHA512 78a7a1f3d1eed9d7cda00afaaccf8153c7f616303c53d3918341d75970d532932b04effcfc8b1b8ed88ba6d730cb56400e9e4ecee8aa7d2181c7577f1d535783 WHIRLPOOL 9f3f51af296e3fd16b2cd94029481fbabb687c986f39810dcba331c9d3e5e30e0b294f9f1f5ce031ea28053f33be1a13e89d65ef7d0c6a3333e81dc764868d7e
22 +DIST defusedxml-0.5.0.tar.gz 60405 SHA256 24d7f2f94f7f3cb6061acb215685e5125fbcdc40a857eff9de22518820b0a4f4 SHA512 71e1a604df9be41ded454bcdfa63610e897eb405295d7365fcddfc5f50f7572c36f0bd91a4a1fdf47d1b097637bd9fdcf08f1cdb73e2fe64eea0320a7532e452 WHIRLPOOL c215dd919fba36de5e12443d556fb9a9c805d4d9aa3ddc75215c47c1b80861cef4bb564f25f67dbdc91927e5928a27c5585b8635a8bbd7d04c721b4db9b96410
23
24 diff --git a/dev-python/defusedxml/defusedxml-0.5.0.ebuild b/dev-python/defusedxml/defusedxml-0.5.0.ebuild
25 new file mode 100644
26 index 0000000000..33ce149998
27 --- /dev/null
28 +++ b/dev-python/defusedxml/defusedxml-0.5.0.ebuild
29 @@ -0,0 +1,28 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +
36 +PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
37 +PYTHON_REQ_USE="xml(+)"
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="XML bomb protection for Python stdlib modules, an xml serialiser"
42 +HOMEPAGE="https://bitbucket.org/tiran/defusedxml"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
45 +IUSE="examples"
46 +
47 +LICENSE="PSF-2"
48 +SLOT="0"
49 +
50 +python_test() {
51 + esetup.py test
52 +}
53 +
54 +python_install_all() {
55 + use examples && local EXAMPLES=( other/. )
56 + distutils-r1_python_install_all
57 +}