diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-27 14:27:24 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-27 14:27:24 +0000 |
| commit | ec8d9f909c0e14edece96aa2a519c32514317c5d (patch) | |
| tree | 8428a05076414767fc4374cad6c0185d45b727eb /dev-python | |
| parent | 71bb9f6a7996d2ad1869b6b6e404c242e5f4d98a (diff) | |
| download | baldeagleos-repo-ec8d9f909c0e14edece96aa2a519c32514317c5d.tar.gz baldeagleos-repo-ec8d9f909c0e14edece96aa2a519c32514317c5d.tar.xz baldeagleos-repo-ec8d9f909c0e14edece96aa2a519c32514317c5d.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild (renamed from dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild) | 8 | ||||
| -rw-r--r-- | dev-python/ansible-pygments/files/ansible-pygments-0.1.1-tests_pygments2_14.patch | 75 | ||||
| -rw-r--r-- | dev-python/pyrate-limiter/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyrate-limiter/pyrate-limiter-2.10.0.ebuild | 62 | ||||
| -rw-r--r-- | dev-python/pytest-verbose-parametrize/pytest-verbose-parametrize-1.7.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/python-mpv/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-mpv/python-mpv-1.0.2.ebuild | 37 | ||||
| -rw-r--r-- | dev-python/python-systemd/python-systemd-235.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/python-xmp-toolkit/files/python-xmp-toolkit-2.0.1-test.patch | 68 | ||||
| -rw-r--r-- | dev-python/sphinx-rtd-theme/sphinx-rtd-theme-1.2.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/sphinxcontrib-jquery/sphinxcontrib-jquery-3.0.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/stomp-py/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/stomp-py/stomp-py-8.1.0.ebuild | 33 |
13 files changed, 284 insertions, 10 deletions
diff --git a/dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild index 0e9664a9a836..b7db1f6703f1 100644 --- a/dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild +++ b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild @@ -16,7 +16,11 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~riscv" -# 2.11.0+ needed in order for tests to pass -RDEPEND=">=dev-python/pygments-2.11.0[${PYTHON_USEDEP}]" +# 2.14.0+ needed in order for tests to pass +RDEPEND=">=dev-python/pygments-2.14.0[${PYTHON_USEDEP}]" + +PATCHES=( + "${FILESDIR}"/${PN}-0.1.1-tests_pygments2_14.patch +) distutils_enable_tests pytest diff --git a/dev-python/ansible-pygments/files/ansible-pygments-0.1.1-tests_pygments2_14.patch b/dev-python/ansible-pygments/files/ansible-pygments-0.1.1-tests_pygments2_14.patch new file mode 100644 index 000000000000..d58a13256ac5 --- /dev/null +++ b/dev-python/ansible-pygments/files/ansible-pygments-0.1.1-tests_pygments2_14.patch @@ -0,0 +1,75 @@ +Backported upstream commit 0ddab3516217ac2067b6e980f5b2a6b2ac1be3fa + +--- a/tests/lexer_test.py ++++ b/tests/lexer_test.py +@@ -86,41 +86,41 @@ def test_ansible_output_lexer(): + + <span class="k">TASK</span> <span class="p">[</span><span class="l">paused</span><span class="p">]</span> <span class="nv">************************************************************************************************************************************</span> + <span class="w">Sunday 11 November 2018 20:16:48 +0100 (0:00:00.041) 0:07:59.637 *******</span> +-<span class="gd">--- before</span><span class="w"></span> +-<span class="gi">+++ after</span><span class="w"></span> +-<span class="gu">@@ -1,5 +1,5 @@</span><span class="w"></span> +-<span class="w"> </span>{<span class="w"></span> +-<span class="gd">- "exists": false,</span><span class="w"></span> +-<span class="gd">- "paused": false,</span><span class="w"></span> +-<span class="gd">- "running": false</span><span class="w"></span> +-<span class="gi">+ "exists": true,</span><span class="w"></span> +-<span class="gi">+ "paused": true,</span><span class="w"></span> +-<span class="gi">+ "running": true</span><span class="w"></span> +-<span class="w"> </span>}<span class="w"></span> ++<span class="gd">--- before</span> ++<span class="gi">+++ after</span> ++<span class="gu">@@ -1,5 +1,5 @@</span> ++<span class="w"> </span>{ ++<span class="gd">- "exists": false,</span> ++<span class="gd">- "paused": false,</span> ++<span class="gd">- "running": false</span> ++<span class="gi">+ "exists": true,</span> ++<span class="gi">+ "paused": true,</span> ++<span class="gi">+ "running": true</span> ++<span class="w"> </span>} + <span class="w">\ No newline at end of file</span> + + <span class="k">changed</span><span class="p">:</span> <span class="p">[</span><span class="nv">localhost</span><span class="p">]</span> + + <span class="k">TASK</span> <span class="p">[</span><span class="l">volumes (more volumes)</span><span class="p">]</span> <span class="nv">********************************************************************************************************************</span> + <span class="w">Sunday 11 November 2018 20:19:25 +0100 (0:00:00.607) 0:10:36.974 *******</span> +-<span class="gd">--- before</span><span class="w"></span> +-<span class="gi">+++ after</span><span class="w"></span> +-<span class="gu">@@ -1,11 +1,11 @@</span><span class="w"></span> +-<span class="w"> </span>{<span class="w"></span> +-<span class="w"> </span> "expected_binds": [<span class="w"></span> +-<span class="gd">- "/tmp:/tmp:rw",</span><span class="w"></span> +-<span class="gd">- "/:/whatever:rw,z"</span><span class="w"></span> +-<span class="gi">+ "/tmp:/somewhereelse:ro,Z",</span><span class="w"></span> +-<span class="gi">+ "/tmp:/tmp:rw"</span><span class="w"></span> +-<span class="w"> </span> ],<span class="w"></span> +-<span class="w"> </span> "expected_volumes": {<span class="w"></span> +-<span class="gd">- "/tmp": {},</span><span class="w"></span> +-<span class="gd">- "/whatever": {}</span><span class="w"></span> +-<span class="gi">+ "/somewhereelse": {},</span><span class="w"></span> +-<span class="gi">+ "/tmp": {}</span><span class="w"></span> +-<span class="w"> </span> },<span class="w"></span> +-<span class="w"> </span> "running": true<span class="w"></span> +-<span class="w"> </span>}<span class="w"></span> ++<span class="gd">--- before</span> ++<span class="gi">+++ after</span> ++<span class="gu">@@ -1,11 +1,11 @@</span> ++<span class="w"> </span>{ ++<span class="w"> </span> "expected_binds": [ ++<span class="gd">- "/tmp:/tmp:rw",</span> ++<span class="gd">- "/:/whatever:rw,z"</span> ++<span class="gi">+ "/tmp:/somewhereelse:ro,Z",</span> ++<span class="gi">+ "/tmp:/tmp:rw"</span> ++<span class="w"> </span> ], ++<span class="w"> </span> "expected_volumes": { ++<span class="gd">- "/tmp": {},</span> ++<span class="gd">- "/whatever": {}</span> ++<span class="gi">+ "/somewhereelse": {},</span> ++<span class="gi">+ "/tmp": {}</span> ++<span class="w"> </span> }, ++<span class="w"> </span> "running": true ++<span class="w"> </span>} + <span class="w">\ No newline at end of file</span> + + <span class="k">changed</span><span class="p">:</span> <span class="p">[</span><span class="nv">localhost</span><span class="p">]</span> diff --git a/dev-python/pyrate-limiter/Manifest b/dev-python/pyrate-limiter/Manifest index 4d74b08d2730..5835c04acc67 100644 --- a/dev-python/pyrate-limiter/Manifest +++ b/dev-python/pyrate-limiter/Manifest @@ -1,2 +1,3 @@ +DIST pyrate-limiter-2.10.0.gh.tar.gz 71838 BLAKE2B 3b8fd16684268870991c3a731c5497802c6f7be51e57bc983a14a7484fad2d0983613304fa061fdb70a3e6645d17fe37fbd68e9ddeca57bc7bd97fef4a5d8585 SHA512 b0090b2d80d40ba2f86ac7b5c5612a35fa885b52a87d783aa9726782275e79ca8d54a9a44b1f0dd43c98bf2355f4c17e1686d7c7f806934ea492b67f66b06ffe DIST pyrate-limiter-2.8.2.gh.tar.gz 51233 BLAKE2B a9a8bbf123596c7c64f60ae2c9d4e23a394dae6d18a8d09c0ec0b289bbbfce9dacee523726b906a30cf17fd7243b3fa1d1f2dc60af1bec67dc242d944535a5fd SHA512 3ff703347a86f6a91cf6b9c8edce3017cf88f2373961ba235c2f521d0112b0116951be7314b95d737ef0bec5cb6bae9908874fafe4060eb773cf0577e2ddbdb3 DIST pyrate-limiter-2.9.1.gh.tar.gz 71544 BLAKE2B 2f87f998abdb891673931f91a9980f5876f58a2225ca41af6ec390e59bd326e8614162549946552b22fea093f89f5c2a219eaa9223719dd4db9023944f040da2 SHA512 461b1627574ce09817b434ce0d47e3bbcb549fcd8176623b87640089c1dd9bb45030ae1c944ffd7906b04f9b1ba2977c841c1da9483619bc092570b86a49bcd6 diff --git a/dev-python/pyrate-limiter/pyrate-limiter-2.10.0.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-2.10.0.ebuild new file mode 100644 index 000000000000..a71b3d8b8ccc --- /dev/null +++ b/dev-python/pyrate-limiter/pyrate-limiter-2.10.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Python Rate-Limiter using Leaky-Bucket Algorimth Family" +HOMEPAGE=" + https://github.com/vutran1710/PyrateLimiter/ + https://pypi.org/project/pyrate-limiter/ +" +SRC_URI=" + https://github.com/vutran1710/PyrateLimiter/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/PyrateLimiter-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/redis[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/django-redis[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # Optional dependency redis-py-cluster not packaged + "tests/test_02.py::test_redis_cluster" + # Python 3.11 is slightly faster, leading to a non-critical failure here + "tests/test_concurrency.py::test_concurrency[ProcessPoolExecutor-SQLiteBucket]" +) + +# TODO: package sphinx-copybutton +# distutils_enable_sphinx docs \ +# dev-python/sphinx-autodoc-typehints \ +# dev-python/furo \ +# dev-python/myst_parser \ +# dev-python/sphinxcontrib-apidoc +distutils_enable_tests pytest + +src_prepare() { + # workaround installing LICENSE into site-packages + sed -i -e 's:^include:exclude:' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/pytest-verbose-parametrize/pytest-verbose-parametrize-1.7.0.ebuild b/dev-python/pytest-verbose-parametrize/pytest-verbose-parametrize-1.7.0.ebuild index 8ff4659c816b..e0a64d79f261 100644 --- a/dev-python/pytest-verbose-parametrize/pytest-verbose-parametrize-1.7.0.ebuild +++ b/dev-python/pytest-verbose-parametrize/pytest-verbose-parametrize-1.7.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) diff --git a/dev-python/python-mpv/Manifest b/dev-python/python-mpv/Manifest index 3fb93cebd68d..014a0708ee5c 100644 --- a/dev-python/python-mpv/Manifest +++ b/dev-python/python-mpv/Manifest @@ -1 +1,2 @@ DIST python-mpv-1.0.1.tar.gz 210008 BLAKE2B 3ba95ac4d3219615c80ea475c1f6dc3acd608a8ded919eea55efac8bb44a8946c959a2b39473e6c9e80fa1a4e52f525d6ef9871e3eb4b2664aeb1460208bc677 SHA512 16a6e93b63f30e535c1e3bd77702d7c703dd9c0a6a689f09e689663cac04e587bdc2135612062d791ffb38c709bc289d0297ebf9f1ddaf9b1771f25eae225f1b +DIST python-mpv-1.0.2.gh.tar.gz 210975 BLAKE2B 1a364761405e430ed91f597e15aae7f6c221980c2ed9ce0152109486d1fb79ebb7b6257c79bfef34d72468bcf335e8e514324bdd10982096a64f8949b4bca261 SHA512 62a1c682de8d0308a80b66d6f435fba8563abc84b16670c3ef55cc3d9295fd3ead7c68d99e64c06734c5be9017549a53bd760ca201146427abcfbf7aca610b7a diff --git a/dev-python/python-mpv/python-mpv-1.0.2.ebuild b/dev-python/python-mpv/python-mpv-1.0.2.ebuild new file mode 100644 index 000000000000..eb9a5d437a04 --- /dev/null +++ b/dev-python/python-mpv/python-mpv-1.0.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 virtualx + +DESCRIPTION="Python interface to the mpv media player" +HOMEPAGE="https://github.com/jaseg/python-mpv" +SRC_URI="https://github.com/jaseg/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + media-video/mpv[libmpv] + dev-python/pillow[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( dev-python/xvfbwrapper[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_test() { + # https://github.com/jaseg/python-mpv/issues/209 + EPYTEST_DESELECT=( + tests/test_mpv.py::TestLifecycle::test_wait_for_property_negative + tests/test_mpv.py::TestLifecycle::test_wait_for_property_positive + tests/test_mpv.py::TestLifecycle::test_wait_for_property_shutdown + tests/test_mpv.py::TestLifecycle::test_wait_for_prooperty_event_overflow + tests/test_mpv.py::TestLifecycle::test_event_callback + ) + virtx epytest +} diff --git a/dev-python/python-systemd/python-systemd-235.ebuild b/dev-python/python-systemd/python-systemd-235.ebuild index 09d8b18e432e..06f6f6b9b77f 100644 --- a/dev-python/python-systemd/python-systemd-235.ebuild +++ b/dev-python/python-systemd/python-systemd-235.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/systemd/python-systemd/archive/v${PV}.tar.gz -> ${P} LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" DEPEND="sys-apps/systemd:=" RDEPEND="${DEPEND} diff --git a/dev-python/python-xmp-toolkit/files/python-xmp-toolkit-2.0.1-test.patch b/dev-python/python-xmp-toolkit/files/python-xmp-toolkit-2.0.1-test.patch index 7679542cf535..e2adc3c05403 100644 --- a/dev-python/python-xmp-toolkit/files/python-xmp-toolkit-2.0.1-test.patch +++ b/dev-python/python-xmp-toolkit/files/python-xmp-toolkit-2.0.1-test.patch @@ -1,7 +1,67 @@ -diff -r -U1 python-xmp-toolkit-2.0.1.orig/test/test_exempi.py python-xmp-toolkit-2.0.1/test/test_exempi.py ---- python-xmp-toolkit-2.0.1.orig/test/test_exempi.py 2014-03-09 19:42:07.000000000 +0700 -+++ python-xmp-toolkit-2.0.1/test/test_exempi.py 2020-01-21 18:16:13.470778818 +0700 -@@ -539,2 +539,3 @@ +Squashed patches of the following: + +- https://github.com/exmakhina/python-xmp-toolkit/commit/3f7546173980610e0687f4eae4eb28aa026e4674 + gentoo commit 14321e655b7b3f6e531c0a079cb131dbd767e1be + +- https://github.com/exmakhina/python-xmp-toolkit/commit/1459510907764746534ce41afa85a3bedd7029b9 + test: disable tests involving BlueSquare.gif + +- https://github.com/exmakhina/python-xmp-toolkit/commit/bd8a0babef830e9a2c06150f6277ba0ddb1220bd + libxmp: exempi: exempi returns char-sized bool, not int + +diff --git a/libxmp/exempi.py b/libxmp/exempi.py +index 683e240..cddc038 100644 +--- a/libxmp/exempi.py ++++ b/libxmp/exempi.py +@@ -1693,6 +1693,7 @@ def check_error(success): + Return value from library function indicating success or failure. + """ + ++ success = success & 0xff + # Unfortunately the success parameter does not seem to always be reliable + # so we supplement it by explicitly checking the error code. + ecode = EXEMPI.xmp_get_error() +diff --git a/test/common_fixtures.py b/test/common_fixtures.py +index 135a795..363246c 100644 +--- a/test/common_fixtures.py ++++ b/test/common_fixtures.py +@@ -44,7 +44,6 @@ samplefiles = { + 'BlueSquare.ai' : libxmp.consts.XMP_FT_ILLUSTRATOR, + 'BlueSquare.avi' : libxmp.consts.XMP_FT_AVI, + 'BlueSquare.eps' : libxmp.consts.XMP_FT_EPS, +- 'BlueSquare.gif' : libxmp.consts.XMP_FT_GIF, + 'BlueSquare.indd' : libxmp.consts.XMP_FT_INDESIGN, + 'BlueSquare.jpg' : libxmp.consts.XMP_FT_JPEG, + 'BlueSquare.mov' : libxmp.consts.XMP_FT_MOV, +diff --git a/test/samples.py b/test/samples.py +index 4a97203..a7e0412 100644 +--- a/test/samples.py ++++ b/test/samples.py +@@ -65,7 +65,6 @@ samplefiles = { + 'BlueSquare.ai' : libxmp.consts.XMP_FT_ILLUSTRATOR, + 'BlueSquare.avi' : libxmp.consts.XMP_FT_AVI, + 'BlueSquare.eps' : libxmp.consts.XMP_FT_EPS, +- 'BlueSquare.gif' : libxmp.consts.XMP_FT_GIF, + 'BlueSquare.indd' : libxmp.consts.XMP_FT_INDESIGN, + 'BlueSquare.jpg' : libxmp.consts.XMP_FT_JPEG, + 'BlueSquare.mov' : libxmp.consts.XMP_FT_MOV, +diff --git a/test/test_exempi.py b/test/test_exempi.py +index 690ce15..54065e2 100644 +--- a/test/test_exempi.py ++++ b/test/test_exempi.py +@@ -422,7 +422,6 @@ class TestExempi(unittest.TestCase): + """Verify that check_file_format function works as expected.""" + pairs = { 'avi': libxmp.consts.XMP_FT_AVI, + 'eps': libxmp.consts.XMP_FT_EPS, +- 'gif': libxmp.consts.XMP_FT_GIF, + 'indd': libxmp.consts.XMP_FT_INDESIGN, + 'jpg': libxmp.consts.XMP_FT_JPEG, + 'mov': libxmp.consts.XMP_FT_MOV, +@@ -540,6 +539,7 @@ class TestIteration(unittest.TestCase): + self.assertEqual(props, ["2006, Hubert Figuiere"]) + + @unittest.skip("Issue x1") def test_single_namespace_single_path_leaf_names(self): + """Get just leaf names from a single path, single namespace.""" + # TODO: why? diff --git a/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-1.2.0.ebuild b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-1.2.0.ebuild index 1335da0787a4..f43d2f9ddc02 100644 --- a/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-1.2.0.ebuild +++ b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-1.2.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86" RDEPEND=" dev-python/docutils[${PYTHON_USEDEP}] diff --git a/dev-python/sphinxcontrib-jquery/sphinxcontrib-jquery-3.0.0.ebuild b/dev-python/sphinxcontrib-jquery/sphinxcontrib-jquery-3.0.0.ebuild index 70a6a42addde..6692b715a1c1 100644 --- a/dev-python/sphinxcontrib-jquery/sphinxcontrib-jquery-3.0.0.ebuild +++ b/dev-python/sphinxcontrib-jquery/sphinxcontrib-jquery-3.0.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} # MIT for jQuery LICENSE="0BSD MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86" BDEPEND=" test? ( diff --git a/dev-python/stomp-py/Manifest b/dev-python/stomp-py/Manifest index 110bda934ae0..e102c44a5334 100644 --- a/dev-python/stomp-py/Manifest +++ b/dev-python/stomp-py/Manifest @@ -1 +1,2 @@ DIST stomp.py-8.0.1.tar.gz 35300 BLAKE2B 12209e99066fb5bb1f3015398f5eb27186322ce9d92feca46adc4d275aff1d5138908da69abe3be512325bd30a3a21773886ba5fa21917c71d13bc53b0977de4 SHA512 009189cd07c379641c9fa3b3af1df70c9e26b77bbb6d2443a78b56ff9895b4382e90a753db83f4a863fae5ef5765c660d2f82ef14ab6e74817bc83e7ea8ba6d3 +DIST stomp.py-8.1.0.tar.gz 39808 BLAKE2B c6efb19fbee81142f251c4bf4114b445878b81fa457260a306cb82ef5e9c57f0b75e3dc8cd6035676e688f1d33081cdf936ac6ccc0628819722849d60f4d8602 SHA512 7385842a23fbe6022c386489641948932e805430ce71c09079d9484fe17d02241ee705d92a1bcdf873eebcbacf68f44bbf884ea103c8963944b84758073fdac7 diff --git a/dev-python/stomp-py/stomp-py-8.1.0.ebuild b/dev-python/stomp-py/stomp-py-8.1.0.ebuild new file mode 100644 index 000000000000..84f01bbb624b --- /dev/null +++ b/dev-python/stomp-py/stomp-py-8.1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +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}]" + +S="${WORKDIR}"/${MY_P} + +# stomp.py test suite requires quite a few appropriately configured +# messaging servers (as of 7.0.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" |
