Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/stomp-py/
Date: Mon, 27 Feb 2023 10:01:20
Message-Id: 1677492064.32c66d8a84bbf34e0dbaa4e0da8b05421a30005c.marecki@gentoo
1 commit: 32c66d8a84bbf34e0dbaa4e0da8b05421a30005c
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 09:56:43 2023 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 10:01:04 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32c66d8a
7
8 dev-python/stomp-py: add 8.1.0
9
10 Closes: https://bugs.gentoo.org/896894
11 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
12
13 dev-python/stomp-py/Manifest | 1 +
14 dev-python/stomp-py/stomp-py-8.1.0.ebuild | 33 +++++++++++++++++++++++++++++++
15 2 files changed, 34 insertions(+)
16
17 diff --git a/dev-python/stomp-py/Manifest b/dev-python/stomp-py/Manifest
18 index 110bda934ae0..e102c44a5334 100644
19 --- a/dev-python/stomp-py/Manifest
20 +++ b/dev-python/stomp-py/Manifest
21 @@ -1 +1,2 @@
22 DIST stomp.py-8.0.1.tar.gz 35300 BLAKE2B 12209e99066fb5bb1f3015398f5eb27186322ce9d92feca46adc4d275aff1d5138908da69abe3be512325bd30a3a21773886ba5fa21917c71d13bc53b0977de4 SHA512 009189cd07c379641c9fa3b3af1df70c9e26b77bbb6d2443a78b56ff9895b4382e90a753db83f4a863fae5ef5765c660d2f82ef14ab6e74817bc83e7ea8ba6d3
23 +DIST stomp.py-8.1.0.tar.gz 39808 BLAKE2B c6efb19fbee81142f251c4bf4114b445878b81fa457260a306cb82ef5e9c57f0b75e3dc8cd6035676e688f1d33081cdf936ac6ccc0628819722849d60f4d8602 SHA512 7385842a23fbe6022c386489641948932e805430ce71c09079d9484fe17d02241ee705d92a1bcdf873eebcbacf68f44bbf884ea103c8963944b84758073fdac7
24
25 diff --git a/dev-python/stomp-py/stomp-py-8.1.0.ebuild b/dev-python/stomp-py/stomp-py-8.1.0.ebuild
26 new file mode 100644
27 index 000000000000..2aaf49e80681
28 --- /dev/null
29 +++ b/dev-python/stomp-py/stomp-py-8.1.0.ebuild
30 @@ -0,0 +1,33 @@
31 +# Copyright 1999-2023 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=poetry
37 +PYTHON_COMPAT=( python3_{9..11} )
38 +
39 +inherit distutils-r1
40 +
41 +MY_PN="${PN//-/.}"
42 +MY_P="${MY_PN}-${PV}"
43 +
44 +DESCRIPTION="Python client library for the STOMP messaging protocol"
45 +HOMEPAGE="https://pypi.org/project/stomp.py/ https://github.com/jasonrbriggs/stomp.py/"
46 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
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 +S="${WORKDIR}"/${MY_P}
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"