Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/stomp-py/
Date: Mon, 02 May 2022 19:17:49
Message-Id: 1651518923.15395cf92796525b358e3fe20621a292cbfe1da7.arthurzam@gentoo
1 commit: 15395cf92796525b358e3fe20621a292cbfe1da7
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 18:41:35 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 19:15:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15395cf9
7
8 dev-python/stomp-py: add 8.0.1
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/stomp-py/Manifest | 1 +
13 dev-python/stomp-py/stomp-py-8.0.1.ebuild | 32 +++++++++++++++++++++++++++++++
14 2 files changed, 33 insertions(+)
15
16 diff --git a/dev-python/stomp-py/Manifest b/dev-python/stomp-py/Manifest
17 index 612c26af9fc0..b0efe4826ac1 100644
18 --- a/dev-python/stomp-py/Manifest
19 +++ b/dev-python/stomp-py/Manifest
20 @@ -1 +1,2 @@
21 DIST stomp.py-8.0.0.tar.gz 35146 BLAKE2B 65f15e0145e1fc48d4f9ccf37ce81f1f7464e9179d63d6f22e96dd99ce35692dbcb6056730c35255428b0ccf0d744debc39e2c12e6e2b6675ac20c7ec0ff3efd SHA512 068694e9bc42e45dd769275296a1ea817153cb0318b08377be5e0b9563989a83bff35c4bc424e00939b7521938aa34f485401f07a8a51c3d9a90eea3f00c1ea1
22 +DIST stomp.py-8.0.1.tar.gz 35300 BLAKE2B 12209e99066fb5bb1f3015398f5eb27186322ce9d92feca46adc4d275aff1d5138908da69abe3be512325bd30a3a21773886ba5fa21917c71d13bc53b0977de4 SHA512 009189cd07c379641c9fa3b3af1df70c9e26b77bbb6d2443a78b56ff9895b4382e90a753db83f4a863fae5ef5765c660d2f82ef14ab6e74817bc83e7ea8ba6d3
23
24 diff --git a/dev-python/stomp-py/stomp-py-8.0.1.ebuild b/dev-python/stomp-py/stomp-py-8.0.1.ebuild
25 new file mode 100644
26 index 000000000000..9b841f321106
27 --- /dev/null
28 +++ b/dev-python/stomp-py/stomp-py-8.0.1.ebuild
29 @@ -0,0 +1,32 @@
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=poetry
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +
38 +inherit distutils-r1
39 +
40 +MY_PN="${PN//-/.}"
41 +MY_P="${MY_PN}-${PV}"
42 +
43 +DESCRIPTION="Python client library for the STOMP messaging protocol"
44 +HOMEPAGE="https://pypi.org/project/stomp.py/ https://github.com/jasonrbriggs/stomp.py/"
45 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
46 +S="${WORKDIR}"/${MY_P}
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64"
51 +
52 +RDEPEND="<dev-python/docopt-0.7.0[${PYTHON_USEDEP}]"
53 +
54 +# stomp.py test suite requires quite a few appropriately configured
55 +# messaging servers (as of 7.0.0: RabbitMQ, ActiveMQ, ActiveMQ Artemis,
56 +# stompserver). Upstream relies on Docker to provide those servers, however
57 +# doing the same in src_test would require both granting the portage user
58 +# extra permissions and packaging the base image (trying to download it
59 +# on the fly would violate the network sandbox).
60 +# Side note: PyPI tarballs do not include tests.
61 +RESTRICT="test"