Merge updates from master

This commit is contained in:
Repository mirror & CI
2026-08-21 15:45:46 +00:00
77 changed files with 0 additions and 1917 deletions

View File

@@ -1 +0,0 @@
DIST autobahn-24.4.2.tar.gz 482700 BLAKE2B e94026e0cfbb3a3ba2a494ac50e851ed1c35a842dd6b5ce2ac437a19fa0d30061d16b0965831ce57067d6682df256e5140d67e0e9b4d71cc1dbcc16287ffbed1 SHA512 2caffa9a49e3661e665a4e2641b96ff48581264654cb35ebc2e8a67620ce81bd330895bb12a098488676ab74c8275e601f45357840ca074c3c6a3d7247e563e9

View File

@@ -1,123 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1 optfeature pypi
DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio"
HOMEPAGE="
https://github.com/crossbario/autobahn-python/
https://pypi.org/project/autobahn/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86"
IUSE="test xbr"
RESTRICT="!test? ( test )"
# The order of deps is based on their appearance in setup.py
# All extra deps should be included in test and in optfeature
RDEPEND="
>=dev-python/zope-interface-5.2.0[${PYTHON_USEDEP}]
>=dev-python/twisted-24.3.0[${PYTHON_USEDEP}]
>=dev-python/attrs-20.3.0[${PYTHON_USEDEP}]
>=dev-python/txaio-21.2.1[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
>=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
${RDEPEND}
>=dev-python/wsaccel-0.6.3[${PYTHON_USEDEP}]
>=dev-python/python-snappy-0.6.0[${PYTHON_USEDEP}]
>=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}]
>=dev-python/ujson-4.0.2[${PYTHON_USEDEP}]
>=dev-python/cbor2-5.2.0[${PYTHON_USEDEP}]
>=dev-python/py-ubjson-0.16.1[${PYTHON_USEDEP}]
>=dev-python/flatbuffers-22.12.06[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-20.0.1[${PYTHON_USEDEP}]
>=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}]
>=dev-python/pynacl-1.4.0[${PYTHON_USEDEP}]
>=dev-python/pytrie-0.4[${PYTHON_USEDEP}]
>=dev-python/cffi-1.14.5[${PYTHON_USEDEP}]
>=dev-python/argon2-cffi-20.1.0[${PYTHON_USEDEP}]
>=dev-python/libpass-1.7.4[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
)
"
python_prepare_all() {
local PATCHES=(
# https://github.com/crossbario/autobahn-python/pull/1661
"${FILESDIR}/${P}-pytest-asyncio-1.patch"
)
if use xbr ; then
eerror "***************"
eerror "Required xbr dependencies are incomplete in Gentoo."
eerror "So this functionality will not yet work"
eerror "Please file a bug if this feature is needed"
eerror "***************"
else
# remove xbr components
export AUTOBAHN_STRIP_XBR="True"
fi
distutils-r1_python_prepare_all
# avoid useless rust dependency
sed -i -e '/cryptography/s:>=3.4.6::' setup.py || die
# remove twisted plugin cache regen in setup.py
# to fix tinderbox sandbox issue
sed -e '/import/s:reactor:__importmustfail__:' \
-i setup.py || die
}
python_test() {
rm -rf autobahn || die
einfo "Testing all, cryptosign using twisted"
local -x USE_TWISTED=true
"${EPYTHON}" -m twisted.trial autobahn || die "Tests failed with ${EPYTHON}"
unset USE_TWISTED
einfo "RE-testing cryptosign and component_aio using asyncio"
local EPYTEST_PLUGINS=( pytest-asyncio )
local -x USE_ASYNCIO=true
epytest --pyargs \
autobahn.asyncio.test.test_aio_{raw,web}socket \
autobahn.wamp.test.test_wamp_{cryptosign,component_aio}
unset USE_ASYNCIO
rm -f twisted/plugins/dropin.cache || die
}
pkg_postinst() {
optfeature "C-based WebSocket acceleration" "dev-python/wsaccel"
optfeature "non-standard WebSocket compression support" \
"dev-python/python-snappy"
optfeature "accelerated WAMP serialization support" \
"dev-python/msgpack dev-python/ujson dev-python/cbor2 dev-python/flatbuffers dev-python/py-ubjson"
optfeature "TLS transport encryption" \
"dev-python/pyopenssl dev-python/pynacl dev-python/pytrie dev-python/qrcode dev-python/service-identity"
optfeature "WAMP-SCRAM authentication" \
"dev-python/cffi dev-python/argon2-cffi dev-python/libpass"
optfeature "native SIMD acceleration" "dev-python/cffi"
python_foreach_impl twisted-regen-cache
}
pkg_postrm() {
python_foreach_impl twisted-regen-cache
}

View File

