summaryrefslogtreecommitdiff
path: root/dev-python/stomp-py/stomp-py-6.1.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2020-12-16 00:00:18 +0000
committerLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2020-12-16 00:00:18 +0000
commitc16790af2c9b4cbc38e565d4311252193ff85484 (patch)
tree4f43ee770507dee235d6b4f9433d9f807781fcc8 /dev-python/stomp-py/stomp-py-6.1.0.ebuild
parentfddf516add4924cfe9d698f116342e30b27d67b8 (diff)
downloadbaldeagleos-repo-21.1.1.tar.gz
baldeagleos-repo-21.1.1.tar.xz
baldeagleos-repo-21.1.1.zip
Updating liguros repo21.1.1
Diffstat (limited to 'dev-python/stomp-py/stomp-py-6.1.0.ebuild')
-rw-r--r--dev-python/stomp-py/stomp-py-6.1.0.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/stomp-py/stomp-py-6.1.0.ebuild b/dev-python/stomp-py/stomp-py-6.1.0.ebuild
new file mode 100644
index 000000000000..7baf401a5d64
--- /dev/null
+++ b/dev-python/stomp-py/stomp-py-6.1.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9,10} )
+DISTUTILS_USE_SETUPTOOLS="pyproject.toml"
+
+inherit distutils-r1
+
+MY_PN="${PN//-/.}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Python client library for the STOMP messaging protocol"
+HOMEPAGE="https://pypi.org/project/stomp.py/ https://github.com/jasonrbriggs/stomp.py/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="<dev-python/docopt-0.7.0[${PYTHON_USEDEP}]"
+
+# stomp.py test suite requires quite a few appropriately configured
+# messaging servers (as of 6.1.0: RabbitMQ, ActiveMQ, ActiveMQ Artemis,
+# stompserver). Upstream relies on Docker to provide those servers, however
+# doing the same in src_test would require both granting the portage user
+# extra permissions and packaging the base image (trying to download it
+# on the fly would violate the network sandbox).
+# Side note: PyPI tarballs do not include tests.
+RESTRICT="test"
+
+S="${WORKDIR}"/${MY_P}