1 |
commit: bb3520a86b51deb4c0492082092163a505e7ee8d |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 14 17:24:43 2021 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 14 17:31:39 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb3520a8 |
7 |
|
8 |
dev-python/stomp-py: add 7.0.0 |
9 |
|
10 |
Nb. ready for python3_10 support, will add it as soon as |
11 |
dev-python/docopt has been updated for this as well. |
12 |
|
13 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
14 |
|
15 |
dev-python/stomp-py/Manifest | 1 + |
16 |
dev-python/stomp-py/stomp-py-7.0.0.ebuild | 33 +++++++++++++++++++++++++++++++ |
17 |
2 files changed, 34 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/stomp-py/Manifest b/dev-python/stomp-py/Manifest |
20 |
index 36c72ae4158..aff0d9f2684 100644 |
21 |
--- a/dev-python/stomp-py/Manifest |
22 |
+++ b/dev-python/stomp-py/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST stomp.py-6.1.0.tar.gz 34690 BLAKE2B bf7ec2899be25bdc373e7d0d73281a6c4aa8b91a05e6ede263f0f9498b2ba3b9bd2c90b0fe472664c930dadf68ccaf09c74b69e7270259c3959396edff04e07b SHA512 73284b5dac8b9ef0d1251cc1059c4b1a545018a39498303d211fd165f0fb80439f2e01f82e18644cfd5d77a4badedcbced57d184ffc7c19f57945e5262f2394a |
25 |
+DIST stomp.py-7.0.0.tar.gz 34772 BLAKE2B 838ee5ebf520bcf0c65d89b00e94c8cadb77204a4d387fa0261b8b8046d123d436fe587481c9a3db9d515b11fcdf246993c955834ff18b9161ff3355341caa3a SHA512 2cce1803125bb60c98ebf7c58c27130a13a2c42c0135e590752fae7a13a82edf3337c85f6ec2fb050e9ece0d3dc604a526610445a1a410fbe440ac8596608f34 |
26 |
|
27 |
diff --git a/dev-python/stomp-py/stomp-py-7.0.0.ebuild b/dev-python/stomp-py/stomp-py-7.0.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..3174c667421 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/stomp-py/stomp-py-7.0.0.ebuild |
32 |
@@ -0,0 +1,33 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{7..9} ) |
39 |
+DISTUTILS_USE_SETUPTOOLS="pyproject.toml" |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+MY_PN="${PN//-/.}" |
44 |
+MY_P="${MY_PN}-${PV}" |
45 |
+ |
46 |
+DESCRIPTION="Python client library for the STOMP messaging protocol" |
47 |
+HOMEPAGE="https://pypi.org/project/stomp.py/ https://github.com/jasonrbriggs/stomp.py/" |
48 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="Apache-2.0" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64" |
53 |
+ |
54 |
+RDEPEND="<dev-python/docopt-0.7.0[${PYTHON_USEDEP}]" |
55 |
+ |
56 |
+# stomp.py test suite requires quite a few appropriately configured |
57 |
+# messaging servers (as of 7.0.0: RabbitMQ, ActiveMQ, ActiveMQ Artemis, |
58 |
+# stompserver). Upstream relies on Docker to provide those servers, however |
59 |
+# doing the same in src_test would require both granting the portage user |
60 |
+# extra permissions and packaging the base image (trying to download it |
61 |
+# on the fly would violate the network sandbox). |
62 |
+# Side note: PyPI tarballs do not include tests. |
63 |
+RESTRICT="test" |
64 |
+ |
65 |
+S="${WORKDIR}"/${MY_P} |