@@ -1,298 +0,0 @@
From 9a14ae7739524f376d94e075c5a8f2f26e79c674 Mon Sep 17 00:00:00 2001
From: meejah <meejah@meejah.ca>
Date: Sat, 21 Jun 2025 22:35:41 -0600
Subject: [PATCH] Plain twisted utilities are sufficient (#1661)
* Plain twisted utilities are sufficient
* CI fixups
---
autobahn/asyncio/test/test_aio_rawsocket.py | 18 +++++------
autobahn/asyncio/test/test_aio_websocket.py | 10 +++---
.../twisted/test/test_tx_websocket_agent.py | 5 +--
autobahn/twisted/testing/__init__.py | 31 +++----------------
autobahn/wamp/test/test_wamp_component_aio.py | 29 ++++++++---------
5 files changed, 36 insertions(+), 57 deletions(-)
diff --git a/autobahn/asyncio/test/test_aio_rawsocket.py b/autobahn/asyncio/test/test_aio_rawsocket.py
index 726a6242..42c00c30 100644
--- a/autobahn/asyncio/test/test_aio_rawsocket.py
+++ b/autobahn/asyncio/test/test_aio_rawsocket.py
@@ -11,7 +11,7 @@ from autobahn.wamp.types import TransportDetails
@pytest.mark.skipif(not os.environ.get('USE_ASYNCIO', False), reason='test runs on asyncio only')
-def test_sers(event_loop):
+def test_sers():
serializers = get_serializers()
assert len(serializers) > 0
m = serializers[0]().serialize(message.Abort('close'))
@@ -19,7 +19,7 @@ def test_sers(event_loop):
@pytest.mark.skipif(not os.environ.get('USE_ASYNCIO', False), reason='test runs on asyncio only')
-def test_prefix(event_loop):
+def test_prefix():
p = PrefixProtocol()
transport = Mock()
receiver = Mock()
@@ -62,7 +62,7 @@ def test_prefix(event_loop):
@pytest.mark.skipif(not os.environ.get('USE_ASYNCIO', False), reason='test runs on asyncio only')
-def test_is_closed(event_loop):
+def test_is_closed():
class CP(RawSocketClientProtocol):
@property
def serializer_id(self):
@@ -83,7 +83,7 @@ def test_is_closed(event_loop):
@pytest.mark.skipif(not os.environ.get('USE_ASYNCIO', False), reason='test runs on asyncio only')
-def test_raw_socket_server1(event_loop):
+def test_raw_socket_server1():
server = RawSocketServerProtocol()
ser = Mock(return_value=True)
@@ -108,7 +108,7 @@ def test_raw_socket_server1(event_loop):
@pytest.mark.skipif(not os.environ.get('USE_ASYNCIO', False), reason='test runs on asyncio only')
-def test_raw_socket_server_errors(event_loop):
+def test_raw_socket_server_errors():
server = RawSocketServerProtocol()
ser = Mock(return_value=True)
@@ -139,7 +139,7 @@ def test_raw_socket_server_errors(event_loop):
@pytest.mark.skipif(not os.environ.get('USE_ASYNCIO', False), reason='test runs on asyncio only')
-def test_raw_socket_client1(event_loop):
+def test_raw_socket_client1():
class CP(RawSocketClientProtocol):
@property
def serializer_id(self):
@@ -162,7 +162,7 @@ def test_raw_socket_client1(event_loop):
@pytest.mark.skipif(not os.environ.get('USE_ASYNCIO', False), reason='test runs on asyncio only')
-def test_raw_socket_client_error(event_loop):
+def test_raw_socket_client_error():
class CP(RawSocketClientProtocol):
@property
def serializer_id(self):
@@ -181,7 +181,7 @@ def test_raw_socket_client_error(event_loop):
@pytest.mark.skipif(not os.environ.get('USE_ASYNCIO', False), reason='test runs on asyncio only')
-def test_wamp_server(event_loop):
+def test_wamp_server():
transport = Mock(spec_set=('abort', 'close', 'write', 'get_extra_info'))
transport.write = Mock(side_effect=lambda m: messages.append(m))
server = Mock(spec=['onOpen', 'onMessage'])
@@ -209,7 +209,7 @@ def test_wamp_server(event_loop):
@pytest.mark.skipif(not os.environ.get('USE_ASYNCIO', False), reason='test runs on asyncio only')
-def test_wamp_client(event_loop):
+def test_wamp_client():
transport = Mock(spec_set=('abort', 'close', 'write', 'get_extra_info'))
transport.write = Mock(side_effect=lambda m: messages.append(m))
client = Mock(spec=['onOpen', 'onMessage'])
diff --git a/autobahn/asyncio/test/test_aio_websocket.py b/autobahn/asyncio/test/test_aio_websocket.py
index f80cc249..c2299991 100644
--- a/autobahn/asyncio/test/test_aio_websocket.py
+++ b/autobahn/asyncio/test/test_aio_websocket.py
@@ -23,16 +23,15 @@ async def test_echo_async():
# @pytest.mark.asyncio(forbid_global_loop=True)
@pytest.mark.skipif(not os.environ.get('USE_ASYNCIO', False), reason='test runs on asyncio only')
-def test_websocket_custom_loop(event_loop):
- factory = WebSocketServerFactory(loop=event_loop)
+def test_websocket_custom_loop():
+ factory = WebSocketServerFactory(loop=asyncio.new_event_loop())
server = factory()
transport = Mock()
server.connection_made(transport)
@pytest.mark.skipif(not os.environ.get('USE_ASYNCIO', False), reason='test runs on asyncio only')
-@pytest.mark.asyncio
-async def test_async_on_connect_server(event_loop):
+def test_async_on_connect_server():
num = 42
done = txaio.create_future()
@@ -65,7 +64,8 @@ async def test_async_on_connect_server(event_loop):
b'\r\n', # last string doesn't get a \r\n from join()
])
server.processHandshake()
- await done
+
+ asyncio.get_event_loop().run_until_complete(done)
assert len(values) == 1
assert values[0] == num * num
diff --git a/autobahn/twisted/test/test_tx_websocket_agent.py b/autobahn/twisted/test/test_tx_websocket_agent.py
index c926cbef..d65c3ca8 100644
--- a/autobahn/twisted/test/test_tx_websocket_agent.py
+++ b/autobahn/twisted/test/test_tx_websocket_agent.py
@@ -1,12 +1,13 @@
from twisted.trial import unittest
try:
- from autobahn.twisted.testing import create_memory_agent, MemoryReactorClockResolver, create_pumper
+ from autobahn.twisted.testing import create_memory_agent, create_pumper
HAVE_TESTING = True
except ImportError:
HAVE_TESTING = False
from twisted.internet.defer import inlineCallbacks
+from twisted.internet.testing import MemoryReactorClock
from autobahn.twisted.websocket import WebSocketServerProtocol
@@ -16,7 +17,7 @@ class TestAgent(unittest.TestCase):
def setUp(self):
self.pumper = create_pumper()
- self.reactor = MemoryReactorClockResolver()
+ self.reactor = MemoryReactorClock()
return self.pumper.start()
def tearDown(self):
diff --git a/autobahn/twisted/testing/__init__.py b/autobahn/twisted/testing/__init__.py
index 53d5f2d4..e014d350 100644
--- a/autobahn/twisted/testing/__init__.py
+++ b/autobahn/twisted/testing/__init__.py
@@ -37,7 +37,7 @@ except ImportError:
from twisted.internet.defer import Deferred
from twisted.internet.address import IPv4Address
from twisted.internet._resolver import HostResolution # "internal" class, but it's simple
-from twisted.internet.interfaces import ISSLTransport, IReactorPluggableNameResolver
+from twisted.internet.interfaces import ISSLTransport
try:
from twisted.internet.testing import MemoryReactorClock
except ImportError:
@@ -73,32 +73,9 @@ class _StaticTestResolver(object):
receiver.resolutionComplete()
-@implementer(IReactorPluggableNameResolver)
-class _TestNameResolver(object):
- """
- A test version of IReactorPluggableNameResolver
- """
-
- _resolver = None
-
- @property
- def nameResolver(self):
- if self._resolver is None:
- self._resolver = _StaticTestResolver()
- return self._resolver
-
- def installNameResolver(self, resolver):
- old = self._resolver
- self._resolver = resolver
- return old
-
-
-class MemoryReactorClockResolver(MemoryReactorClock, _TestNameResolver):
- """
- Combine MemoryReactor, Clock and an IReactorPluggableNameResolver
- together.
- """
- pass
+# in previous revisions, we exported MemoryReactorClockResolver so
+# this maintains compatibility with any downstream code
+MemoryReactorClockResolver = MemoryReactorClock
class _TwistedWebMemoryAgent(IWebSocketClientAgent):
diff --git a/autobahn/wamp/test/test_wamp_component_aio.py b/autobahn/wamp/test/test_wamp_component_aio.py
index 2de9bf35..971f8ddd 100644
--- a/autobahn/wamp/test/test_wamp_component_aio.py
+++ b/autobahn/wamp/test/test_wamp_component_aio.py
@@ -29,15 +29,15 @@ import sys
import unittest.mock as mock
import pytest
import txaio
+import asyncio
if os.environ.get('USE_ASYNCIO', False):
from autobahn.asyncio.component import Component
@pytest.mark.skipif(sys.version_info < (3, 5), reason="requires Python 3.5+")
- @pytest.mark.asyncio(forbid_global_loop=True)
- async def test_asyncio_component(event_loop):
+ def test_asyncio_component():
orig_loop = txaio.config.loop
- txaio.config.loop = event_loop
+ txaio.config.loop = asyncio.get_event_loop()
comp = Component(
transports=[
@@ -52,8 +52,8 @@ if os.environ.get('USE_ASYNCIO', False):
# if having trouble, try starting some logging (and use
# "py.test -s" to get real-time output)
# txaio.start_logging(level="debug")
- f = comp.start(loop=event_loop)
- txaio.config.loop = event_loop
+ f = comp.start(loop=asyncio.get_event_loop())
+ txaio.config.loop = asyncio.get_event_loop()
finished = txaio.create_future()
def fail():
@@ -72,18 +72,18 @@ if os.environ.get('USE_ASYNCIO', False):
txaio.config.loop = orig_loop
assert comp._done_f is None
f.add_done_callback(done)
- await finished
+
+ asyncio.get_event_loop().run_until_complete(finished)
@pytest.mark.skipif(sys.version_info < (3, 5), reason="requires Python 3.5+")
- @pytest.mark.asyncio(forbid_global_loop=True)
- async def test_asyncio_component_404(event_loop):
+ def test_asyncio_component_404():
"""
If something connects but then gets aborted, it should still try
to re-connect (in real cases this could be e.g. wrong path,
TLS failure, WebSocket handshake failure, etc)
"""
orig_loop = txaio.config.loop
- txaio.config.loop = event_loop
+ txaio.config.loop = asyncio.get_event_loop()
class FakeTransport(object):
def close(self):
@@ -104,8 +104,8 @@ if os.environ.get('USE_ASYNCIO', False):
else:
return txaio.create_future_error(RuntimeError("second connection fails completely"))
- with mock.patch.object(event_loop, 'create_connection', create_connection):
- event_loop.create_connection = create_connection
+ with mock.patch.object(txaio.config.loop, 'create_connection', create_connection):
+ txaio.config.loop.create_connection = create_connection
comp = Component(
transports=[
@@ -120,8 +120,8 @@ if os.environ.get('USE_ASYNCIO', False):
# if having trouble, try starting some logging (and use
# "py.test -s" to get real-time output)
# txaio.start_logging(level="debug")
- f = comp.start(loop=event_loop)
- txaio.config.loop = event_loop
+ f = comp.start(loop=asyncio.get_event_loop())
+ txaio.config.loop = asyncio.get_event_loop()
# now that we've started connecting, we *should* be able
# to connetion_lost our transport .. but we do a
@@ -151,4 +151,5 @@ if os.environ.get('USE_ASYNCIO', False):
finished.set_result(None)
txaio.config.loop = orig_loop
f.add_done_callback(done)
- await finished
+
+ asyncio.get_event_loop().run_until_complete(finished)

View File

@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<use>
<flag name="xbr">Add support for XBR decentralized data markets and etherium blockchain</flag>
</use>
<upstream>
<remote-id type="pypi">autobahn</remote-id>
<remote-id type="github">crossbario/autobahn-python</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST characteristic-14.3.0.tar.gz 26993 BLAKE2B a24548953451da77e08678b8a204c0fc649ebff52026aafc6f80037a65f527c9a2244273420b1ce76e3ac75778f48c11bc2344296cbf34ff1e9a1e82356d52f1 SHA512 e13a86f453cd3688a74188005b82a661a9c73d9f0408d9afe9e0575e69ffe87a5327f51e2c16a9c0a653b738e7c014d5aa08e353835f0aca7897714b7ae56e83

View File

@@ -1,29 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1 pypi
DESCRIPTION="Python attributes without the boilerplate"
HOMEPAGE="
https://characteristic.readthedocs.io/
https://github.com/hynek/characteristic/
https://pypi.org/project/characteristic/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
distutils_enable_sphinx docs
python_prepare_all() {
sed -e 's|\[pytest\]|\[tool:pytest\]|' -i setup.cfg || die
distutils-r1_python_prepare_all
}

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">characteristic</remote-id>
<remote-id type="github">hynek/characteristic</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST commentjson-0.9.0.gh.tar.gz 15297 BLAKE2B a857b0fa5551079d3d37bff94fb51a903e998c4fb84e0f62a5de28d6eafe0cb8a38b3215515e72c56de0cddb661f109921c801d15b9ba93771290135adaaa5b1 SHA512 cd3d28adecbc445ed3faed7847c65a23829f408cf8aa3fa85544a0f0cf9fa5544b8aff560725cf51921f249123daf9ce9953069e99ca64a312bb4bff652512fe

View File

@@ -1,47 +0,0 @@
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
inherit distutils-r1
DESCRIPTION="Add Python and JavaScript style comments in your JSON files"
HOMEPAGE="
https://pypi.org/project/commentjson/
https://github.com/vaidik/commentjson/
"
SRC_URI="
https://github.com/vaidik/commentjson/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
RDEPEND="
dev-python/lark[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/six[${PYTHON_USEDEP}]
dev-python/test[${PYTHON_USEDEP}]
)
"
distutils_enable_tests unittest
src_prepare() {
local PATCHES=(
# https://github.com/vaidik/commentjson/pull/54
"${FILESDIR}/${P}-py312.patch"
)
distutils-r1_src_prepare
# remove lark-parser dependency to allow painless upgrade to lark
sed -e '/lark-parser/d' -i setup.py || die
}

View File

@@ -1,24 +0,0 @@
From 04ad293f800039c0221ff010236e589a4ba7079d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Sun, 23 Jun 2024 14:54:42 +0200
Subject: [PATCH] Update test skips for Python 3.12+
Python 3.12 moves testing for `Infinity` and other constants
into `test_json/test_decode.py::test_parse_constant`.
---
commentjson/tests/test_json/test_decode.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/commentjson/tests/test_json/test_decode.py b/commentjson/tests/test_json/test_decode.py
index 6971c44..8f5e904 100644
--- a/commentjson/tests/test_json/test_decode.py
+++ b/commentjson/tests/test_json/test_decode.py
@@ -69,3 +69,8 @@ def test_string_with_utf8_bom(self):
'test case is not supported by commentjson.'))
def test_negative_index(self):
pass
+
+ @unittest.skipIf(version >= (3, 12),
+ 'Infinity as a value is not supported yet')
+ def test_parse_constant(self):
+ pass

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">commentjson</remote-id>
<remote-id type="github">vaidik/commentjson</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST django_cacheops-7.2.tar.gz 72751 BLAKE2B a2a36433d6f2d7d2e3364e9b8b51f2cfbb3bbd6217c9aebc6bb882ba261197be6a2d699227cd6de13eba1a7a5f9c4767f065c134bce7a89d76dbd735bbe214d9 SHA512 d8ba519e886cfb2de30ed9abcd2e648ce04a4efac80efd9e61bb4bd88845abc3b6d66f5c8ddea6819d127a9620f9a16acfe1c0b91e38ffb0aaeaff2bf410ae5d

View File

@@ -1,68 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1 pypi
DESCRIPTION="ORM cache with automatic granular event-driven invalidation for Django"
HOMEPAGE="
https://github.com/Suor/django-cacheops/
https://pypi.org/project/django-cacheops/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/django-3.2[${PYTHON_USEDEP}]
>=dev-python/redis-2.9.1[${PYTHON_USEDEP}]
>=dev-python/funcy-1.8[${PYTHON_USEDEP}]
>=dev-python/six-1.4.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
${RDEPEND}
dev-db/redis
dev-python/dill[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
)
"
src_prepare() {
# Remove test dependent on unpackaged before_after
sed -e 's/test_lock/_&/' -i tests/test_extras.py || die
distutils-r1_src_prepare
}
python_test() {
local -x DJANGO_SETTINGS_MODULE=tests.settings
local -x PYTHONPATH=.
django-admin test -v 2 || die
}
src_test() {
local redis_pid="${T}"/redis.pid
local redis_port=6379
einfo "Spawning Redis"
einfo "NOTE: Port ${redis_port} must be free"
"${EPREFIX}"/usr/sbin/redis-server - <<-EOF || die
daemonize yes
pidfile ${redis_pid}
port ${redis_port}
bind 127.0.0.1
EOF
# Run the tests
distutils-r1_src_test
# Clean up afterwards
kill "$(<"${redis_pid}")" || die
}

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">django-cacheops</remote-id>
<remote-id type="github">Suor/django-cacheops</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST fields-5.0.0.tar.gz 36232 BLAKE2B 7e5ebc5b7c76b456acbe02e0b325685776c573dd0715e27402e5245e04f3c54e6e0ac04b8780a50d9b560cb5fbb664bca6a3addc76666f012aa2427140dbf870 SHA512 3d80b9c6a1d0a43568045fc25422b0db783c84e2e3f2be8b1d41b0150f48fef58736d863d06b4562b29190cd6dc2616829faab8e901b7268ac2e9e63e996180e

View File

@@ -1,41 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
inherit distutils-r1 pypi
DESCRIPTION="Container class boilerplate killer"
HOMEPAGE="
https://github.com/ionelmc/python-fields/
https://pypi.org/project/fields/
"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos"
BDEPEND="
test? (
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/characteristic[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_prepare_all() {
sed -r \
-e "/--benchmark-disable/d" \
-e 's|\[pytest\]|\[tool:pytest\]|' \
-i setup.cfg || die
distutils-r1_python_prepare_all
}
python_test() {
epytest --ignore tests/test_perf.py tests
}

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">ionelmc/python-fields</remote-id>
<remote-id type="pypi">fields</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST jsonschema-spec-0.2.4.gh.tar.gz 38882 BLAKE2B 0c7d1179003ef5cd8eb0a164e9e13473df233fc72dbe3d8f75e967bb238de7267a0ef154ac3a40d8ef1ee3bd34568bfd16baae33b6ecc88077fabf0bdf22c299 SHA512 87f0a227e5d12badaab30a6b512f735db968ecd25856d9005e7c7f265187a3092e12ee9c900b035c5f927f250cc9743547dab1bba5195dc7534cab256b1800c2

View File

@@ -1,47 +0,0 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
inherit distutils-r1
DESCRIPTION="JSONSchema Spec with object-oriented paths"
HOMEPAGE="
https://pypi.org/project/jsonschema-spec/
https://github.com/p1c2u/jsonschema-spec/
"
SRC_URI="
https://github.com/p1c2u/jsonschema-spec/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
# requests seem "optional" but they failed at properly making it
# optional in poetry, sigh
RDEPEND="
>=dev-python/pathable-0.4.1[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
>=dev-python/referencing-0.28.1[${PYTHON_USEDEP}]
>=dev-python/requests-2.31.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/responses[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
sed -i -e '/--cov/d' pyproject.toml || die
# remove random pins due to caret operator
sed -i -e 's:\^:>=:' -e 's:,<[0-9.]*::' pyproject.toml || die
distutils-r1_src_prepare
}

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">jsonschema-spec</remote-id>
<remote-id type="github">p1c2u/jsonschema-spec</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,3 +0,0 @@
DIST magic_wormhole_mailbox_server-0.6.0.tar.gz 70160 BLAKE2B cfe6e8c8bdbb29fdc58c8aef613d806943594a1090566818f9e99cef026e0d73077e9a3d5890e137bb0eee57fbc73807f30d5fb9ee085a21c422f28abe21c7d0 SHA512 ff65bcecdb0e29b1ec79a91554a5d7ecf8dd226660f73f32bc7c4d2198a9e95b5a0229d66c178951bd41781fde9344f4fd7e7b0c456dad3c7eac2d738fb11a16
DIST magic_wormhole_mailbox_server-0.7.0.tar.gz 71750 BLAKE2B c21d472f620798d7ed9088b69485a8c6b078ed334d68801d7aa051b3143dc2ac15b38e71e02229425e43baaf70d384f8c9c10c756a510cc806f415691916ba66 SHA512 6379c356755fbbbb9443cf27444be548d4384ed67a2a253a761d1c7f5c3fb70f81653edec81cdac97bd53b18d846e3dc0c7b3f1d250f2d7eec6937e35e7b3c29
DIST magic_wormhole_mailbox_server-0.8.0.tar.gz 73824 BLAKE2B 716655f28adcbfb5ff306a980b1a253bcaf1a793cfdf2b99085306a642d38ab4417a5697865d8ec5f3a86bfdf3e97e6beb58c387843d447d83a074e1cd8ceb88 SHA512 35b2f179106721bf2d82711b21c95ea2ad96fcac1a9672516cfecd1cf99f0eeb764961a70922dffbcc936b43ba5faa8a674d381c3da10384798cc85e44f9a52d

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Mailbox server for magic-wormhole"
HOMEPAGE="
https://magic-wormhole.readthedocs.io/en/latest/
https://github.com/magic-wormhole/magic-wormhole-mailbox-server/
https://pypi.org/project/magic-wormhole-mailbox-server/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
RDEPEND="
dev-python/autobahn[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/twisted[ssl,${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/versioneer[${PYTHON_USEDEP}]
test? (
dev-python/treq[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
rm versioneer.py || die
}

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Mailbox server for magic-wormhole"
HOMEPAGE="
https://magic-wormhole.readthedocs.io/en/latest/
https://github.com/magic-wormhole/magic-wormhole-mailbox-server/
https://pypi.org/project/magic-wormhole-mailbox-server/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
dev-python/autobahn[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/twisted[ssl,${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/versioneer[${PYTHON_USEDEP}]
test? (
dev-python/treq[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
rm versioneer.py || die
}

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Mailbox server for magic-wormhole"
HOMEPAGE="
https://magic-wormhole.readthedocs.io/en/latest/
https://github.com/magic-wormhole/magic-wormhole-mailbox-server/
https://pypi.org/project/magic-wormhole-mailbox-server/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
dev-python/autobahn[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/twisted[ssl,${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/versioneer[${PYTHON_USEDEP}]
test? (
dev-python/treq[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
rm versioneer.py || die
}

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">magic-wormhole-mailbox-server</remote-id>
<remote-id type="github">magic-wormhole/magic-wormhole-mailbox-server</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST magic-wormhole-transit-relay-0.5.0.gh.tar.gz 65189 BLAKE2B 7c2e98de1042410558cd2a7e219f821c71fa7e90b84b7cae1498dc155baf36aeef4f0a907f9c2419175bbae0d28b8826c4d8f1a8ee41088b8dad36e21d884963 SHA512 13b2358ab7c076bb822cd9e2394ecdd6d30769a043ed2e2cf04b68f451cd28dbedbfbe329f945581e9c0a83b2bde7b1a2529d8d38ef29a66088190aedbcd7d1f

View File

@@ -1,68 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Transit relay server for magic-wormhole"
HOMEPAGE="
https://magic-wormhole.readthedocs.io/en/latest/
https://github.com/magic-wormhole/magic-wormhole-transit-relay/
https://pypi.org/project/magic-wormhole-transit-relay/
"
SRC_URI="
https://github.com/magic-wormhole/magic-wormhole-transit-relay/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
RDEPEND="
>=dev-python/autobahn-21.3.1[${PYTHON_USEDEP}]
>=dev-python/twisted-21.2.0[ssl,${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/versioneer[${PYTHON_USEDEP}]
test? (
dev-python/mock[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
rm versioneer.py || die
}
python_test() {
local -x PATH=${T}/bin:${PATH}
mkdir -p "${T}"/bin || die
# the script is apparently run with PATH wiped, sigh
cat > "${T}"/bin/twistd <<-EOF || die
#!$(type -P python)
import sys
from twisted.scripts.twistd import run
sys.exit(run())
EOF
chmod +x "${T}"/bin/twistd || die
epytest
find "${BUILD_DIR}/install" -name dropin.cache -delete || die
}
pkg_postinst() {
python_foreach_impl twisted-regen-cache
}
pkg_postrm() {
python_foreach_impl twisted-regen-cache
}

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">magic-wormhole-transit-relay</remote-id>
<remote-id type="github">magic-wormhole/magic-wormhole-transit-relay</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,2 +0,0 @@
DIST magic_wormhole-0.23.0.tar.gz 313621 BLAKE2B 3670b70133e9d844216eb458bff1fa68b645ca76cfe64be0c79794ce37b74cad40b99550f43076339d571b7f9962ddb66f1949c852e5f78e5659d004ed15c11e SHA512 704125bc29274326b27da8ab16c2bd92a98bca07e9b20cbb9fb5e036bb5ad109a28d981a2ea315a05916d7958f4d05148262f2ea49694eb161b8dcbba3a16dac
DIST magic_wormhole-0.24.0.tar.gz 308777 BLAKE2B 9fae8db73d1245e054c513d5d85ffc1a9d6300c5dccfab52040bc61e62c47418b7654c9b7e195ce6abdb0bf89f5321fd030d88d8c5c59f92ac682fea83b4a57d SHA512 91bdbc5a341560490c08606c4a4f200ee39cc1a61e0d2461f2edaccdd8898036300adddce304ce3ce39f07f091e2263c08a8a54f3a8edec6a7dd29882dd50522

View File

@@ -1,64 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi shell-completion
DESCRIPTION="Get Things From One Computer To Another, Safely"
HOMEPAGE="
https://magic-wormhole.readthedocs.io/en/latest/
https://github.com/magic-wormhole/magic-wormhole/
https://pypi.org/project/magic-wormhole/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
RDEPEND="
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
>=dev-python/autobahn-0.14.1[${PYTHON_USEDEP}]
dev-python/automat[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/humanize[${PYTHON_USEDEP}]
>=dev-python/iterable-io-1.0.0[${PYTHON_USEDEP}]
dev-python/noiseprotocol[${PYTHON_USEDEP}]
dev-python/pynacl[${PYTHON_USEDEP}]
>=dev-python/qrcode-8.0[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
~dev-python/spake2-0.9[${PYTHON_USEDEP}]
>=dev-python/tqdm-4.13.0[${PYTHON_USEDEP}]
dev-python/twisted[ssl,${PYTHON_USEDEP}]
>=dev-python/txtorcon-18.0.2[${PYTHON_USEDEP}]
>=dev-python/zipstream-ng-1.7.1[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/versioneer[${PYTHON_USEDEP}]
test? (
dev-python/magic-wormhole-mailbox-server[${PYTHON_USEDEP}]
dev-python/magic-wormhole-transit-relay[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( hypothesis pytest-twisted )
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
rm versioneer.py || die
}
src_install() {
distutils-r1_src_install
newbashcomp "${ED}/usr/wormhole_complete.bash" wormhole
newfishcomp "${ED}/usr/wormhole_complete.fish" wormhole.fish
newzshcomp "${ED}/usr/wormhole_complete.zsh" _wormhole
rm "${ED}/usr"/wormhole_complete* || die
}

View File

@@ -1,64 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi shell-completion
DESCRIPTION="Get Things From One Computer To Another, Safely"
HOMEPAGE="
https://magic-wormhole.readthedocs.io/en/latest/
https://github.com/magic-wormhole/magic-wormhole/
https://pypi.org/project/magic-wormhole/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
>=dev-python/autobahn-0.14.1[${PYTHON_USEDEP}]
dev-python/automat[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/humanize[${PYTHON_USEDEP}]
>=dev-python/iterable-io-1.0.0[${PYTHON_USEDEP}]
dev-python/noiseprotocol[${PYTHON_USEDEP}]
dev-python/pynacl[${PYTHON_USEDEP}]
>=dev-python/qrcode-8.0[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
~dev-python/spake2-0.9[${PYTHON_USEDEP}]
>=dev-python/tqdm-4.13.0[${PYTHON_USEDEP}]
dev-python/twisted[ssl,${PYTHON_USEDEP}]
>=dev-python/txtorcon-18.0.2[${PYTHON_USEDEP}]
>=dev-python/zipstream-ng-1.7.1[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/versioneer[${PYTHON_USEDEP}]
test? (
dev-python/magic-wormhole-mailbox-server[${PYTHON_USEDEP}]
dev-python/magic-wormhole-transit-relay[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( hypothesis pytest-twisted )
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
rm versioneer.py || die
}
src_install() {
distutils-r1_src_install
newbashcomp "${ED}/usr/wormhole_complete.bash" wormhole
newfishcomp "${ED}/usr/wormhole_complete.fish" wormhole.fish
newzshcomp "${ED}/usr/wormhole_complete.zsh" _wormhole
rm "${ED}/usr"/wormhole_complete* || die
}

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">magic-wormhole</remote-id>
<remote-id type="github">magic-wormhole/magic-wormhole</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST pdoc3-0.11.6.tar.gz 177107 BLAKE2B 531fd298bdb252fca9de3a4ac2be94b168541af86cef88e0896817975005ef695f172606217157bb65511bf9a26ee9a3631119ba94cf6d78d01e29bf228c0fac SHA512 65ce529d7aa6c00706c26d26abca2d99c6eb3af7e01b7064f62d8fc25a3829af02ccf808b101063abba6beb1e9901d0c9c80dfc5369ccf0a4b7cd8d46380faf1

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="pypi">pdoc3</remote-id>
<remote-id type="github">pdoc3/pdoc</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,38 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Auto-generate API documentation for Python projects"
HOMEPAGE="https://pdoc3.github.io/pdoc/"
LICENSE="AGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/mako[${PYTHON_USEDEP}]
>=dev-python/markdown-3.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
python_prepare_all() {
distutils-r1_python_prepare_all
sed -i \
-e "/setuptools_git/d" \
-e "/setuptools_scm/d" \
setup.py || die
# deselect tests
sed -i \
-e 's:test_Variable_type_annotation_py36plus:_&:' \
-e 's:test_doc_comment_docstrings:_&:' \
pdoc/test/__init__.py || die
}
distutils_enable_tests unittest

View File

@@ -1 +0,0 @@
DIST py-ubjson-0.16.1.tar.gz 50316 BLAKE2B 442894a7c010d1ba4a836827ca17e7cb10b34a6f5488851ce13a3c3ab02d8173250a664da4504bca9fd2d9377631e249127c789a4824930f8b35db2225902e9d SHA512 5c5e48fa236571832fbcd100ebe0efd7522a8f5773b74475e7b102fadc4e2917549640d12c5afb2aadbe65a6973b75540681da1df8febbf47f84844bc9337fb0

View File

@@ -1,35 +0,0 @@
From 1e69041e86947e360f30b8ee5ee0993ddd68469c Mon Sep 17 00:00:00 2001
From: Vilnis Termanis <vilnis.termanis@iotics.com>
Date: Fri, 20 Oct 2023 17:10:10 +0200
Subject: [PATCH] Fix recursion test case for Python 3.12
---
test/test.py | 6 +++---
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/test/test.py b/test/test.py
index c3920c4..d685194 100644
--- a/test/test.py
+++ b/test/test.py
@@ -465,10 +465,10 @@ def assert_raises_regex(self, *args, **kwargs):
def test_recursion(self):
old_limit = getrecursionlimit()
- setrecursionlimit(200)
+ setrecursionlimit(100)
try:
obj = current = []
- for _ in range(getrecursionlimit() * 2):
+ for _ in range(getrecursionlimit() * 30):
new_list = []
current.append(new_list)
current = new_list
@@ -476,7 +476,7 @@ def test_recursion(self):
with self.assert_raises_regex(RuntimeError, 'recursion'):
self.ubjdumpb(obj)
- raw = ARRAY_START * (getrecursionlimit() * 2)
+ raw = ARRAY_START * (getrecursionlimit() * 30)
with self.assert_raises_regex(RuntimeError, 'recursion'):
self.ubjloadb(raw)
finally:

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<maintainer>
<email>vilnis.termanis@iotic-labs.com</email>
<name>Iotic Labs Ltd</name>
</maintainer>
<remote-id type="pypi">py-ubjson</remote-id>
<remote-id type="github">Iotic-Labs/py-ubjson</remote-id>
</upstream>
<longdescription>
This is a Python v3.2+ (and 2.7+) Universal Binary JSON encoder/decoder
based on the draft-12 specification
</longdescription>
</pkgmetadata>

View File

@@ -1,39 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Universal Binary JSON encoder/decoder"
HOMEPAGE="
https://github.com/Iotic-Labs/py-ubjson/
https://pypi.org/project/py-ubjson/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86"
distutils_enable_tests pytest
PATCHES=(
# https://github.com/Iotic-Labs/py-ubjson/pull/19
"${FILESDIR}/${P}-py312.patch"
)
python_test() {
local EPYTEST_DESELECT=(
# the usual problem with random packages increasing recursion limit
test/test.py::TestEncodeDecodePlainExt::test_recursion
test/test.py::TestEncodeDecodeFpExt::test_recursion
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest test/test.py
}

View File

@@ -1 +0,0 @@
DIST pyotherside-1.6.2.tar.gz 184620 BLAKE2B 78e02274f71a30c6bc0d78eb993d070e7dfc9487c3964ceb4138338180b00e837006de6c15adb6168c52dab87959961e2b2cf40cce5eb123e01aaaf06fc03cad SHA512 5f625b733bf9b15b16236be836696d62c9297bafcbb491dc2ec353522612c1b593379c130e281b7b259acdbffb5cd89fb46e060969d29e7ed2d1452c6bbf43d2

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="github">thp/pyotherside</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
inherit qmake-utils python-single-r1
DESCRIPTION="Asynchronous Python 3 Bindings for Qt"
HOMEPAGE="
https://github.com/thp/pyotherside/
https://thp.io/2011/pyotherside/
"
SRC_URI="https://github.com/thp/pyotherside/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
${PYTHON_DEPS}
dev-qt/qtbase:6[opengl]
dev-qt/qtdeclarative:6[opengl]
dev-qt/qtquick3d:6[opengl]
dev-qt/qtsvg:6
"
RDEPEND="${DEPEND}"
pkg_setup() {
python_setup
}
src_prepare() {
default
sed -i -e "s/qtquicktests//" pyotherside.pro || die
}
src_configure() {
eqmake6
}
src_test() {
QT_QPA_PLATFORM="offscreen" tests/tests || die
}
src_install() {
emake install INSTALL_ROOT="${D}"
}

View File

@@ -1 +0,0 @@
DIST PyTrie-0.4.0.tar.gz 95139 BLAKE2B de57b4c36429c3e2d9ec7cb89e6515fd0a131e890bbfec17797a9a03b932ca2370cf283c67b4a99bb742b275c6f005789af410b875e857d30e6ba9e959403899 SHA512 c951568774c1e35d2b2bd5a52e5368da5ef2ffc83476d60882aa842debcd53c5eb0ed19f497a09f78c6a736ffba57702eda3aa0f3afa74dd0d1e770c17885c74

View File

@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<maintainer>
<email>george.sakkis@gmail.com</email>
<name>George Sakkis</name>
</maintainer>
<remote-id type="pypi">PyTrie</remote-id>
<remote-id type="github">gsakkis/pytrie</remote-id>
</upstream>
<longdescription>
A *trie* is an ordered tree data structure that is used to store a
mapping where the keys are sequences, usually strings over an alphabet.
In addition to implementing the mapping interface, tries allow finding
the items for a given prefix, and vice versa, finding the items whose
keys are prefixes of a given key.
</longdescription>
</pkgmetadata>

View File

@@ -1,34 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="PyTrie"
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="A pure Python implementation of the trie data structure"
HOMEPAGE="
https://github.com/gsakkis/pytrie/
https://pypi.org/project/PyTrie/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/sortedcontainers[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/test[${PYTHON_USEDEP}]
)
"
distutils_enable_tests unittest

View File

@@ -1 +0,0 @@
DIST pyx-0.16.gh.tar.gz 626703 BLAKE2B fa1f1a54e958fa4c1c3efd1df4cf744a1d591ac17671a6da4b2d2f15ae5f2a6cb6260bd1c5f189c60b0683e4f54545f5d3c0ed0c7698f14fa390396c18bf4ebd SHA512 613212a7a7d983432aab574bdccd402132da2b1ae563cb672e2766dbcda3ce91977780ab5e4097de77e6499d36537b54089327e448cf4e7855889087c3b9a9f8

View File

@@ -1,10 +0,0 @@
diff -r -U1 PyX-0.14.1.orig/faq/general_aspects_pyx.rst PyX-0.14.1/faq/general_aspects_pyx.rst
--- PyX-0.14.1.orig/faq/general_aspects_pyx.rst 2015-11-02 23:19:54.000000000 +0100
+++ PyX-0.14.1/faq/general_aspects_pyx.rst 2018-03-19 16:45:16.432663630 +0100
@@ -15,4 +15,4 @@
Despite the ties between TeX and PyX, their pronunciation is quite different.
-According to the developers of PyX, it should be pronounced as [pʏks]. Please do
-not pronounce it as [pʏx] or [pʏç].
+According to the developers of PyX, it should be pronounced as [pyks]. Please do
+not pronounce it as [pyx] or [pyç].

View File

@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>grozin@gentoo.org</email>
<name>Andrey Grozin</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<longdescription>
PyX is a Python package for the creation of encapsulated PostScript figures.
It provides both an abstraction of PostScript and a TeX/LaTeX interface.
Complex tasks like 2d and 3d plots in publication-ready quality are built out
of these primitives.
</longdescription>
<upstream>
<remote-id type="pypi">PyX</remote-id>
<remote-id type="sourceforge">pyx</remote-id>
<remote-id type="github">pyx-project/pyx</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,69 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
DESCRIPTION="Python package for the generation of encapsulated PostScript figures"
MY_PN="PyX"
MY_P=${MY_PN}-${PV}
HOMEPAGE="
https://github.com/pyx-project/pyx
https://pyx-project.org/
https://pypi.org/project/PyX/"
SRC_URI="https://github.com/pyx-project/${PN}/releases/download/${PV}/${MY_P}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}"/${MY_P}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="
dev-python/pillow[${PYTHON_USEDEP}]
virtual/tex-base
virtual/latex-base
dev-texlive/texlive-basic"
BDEPEND="${RDEPEND}
doc? (
$(python_gen_any_dep '
dev-python/sphinx[latex,${PYTHON_USEDEP}]
dev-python/sphinx-selective-exclude[${PYTHON_USEDEP}]
')
)"
PATCHES=( "${FILESDIR}"/pyx-0.14.1-unicode-latex.patch )
python_check_deps() {
use doc || return 0
python_has_version "dev-python/sphinx[latex,${PYTHON_USEDEP}]" \
"dev-python/sphinx-selective-exclude[${PYTHON_USEDEP}]"
}
src_prepare() {
sed -i \
-e 's/^build_t1code=.*/build_t1code=1/' \
-e 's/^build_pykpathsea=.*/build_pykpathsea=1/' \
setup.cfg || die "setup.cfg fix failed"
distutils-r1_src_prepare
}
python_compile_all() {
if use doc; then
local -x VARTEXFONTS="${T}"/fonts
PYTHONPATH="${WORKDIR}"/${MY_P}-${EPYTHON/./_}/install/usr/lib/${EPYTHON}/site-packages \
emake -C "${S}"/manual latexpdf
PYTHONPATH="${WORKDIR}"/${MY_P}-${EPYTHON/./_}/install/usr/lib/${EPYTHON}/site-packages \
emake -C "${S}"/faq latexpdf
fi
}
python_install_all() {
use doc && dodoc manual/_build/latex/manual.pdf faq/_build/latex/pyxfaq.pdf
distutils-r1_python_install_all
}

View File

@@ -1 +0,0 @@
DIST roman_numerals_py-4.1.0.tar.gz 4274 BLAKE2B 4b6a5d5cebbf3027d75889dfd799183bc623f19f77994a7e194d3c559a8c6c980002a4ac8b40175d67156765afb74b906b4e8b8c2fb4482c65b35cbaa5efc263 SHA512 bbb9f90c7d01041813d218e231aab0a6f64951f81c2f05261a6ececc776ec252f02fcb99bfdaf28f8ffcccad86cd9dbc1bc24f6512786af5047425d440ce554e

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">AA-Turner/roman-numerals</remote-id>
<remote-id type="pypi">roman-numerals-py</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,23 +0,0 @@
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3_11 python3_{11..14} python3_{13..14}t )
inherit distutils-r1 pypi
DESCRIPTION="Backwards compatibility for dev-python/roman-numerals"
HOMEPAGE="
https://github.com/AA-Turner/roman-numerals/
https://pypi.org/project/roman-numerals-py/
"
LICENSE="|| ( 0BSD CC0-1.0 )"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
RDEPEND="
~dev-python/roman-numerals-${PV}
"

View File

@@ -1 +0,0 @@
DIST sphinx_selective_exclude-1.0.3.tar.gz 7227 BLAKE2B 90ba94f81e6dfc00a39bbcaf50d136c01c7b756bcb9366ab111169913fb2a571b7924afc89fd8fffc9cf7c96bc64cd2737441bd5228fe22f9e5a9687b5b4ae52 SHA512 8ceace1502948caa17bf611786132720093b818039b399eb832c12dc47ad86219610495698692c2c25a98a8ede8695a66b02f5e3bb6ea2c7d2410e275cd959f9

View File

@@ -1,8 +0,0 @@
diff -r -U1 sphinx_selective_exclude-1.0.3.orig/setup.cfg sphinx_selective_exclude-1.0.3/setup.cfg
--- sphinx_selective_exclude-1.0.3.orig/setup.cfg 2019-12-24 05:59:33.000000000 +0700
+++ sphinx_selective_exclude-1.0.3/setup.cfg 2023-02-28 17:56:05.055719498 +0700
@@ -1,3 +1,3 @@
[metadata]
-description-file = README.md
+description_file = README.md

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>grozin@gentoo.org</email>
<name>Andrey Grozin</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">sphinx-selective-exclude</remote-id>
<remote-id type="github">pfalcon/sphinx_selective_exclude</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,20 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Sphinx selective rendition extensions"
HOMEPAGE="https://github.com/pfalcon/sphinx_selective_exclude"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
PDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
PATCHES=( "${FILESDIR}"/${PN}-description-file.patch )

View File

@@ -1,2 +0,0 @@
DIST txaio-25.9.2.tar.gz 50008 BLAKE2B ac43909f92370475d9ef64b8a64a454dbec1f3c28cac13d876ea7877b4f0b92d274867eabbdca7bceae5d32588e2e6befde2399e09a293e5a0548222cb1d1e6e SHA512 6a9ade6b8a7a7a29b96d8bc2a9ee5c2981270000b44736a753ef32aa6aa5f40b0fb0302d0b789795b313379eec236e8e5d02c5bebeefff1832a276994716794d
DIST txaio-25.9.2.tar.gz.provenance 9106 BLAKE2B eb904e3550062fa984b8ec517cc67d87625f9a0fd5b383cbafe655034254ed9864d1cc09735748ffbb5f4f542cb5df7d8d736628f77a23a0df22524f1a22035d SHA512 41151e97941babfdc8f02006f1804d9d2dcc5d29529fea5f3044674553b244f729c3b19ed7f5be504b99b20cb41d5ca73836a7f475d7ae4d1fb439d51ffc32bb

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<maintainer>
<email>autobahnws@googlegroups.com</email>
<name>Crossbar.io Technologies GmbH</name>
</maintainer>
<remote-id type="pypi">txaio</remote-id>
<remote-id type="github">crossbario/txaio</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_VERIFY_REPO=https://github.com/crossbario/txaio
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1 optfeature pypi
DESCRIPTION="Compatibility API between asyncio/Twisted/Trollius"
HOMEPAGE="
https://github.com/crossbario/txaio/
https://pypi.org/project/txaio/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
dev-python/test[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# we certainly don't need to test "python setup.py sdist" here
test/test_packaging.py
)
pkg_postinst() {
optfeature "Twisted support" "dev-python/twisted dev-python/zope-interface"
}

View File

@@ -1 +0,0 @@
DIST vpython-7.6.5.tar.gz 4533807 BLAKE2B c9eb7c243aba1e9147f7ec6529ba217ffa4acd2956c84bdb1da11e361653ced4f937545343d2daac01cd1063124f9e4ca55d9abff66c42c64d3f512e0f5e83ac SHA512 75836d113eaaf38f576ed148e33c955751da30198a40e4afeee3405209a94d70ca80166609782f079158ce430125394986750248206805bc28841820c0d868d6

View File

@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>grozin@gentoo.org</email>
<name>Andrey Grozin</name>
</maintainer>
<maintainer type="project">
<email>sci@gentoo.org</email>
</maintainer>
<longdescription>
This package enables one to run VPython in a browser,
using the GlowScript VPython API,
documented in the Help at http://glowscript.org.
If the code is in a cell in a Jupyter notebook,
the 3D scene appears in the Jupyter notebook.
If the code is launched outside a notebook (e.g. from the command line),
a browser window will open displaying the scene.
</longdescription>
<upstream>
<remote-id type="pypi">vpython</remote-id>
<remote-id type="github">vpython/vpython-jupyter</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,29 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..13} )
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="VPython for Jupyter notebook"
HOMEPAGE="https://www.vpython.org/ https://pypi.org/project/vpython/"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
>=dev-python/autobahn-18.8.2[${PYTHON_USEDEP}]
dev-python/ipykernel[${PYTHON_USEDEP}]
dev-python/jupyter[${PYTHON_USEDEP}]
dev-python/jupyter-server-proxy[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest

View File

@@ -1 +0,0 @@
DIST wsaccel-0.6.7.gh.tar.gz 10077 BLAKE2B efaaf3ab90acd963c630a808c15857ab75ab9de27fba5de2462800ad131a64bf153100348c872d327439355ad4328c111b425ee9166f2b2fcbc6e099d6cd9fc2 SHA512 fd3d2d6dc94f9922e05b4a957a02b9f765c9a0aa649859151f7e62a8dc4b382812b31ace42a27c1ef35904bc3c8155cba738322deeba834afd0a8049efec62a7

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">wsaccel</remote-id>
<remote-id type="github">methane/wsaccel</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,35 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1
DESCRIPTION="Accelerator for ws4py, autobahn and tornado"
HOMEPAGE="
https://github.com/methane/wsaccel/
https://pypi.org/project/wsaccel/
"
SRC_URI="
https://github.com/methane/wsaccel/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_test() {
cd tests || die
epytest
}

View File

@@ -74,7 +74,6 @@ sci-visualization/dash
dev-python/spyder-notebook
app-emacs/emacs-ipython-notebook
dev-python/jupyter
dev-python/vpython
dev-python/widgetsnbextension
dev-python/ipywidgets
dev-python/metakernel

View File

@@ -791,11 +791,6 @@ app-metrics/collectd collectd_plugins_onewire
# Only supported on 64bit systems, see storage/columnstore/CMakeLists.txt
dev-db/mariadb columnstore
# Brian Dolbec <dolsen@gentoo.org> (2020-07-20)
# Required dependencies are not yet in the Gentoo ebuild tree
# Please file a bug if this feature is needed
dev-python/autobahn xbr
# Stephan Hartmann <stha09@googlemail.com> (2020-06-28)
# Mostly intended for development and not for general use.
>=www-client/chromium-84 headless

View File

@@ -263,7 +263,6 @@ dev-util/cargo-license
dev-util/cargo-audit
dev-util/bingrep
dev-python/trimesh
dev-python/vpython
dev-python/treq
dev-python/twython
dev-python/txtorcon
@@ -276,9 +275,6 @@ dev-python/python-axolotl
dev-python/pyghmi
dev-python/omemo-dr
dev-python/noiseprotocol
dev-python/magic-wormhole
dev-python/magic-wormhole-transit-relay
dev-python/magic-wormhole-mailbox-server
dev-python/jwcrypto
dev-python/websockify
dev-python/jupyter
@@ -384,7 +380,6 @@ dev-lang/rust-bin
>=dev-lang/spidermonkey-78
>=dev-libs/gjs-1.66
dev-python/aiohttp-oauthlib
dev-python/autobahn
dev-python/aws-sam-translator
>=dev-python/bcrypt-4
dev-python/cachebox
@@ -406,7 +401,6 @@ dev-python/joserfc
dev-python/josepy
>=dev-python/jsonschema-4.18.0
dev-python/jsonschema-path
dev-python/jsonschema-spec
dev-python/jsonschema-specifications
dev-python/jupyter-events
dev-python/jupyter-lsp

View File

@@ -70,12 +70,6 @@ dev-python/httpx
# importlib.{metadata,resources} and/or dev-python/packaging.
dev-python/pkg-resources
# Michał Górny <mgorny@gentoo.org> (2025-11-25)
# The package has turned into complete AI slop. Every subsequent
# release introduces serious quality issues, and potential security
# concerns. Please ask upstreams to move away from it.
dev-python/autobahn
# Michał Górny <mgorny@gentoo.org> (2025-11-04)
# Please depend on virtual/zlib, unless you are sure that the package
# in question is not compatible with sys-libs/zlib-ng[compat] and/or

View File

@@ -152,15 +152,6 @@ net-dns/bind-tools
# Removal on 2026-08-15. Bug #942397.
app-arch/p7zip
# Michał Górny <mgorny@gentoo.org> (2026-07-13)
# dev-python/fields is unmaintained for 5 years. Broken with pytest-9,
# we already patch it for earlier pytest versions. It is the only
# revdep of dev-python/characteristic which was archived in 2023.
# No revdeps left.
# Removal on 2026-08-12. Bug #978175.
dev-python/characteristic
dev-python/fields
# Andreas Sturmlechner <asturm@gentoo.org> (2026-07-07)
# dev-embedded/ponyprog destabilisation mask, bug #978907
=dev-embedded/ponyprog-3.1.4_p20250501-r0
@@ -169,49 +160,6 @@ dev-python/fields
# Introduces backwards breaking change. Mask until downstreams adjust
>=dev-db/lmdb-1.0.0
# Michał Górny <mgorny@gentoo.org> (2026-07-04)
# Renamed to dev-python/jsonschema-path. No revdeps left.
# Removal on 2026-08-03.
dev-python/jsonschema-spec
# Michał Górny <mgorny@gentoo.org> (2026-06-30)
# Backwards compatibility wrapper. No revdeps left.
# Removal on 2026-07-30.
dev-python/roman-numerals-py
# Michał Górny <mgorny@gentoo.org> (2026-06-29)
# Unmaintained. Requires patching since py3.12. No revdeps.
# Removal on 2026-07-29. Bug #978274.
dev-python/commentjson
# Michał Górny <mgorny@gentoo.org> (2026-06-20)
# No py3.14 in compat, tests lost on bump, no revdeps.
# Removal on 2026-07-20. Bug #973904.
dev-python/pyx
dev-python/sphinx-selective-exclude
# Michał Górny <mgorny@gentoo.org> (2026-06-20)
# Both packages are completely broken and do not install correctly.
# Removal on 2026-07-20. Bug #977003.
sci-chemistry/GromacsWrapper
sci-libs/numkit
# Michał Górny <mgorny@gentoo.org> (2026-06-20)
# No maintainer, no py3.14 compat, broken tests, no revdeps.
# Removal on 2026-07-20. Bug #973876.
dev-python/pdoc3
# Michał Górny <mgorny@gentoo.org> (2026-06-20)
# No py3.14 compat, broken tests, no revdeps.
# Removal on 2026-07-20. Bug #973847.
dev-python/django-cacheops
# Michał Górny <mgorny@gentoo.org> (2026-06-20)
# NIH package with little activity. Last revdeps were removed
# in Sep 2025.
# Removal on 2026-07-20. Bug #977772.
dev-python/pyotherside
# Michał Górny <mgorny@gentoo.org> (2026-06-19)
# dev-python/pytrie is broken on Python 3.14 and has not been touched
# since 2020. dev-python/autobahn and dev-python/txaio have become
@@ -220,15 +168,7 @@ dev-python/pyotherside
# For magic-wormhole, use net-misc/wormhole-william or
# net-misc/magic-wormhole-rust instead.
# Removal on 2026-07-19. Bug #967367.
dev-python/autobahn
dev-python/magic-wormhole
dev-python/magic-wormhole-mailbox-server
dev-python/magic-wormhole-transit-relay
dev-python/py-ubjson
dev-python/pytrie
dev-python/txaio
dev-python/vpython
dev-python/wsaccel
# Michał Górny <mgorny@gentoo.org> (2026-06-03)
# Mike Pagano <mpagano@gentoo.org> (2026-06-03)
@@ -447,15 +387,6 @@ dev-util/buildbot-www-react
# action. Use at your own risk.
>=app-text/calibre-8.11.0
# Michał Górny <mgorny@gentoo.org> (2025-12-12)
# Upstream has switched to LLM-first coding which has already caused
# a number of suspicious bugs. At this point, new versions
# of the packages cannot be trusted to be safe to use. Furthermore,
# the maintenance cost of dealing with packaging bugs alone
# is overwhelming to human maintainers of this package.
>=dev-python/autobahn-25.10
>=dev-python/txaio-25.10
# Sam James <sam@gentoo.org> (2025-11-25)
# Generates session keys with weak (no) randomness. Please re-encrypt
# any data/messages using this librnp version. <0.18 is fine as is >=0.18.1.

View File

@@ -39,7 +39,6 @@ move dev-python/Opcodes dev-python/opcodes
move dev-python/OutputCheck dev-python/outputcheck
move dev-python/PeachPy dev-python/peachpy
move dev-python/requests_download dev-python/requests-download
move dev-python/sphinx_selective_exclude dev-python/sphinx-selective-exclude
move dev-python/txAMQP dev-python/txamqp
move dev-python/textX dev-python/textx
move dev-python/pyClamd dev-python/pyclamd

View File

@@ -1,38 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..13} )
DISTUTILS_USE_PEP517=setuptools
if [[ ${PV} = *9999* ]]; then
scm_eclass=git-r3
EGIT_REPO_URI="https://github.com/Becksteinlab/${PN}.git"
EGIT_BRANCH="develop"
else
scm_eclass=vcs-snapshot
SRC_URI="https://github.com/Becksteinlab/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
inherit distutils-r1 ${scm_eclass}
DESCRIPTION="Python framework for Gromacs"
HOMEPAGE="https://gromacswrapper.readthedocs.io"
LICENSE="GPL-3 LGPL-3"
SLOT="0"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
sci-libs/numkit[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
test? ( >=dev-python/pandas-0.17[${PYTHON_USEDEP}] )
"
distutils_enable_tests pytest

View File

@@ -1 +0,0 @@
DIST GromacsWrapper-0.9.1.tar.gz 1942919 BLAKE2B 295df8896aa3d92b5e1832c3b5a3a8eb2f3a9ae7e7d5a90a62fb449f0f76cf0235ba0cfdce2476c67903514579da399765f5e236c11cd781b959388f2273fa84 SHA512 f9c326dc669605f61a2b9adce64120a88f14369294e8692a078d489b18d8135fd9285c8947860d640c48ad1910f53f4e3d646f26c12dae55996f6462543be9b0

View File

@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alexxy@gentoo.org</email>
<name>Alexey Shvetsov</name>
</maintainer>
<maintainer type="project">
<email>sci-chemistry@gentoo.org</email>
<name>Gentoo Chemistry Project</name>
</maintainer>
<upstream>
<remote-id type="github">Becksteinlab/GromacsWrapper</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST numkit-1.3.1.tar.gz 130198 BLAKE2B e9f845012431687efc742328256076aba432d44502600ac792653b0c7867dacf028a306147e0abd12de546bb0f206002b784dd6bbe2957dd6c285edc899c9d3e SHA512 1580e2fbb868ea99fc35e6d4088d079413ced420d5425a131cc04b40ff464889aafb6d7763fe3a53d61c56c853a288544fcaf3621f4a9be22a85756a0c3b6f4f

View File

@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alexxy@gentoo.org</email>
<name>Alexey Shvetsov</name>
</maintainer>
<maintainer type="project">
<email>sci-chemistry@gentoo.org</email>
<name>Gentoo Chemistry Project</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">Becksteinlab/numkit</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,26 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1
DESCRIPTION="Numerical first aid kit (with numpy/scipy)"
HOMEPAGE="https://numkit.readthedocs.io"
SRC_URI="https://github.com/Becksteinlab/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-release-${PV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="
dev-python/six[${PYTHON_USEDEP}]
>=dev-python/numpy-1.9[${PYTHON_USEDEP}]
>=dev-python/scipy-1.0[${PYTHON_USEDEP}]
"
RDEPEND="${BDEPEND}"
distutils_enable_tests pytest