Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wstools/
Date: Thu, 28 Apr 2022 13:30:08
Message-Id: 1651152598.3ee6d71f751ee969159a198fc809aa07492b6fca.mgorny@gentoo
1 commit: 3ee6d71f751ee969159a198fc809aa07492b6fca
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 13:08:38 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 13:29:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee6d71f
7
8 dev-python/wstools: Bump to 0.4.10
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/wstools/Manifest | 1 +
13 dev-python/wstools/wstools-0.4.10.ebuild | 49 ++++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-python/wstools/Manifest b/dev-python/wstools/Manifest
17 index 91d4a8f4ec1e..239bd2c12efe 100644
18 --- a/dev-python/wstools/Manifest
19 +++ b/dev-python/wstools/Manifest
20 @@ -1 +1,2 @@
21 +DIST wstools-0.4.10.gh.tar.gz 204095 BLAKE2B 8d7652729846e991d84bf3c2b64394bf3954ae69cb1ed49ea7822432b965e5cfabd02f8d4ba7caa0cbf9df57def062b085aae75c5d4af1f9be078e2fd8031e0d SHA512 1acd8e62d71c7d330f1e953a0da1956291c5dfb25ff9b8b8799c83feaa4230e384955735b131bab7b430b92ae6c18498927d416d2d1e11fb5c5dad93417c671a
22 DIST wstools-0.4.8.tar.gz 199688 BLAKE2B 3b5137dd135ec8f0e6d69f94275d45367e609adb9763624fcabb899f84c6215c2df26485dcf32d44d6683bd97cd00e2d283cf9096b6f58414f2eacd9e8b93a4a SHA512 0f86e91a2de7333aaf5a58558a715edd6a0cf97150f6d0cae4ecf8e0702648a98e610aa6d3295444079bd616656efcb2823ae7c02c5c3ffcb4789548ac40cd0a
23
24 diff --git a/dev-python/wstools/wstools-0.4.10.ebuild b/dev-python/wstools/wstools-0.4.10.ebuild
25 new file mode 100644
26 index 000000000000..ae43a5fb3904
27 --- /dev/null
28 +++ b/dev-python/wstools/wstools-0.4.10.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +PYTHON_REQ_USE="xml(+)"
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="WSDL parsing services package for Web Services for Python"
42 +HOMEPAGE="
43 + https://github.com/pycontribs/wstools/
44 + https://pypi.org/project/wstools/
45 +"
46 +SRC_URI="
47 + https://github.com/pycontribs/wstools/archive/${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="BSD"
52 +SLOT="0"
53 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
54 +
55 +RDEPEND="
56 + dev-python/six[${PYTHON_USEDEP}]
57 +"
58 +BDEPEND="
59 + >=dev-python/pbr-3.0.0[${PYTHON_USEDEP}]
60 + test? (
61 + dev-python/pytest-timeout[${PYTHON_USEDEP}]
62 + )
63 +"
64 +
65 +distutils_enable_tests pytest
66 +
67 +PATCHES=(
68 + "${FILESDIR}/wstools-0.4.8-fix-py3.10.patch"
69 +)
70 +
71 +src_prepare() {
72 + # remove the dep on pytest-runner
73 + sed -i -e '/setup_requires/d' setup.py || die
74 + # disabling xdist breaks random plugins
75 + sed -i -e 's@-p no:xdist@@' pytest.ini || die
76 + distutils-r1_src_prepare
77 + export PBR_VERSION=${PV}
78 +}