From a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 16:24:49 -0500 Subject: Adding metadata --- dev-python/sabctools/Manifest | 2 - .../files/sabctools-8.2.6-py314testfix.patch | 46 ---------------------- dev-python/sabctools/metadata.xml | 16 -------- dev-python/sabctools/sabctools-8.2.6.ebuild | 42 -------------------- dev-python/sabctools/sabctools-9.4.0.ebuild | 40 ------------------- 5 files changed, 146 deletions(-) delete mode 100644 dev-python/sabctools/Manifest delete mode 100644 dev-python/sabctools/files/sabctools-8.2.6-py314testfix.patch delete mode 100644 dev-python/sabctools/metadata.xml delete mode 100644 dev-python/sabctools/sabctools-8.2.6.ebuild delete mode 100644 dev-python/sabctools/sabctools-9.4.0.ebuild (limited to 'dev-python/sabctools') diff --git a/dev-python/sabctools/Manifest b/dev-python/sabctools/Manifest deleted file mode 100644 index efbc44ef11a0..000000000000 --- a/dev-python/sabctools/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST sabctools-8.2.6.gh.tar.gz 8974199 BLAKE2B cefafb57802e7d9b32b99de16b7df2745276c4602c7aa2f9f750bf2c741224b3a9180c2a9dd6d0e807c5297e2a70dbfb3784e546618536e7fa8d6273bc5d3684 SHA512 230a3c78a11d459703bb79d765ac5bf3e21ae239731ada73103e641af64c0cccd6f8e82d4a8a6016585c9935c93f9535cb5a0ead951f4f536a038fc2ebf056db -DIST sabctools-9.4.0.gh.tar.gz 9732762 BLAKE2B 1c54ffd605ed5f3839d697a6c8a372f2800e758b6d3f12e462b97ad2c19fd7643a9923cf8f4cc4766dc18f9993366fb2b0fd4ec2c9c423190dd73622276ccc7e SHA512 fc22a3f6bc195b4a4ec2c2ab24cab71dd5b3935f4825de7b35c4ae1cf3ac0a7236a9230f9a412ac18dddbf49f38afe6b81c47570a7a99292010d954a4b298ac3 diff --git a/dev-python/sabctools/files/sabctools-8.2.6-py314testfix.patch b/dev-python/sabctools/files/sabctools-8.2.6-py314testfix.patch deleted file mode 100644 index 50b26be43caf..000000000000 --- a/dev-python/sabctools/files/sabctools-8.2.6-py314testfix.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff --git a/tests/test_decoder.py b/tests/test_decoder.py -index 9503923..d45e607 100644 ---- a/tests/test_decoder.py -+++ b/tests/test_decoder.py -@@ -76,29 +76,32 @@ def test_empty(): - - def test_ref_counts(): - """Note that sys.getrefcount itself adds another reference!""" -+ # In Python 3.14+, getrefcount returns 1, in earlier versions it returns 2 -+ expected_refcount = 1 if sys.version_info >= (3, 14) else 2 -+ - # Test regular case - data_plain = read_plain_yenc_file("test_regular.yenc") - data_out, filename, filesize, begin, end, crc_correct = sabctools_yenc_wrapper(data_plain) - -- assert sys.getrefcount(data_plain) == 2 -- assert sys.getrefcount(data_out) == 2 -- assert sys.getrefcount(filename) == 2 -- assert sys.getrefcount(begin) == 2 -- assert sys.getrefcount(end) == 2 -- assert sys.getrefcount(crc_correct) == 2 -+ assert sys.getrefcount(data_plain) == expected_refcount -+ assert sys.getrefcount(data_out) == expected_refcount -+ assert sys.getrefcount(filename) == expected_refcount -+ assert sys.getrefcount(begin) == expected_refcount -+ assert sys.getrefcount(end) == expected_refcount -+ assert sys.getrefcount(crc_correct) == expected_refcount - - # Test simple error case - fake_inp = memoryview(bytearray(b"1234")) -- assert sys.getrefcount(fake_inp) == 2 -+ assert sys.getrefcount(fake_inp) == expected_refcount - with pytest.raises(ValueError): - sabctools.yenc_decode(fake_inp) -- assert sys.getrefcount(fake_inp) == 2 -+ assert sys.getrefcount(fake_inp) == expected_refcount - - # Test further processing - data_plain = read_plain_yenc_file("test_bad_crc_end.yenc") - with pytest.raises(ValueError): - sabctools_yenc_wrapper(data_plain) -- assert sys.getrefcount(data_plain) == 2 -+ assert sys.getrefcount(data_plain) == expected_refcount - - - def test_crc_pickles(): diff --git a/dev-python/sabctools/metadata.xml b/dev-python/sabctools/metadata.xml deleted file mode 100644 index 2a8ca089d8be..000000000000 --- a/dev-python/sabctools/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - kangie@gentoo.org - Matt Jolly - - - python@gentoo.org - Python - - - sabnzbd/sabctools - sabctools - - diff --git a/dev-python/sabctools/sabctools-8.2.6.ebuild b/dev-python/sabctools/sabctools-8.2.6.ebuild deleted file mode 100644 index a7343ae99896..000000000000 --- a/dev-python/sabctools/sabctools-8.2.6.ebuild +++ /dev/null @@ -1,42 +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_{13..14} ) - -inherit distutils-r1 - -MY_PN="sabctools" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Module providing raw yEnc encoding/decoding for SABnzbd" -HOMEPAGE=" - https://github.com/sabnzbd/sabctools/ - https://pypi.org/project/sabctools/ -" -SRC_URI=" - https://github.com/sabnzbd/${MY_PN}/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="amd64 ~x86" - -PATCHES=( "${FILESDIR}/${P}-py314testfix.patch" ) - -BDEPEND=" - test? ( - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/portend[${PYTHON_USEDEP}] - ) -" - -DOCS=( README.md doc/yenc-draft.1.3.txt ) - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest diff --git a/dev-python/sabctools/sabctools-9.4.0.ebuild b/dev-python/sabctools/sabctools-9.4.0.ebuild deleted file mode 100644 index 7ffd19e28e5d..000000000000 --- a/dev-python/sabctools/sabctools-9.4.0.ebuild +++ /dev/null @@ -1,40 +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_{13..14} ) - -inherit distutils-r1 - -MY_PN="sabctools" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Module providing raw yEnc encoding/decoding for SABnzbd" -HOMEPAGE=" - https://github.com/sabnzbd/sabctools/ - https://pypi.org/project/sabctools/ -" -SRC_URI=" - https://github.com/sabnzbd/${MY_PN}/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" - -BDEPEND=" - test? ( - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/portend[${PYTHON_USEDEP}] - ) -" - -DOCS=( README.md doc/yenc-draft.1.3.txt ) - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest -- cgit v1.3