summaryrefslogtreecommitdiff
path: root/dev-python/blockbuster
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-07-17 02:58:50 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-07-17 02:58:50 +0000
commit4e3ec32c2336739b75a0f9bc43b33e0f1cbbd717 (patch)
tree12d9d98277485353fbb06ed38e39009f8b0104bc /dev-python/blockbuster
parent41e0438955d0caa8757aa79e0e41040cada3fc18 (diff)
downloadbaldeagleos-repo-4e3ec32c2336739b75a0f9bc43b33e0f1cbbd717.tar.gz
baldeagleos-repo-4e3ec32c2336739b75a0f9bc43b33e0f1cbbd717.tar.xz
baldeagleos-repo-4e3ec32c2336739b75a0f9bc43b33e0f1cbbd717.zip
Adding metadata
Diffstat (limited to 'dev-python/blockbuster')
-rw-r--r--dev-python/blockbuster/Manifest1
-rw-r--r--dev-python/blockbuster/blockbuster-1.5.24.ebuild2
-rw-r--r--dev-python/blockbuster/blockbuster-1.5.25.ebuild60
3 files changed, 62 insertions, 1 deletions
diff --git a/dev-python/blockbuster/Manifest b/dev-python/blockbuster/Manifest
index a26c71f56aa6..1da304e14799 100644
--- a/dev-python/blockbuster/Manifest
+++ b/dev-python/blockbuster/Manifest
@@ -1 +1,2 @@
DIST blockbuster-1.5.24.tar.gz 51245 BLAKE2B 6d1e6a66154603d0a485dd77041b24488a35f9b07ec7b833b3ef2893edaada798e1feca158ceed7ba347cfcc738adc52d846991ec90808aa6a523a03403988cd SHA512 f286c1fad7236783aae81111480a43c946819264c7584fe9cdc466cdfff0c63c5076a9c74397e5f37782f5957c68834a1db7640a5aeae2bc0a2961fc472e7824
+DIST blockbuster-1.5.25.tar.gz 36058 BLAKE2B 75accc4bcba23664206adcd1a5adbfe5b4f4fdae634370e89b72a3122d3908dbba96ea2387766bced0814c47dac9b2b1c1b57647977b90bbd729561d6a2fb205 SHA512 a5201166425fa4449d319ed7265e9ab51c8bff05e1ec84c79d2b5cc54effc70f047154583b2362d6a6b6d0a986cd4f4082e96079a013778507fc5906bf6b7cff
diff --git a/dev-python/blockbuster/blockbuster-1.5.24.ebuild b/dev-python/blockbuster/blockbuster-1.5.24.ebuild
index a57503506b94..373879779766 100644
--- a/dev-python/blockbuster/blockbuster-1.5.24.ebuild
+++ b/dev-python/blockbuster/blockbuster-1.5.24.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
$(python_gen_cond_dep '
diff --git a/dev-python/blockbuster/blockbuster-1.5.25.ebuild b/dev-python/blockbuster/blockbuster-1.5.25.ebuild
new file mode 100644
index 000000000000..ba4aef4437e3
--- /dev/null
+++ b/dev-python/blockbuster/blockbuster-1.5.25.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Utility to detect blocking calls in the async event loop"
+HOMEPAGE="
+ https://github.com/cbornet/blockbuster/
+ https://pypi.org/project/blockbuster/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ >=dev-python/forbiddenfruit-0.1.4[${PYTHON_USEDEP}]
+ ' 'python*')
+"
+BDEPEND="
+ test? (
+ dev-python/aiofiles[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( pytest-asyncio )
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # Internet
+ tests/test_blockbuster.py::test_ssl_socket
+ )
+
+ case ${EPYTHON} in
+ pypy3.11)
+ EPYTEST_DESELECT+=(
+ # upstream doesn't care, however that doesn't stop
+ # people from depending on it...
+ # https://github.com/cbornet/blockbuster/issues/47
+ tests/test_blockbuster.py::test_file_random
+ tests/test_blockbuster.py::test_file_read_bytes
+ tests/test_blockbuster.py::test_file_text
+ tests/test_blockbuster.py::test_file_write_bytes
+ tests/test_blockbuster.py::test_lock
+ tests/test_blockbuster.py::test_os_scandir
+ tests/test_blockbuster.py::test_scanned_modules
+ )
+ ;;
+ esac
+
+ epytest
+}