Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/suds/files/, dev-python/suds/
Date: Wed, 16 Sep 2020 22:07:18
Message-Id: 1600293996.1fd7b8047febc1f392e5ea16b7f838cf825eb2d4.sbraz@gentoo
1 commit: 1fd7b8047febc1f392e5ea16b7f838cf825eb2d4
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 15 22:55:29 2020 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 16 22:06:36 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fd7b804
7
8 dev-python/suds: bump to 0.8.4 from a new fork
9
10 Also:
11 * Use EAPI 7.
12 * Require Python built with xml support.
13 * Remove obsolete workarounds.
14
15 Closes: https://bugs.gentoo.org/644228
16 Closes: https://github.com/gentoo/gentoo/pull/15041
17 Package-Manager: Portage-3.0.7, Repoman-3.0.1
18 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
19
20 dev-python/suds/Manifest | 1 +
21 .../suds/files/suds-0.8.4-fix-optimization.patch | 11 +++++++++
22 dev-python/suds/suds-0.8.4.ebuild | 27 ++++++++++++++++++++++
23 3 files changed, 39 insertions(+)
24
25 diff --git a/dev-python/suds/Manifest b/dev-python/suds/Manifest
26 index 0234099fceb..80f647cba46 100644
27 --- a/dev-python/suds/Manifest
28 +++ b/dev-python/suds/Manifest
29 @@ -1 +1,2 @@
30 DIST suds-0.6.tar.bz2 143985 BLAKE2B 3d97d51b4e719102ab40a6a95a35eaaccda15a47e20bedb0297203576949883eea253ac6f382c8849a522e1720393ec517ec1ff3514329b504c83a928a260881 SHA512 ec078b159bd83c5799e293d9607138ee1da90fdc64da203999555a4324ce7be0235156d3c7ad28e46f84180a6e51e2f3f82228e5e77ae41c61ee20f3db2c916b
31 +DIST suds-community-0.8.4.tar.gz 279775 BLAKE2B 985dbe386219d7a5cf8b9edb5a30eea2bc974fce5158a1f6e9c7ad3b437efdf0e4d8ff2bddeaf5b5ebc7f0a594adaea3b2db3e47b6dab8143f6cefae248dd061 SHA512 316e67fb2b87ac31cb9397a1620b279e608dc0abead61fa548730fce5b5e29fb2da937c6213f3de6bd06f1e97031f27351938da686fa2f9ce9f4399b9944e0d2
32
33 diff --git a/dev-python/suds/files/suds-0.8.4-fix-optimization.patch b/dev-python/suds/files/suds-0.8.4-fix-optimization.patch
34 new file mode 100644
35 index 00000000000..3dce3b07475
36 --- /dev/null
37 +++ b/dev-python/suds/files/suds-0.8.4-fix-optimization.patch
38 @@ -0,0 +1,11 @@
39 +diff --git a/setup.cfg b/setup.cfg
40 +index c1e1a72..367112f 100644
41 +--- a/setup.cfg
42 ++++ b/setup.cfg
43 +@@ -1,6 +1,3 @@
44 +-[install]
45 +-optimize = 1
46 +-
47 + [env:2.4.4 x86]
48 + command = py244.cmd
49 +
50
51 diff --git a/dev-python/suds/suds-0.8.4.ebuild b/dev-python/suds/suds-0.8.4.ebuild
52 new file mode 100644
53 index 00000000000..318f8fadc99
54 --- /dev/null
55 +++ b/dev-python/suds/suds-0.8.4.ebuild
56 @@ -0,0 +1,27 @@
57 +# Copyright 1999-2020 Gentoo Authors
58 +# Distributed under the terms of the GNU General Public License v2
59 +
60 +EAPI=7
61 +
62 +PYTHON_REQ_USE="xml(+)"
63 +# Tests fail with PyPy3
64 +PYTHON_COMPAT=( python3_{6,7,8,9} )
65 +
66 +inherit distutils-r1
67 +
68 +MY_PN="${PN}-community"
69 +DESCRIPTION="Lightweight SOAP client"
70 +HOMEPAGE="https://github.com/suds-community/suds"
71 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
72 +S="${WORKDIR}/${MY_PN}-${PV}"
73 +
74 +LICENSE="LGPL-3"
75 +SLOT="0"
76 +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
77 +
78 +# https://github.com/suds-community/suds/pull/40
79 +PATCHES=( "${FILESDIR}/${P}-fix-optimization.patch" )
80 +
81 +DOCS=( README.md notes/. )
82 +
83 +distutils_enable_tests pytest