summaryrefslogtreecommitdiff
path: root/dev-python/sabyenc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-07 10:35:35 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-07 10:35:35 +0100
commita0e773d57146b0a0ec25567af504a10e6f187811 (patch)
tree09e8f87aa02b56f14f16e82522b625cfeccb1103 /dev-python/sabyenc
parent1ccef27203b03f1fa900c9b44dc425df27e49452 (diff)
gentoo auto-resync : 07:09:2022 - 10:35:34
Diffstat (limited to 'dev-python/sabyenc')
-rw-r--r--dev-python/sabyenc/Manifest3
-rw-r--r--dev-python/sabyenc/files/sabyenc-4.0.2-fix-segfault.patch28
-rw-r--r--dev-python/sabyenc/sabyenc-4.0.2.ebuild28
3 files changed, 0 insertions, 59 deletions
diff --git a/dev-python/sabyenc/Manifest b/dev-python/sabyenc/Manifest
index 73989a8d0e75..de273369f555 100644
--- a/dev-python/sabyenc/Manifest
+++ b/dev-python/sabyenc/Manifest
@@ -1,6 +1,3 @@
-AUX sabyenc-4.0.2-fix-segfault.patch 1133 BLAKE2B af92dbd8413437562dbdc96bdceb2c2422002ec29dd67b206aa249d8c6135325779ee7de3a352caca57473f5224efe9b9847159bbc2def927e7769e4976f1dbb SHA512 97e5b4c99091fc8bc0dcb975afd72a70b5a26d46e4543f55caada492ee5da1909b8bcc344592d228c678b6f4ff4df36d4ddf8fe485d23e170be5ed358f943cc4
-DIST sabyenc-4.0.2.tar.gz 19579235 BLAKE2B 26af61a979f94b954a6fb7fa425ca07a8d757fb16c9d434e9a1e0019d84d156b527e9309cc65113fef64dd3f2afb92b46619dc9506327273f2ba7822337e9ccf SHA512 88e8b47b1438ca55b51dbf8a407c33ec335f0604abf8a3dcbc45853b6dadadf9932d97cf3f0adabd71a9405e2deaeff2777483d9ea692c9d3cbab99dfbfbc901
DIST sabyenc-5.4.2.gh.tar.gz 19774424 BLAKE2B fbb954435236eb1794611a8e5852534b0f7dbd79806e8a9ca1bb57274df7cc89a6a26aa92c89c596e0c2857d4bfbd4e4c34f1d529cb5d2464a669d6d15a3f392 SHA512 a07a57e6b3416e147fcef4f27e52fea4b3a522ebb722b4d223469b63e9d08f42689950d86c544a41bfe81bba934514a43094c13b98aa585167cae69a5aa1f405
-EBUILD sabyenc-4.0.2.ebuild 613 BLAKE2B 9c5a2baea3973fa4b1ae29868a74111f30fe0b658d119b14a0871f0e136f918a64ed843f3b40fe8e9f686a299e2bec1f9ff4486ae51585cec1ca5b9d8e3bd867 SHA512 7daaf7d398a057026a075f2b8ca5fed662541dc00d39094012d8a4719e63876f93e0ea66a4b640408fcab5f6fe85f4f0f60bae032f9db9254939d1a913712b16
EBUILD sabyenc-5.4.2.ebuild 592 BLAKE2B 62d1ebe8c8de417cd1c3834b01b8784f3ce3f0ab4342be8c069e37825dc60a5fc75dff44864dc96a1be81356634ef43c60dfe8569fdae697b6a77a2255b6348a SHA512 6054ec1eef5c6c835b8ef1aff8e633c1f0ffa457f4dc70c2d5df5e30439e632300e8bd13494cf86d17f949877549bd4c454a2cee7899ed12f2686eaf7336d3f9
MISC metadata.xml 238 BLAKE2B 69a87380f32f24cdbfda57721fd4dd89008a7dff64d60dce645f350f6020c1045143178f0e587345dbcf6730b0143dcf9c8c1484f143586548c39ab0d84340ac SHA512 42c9ac3c3d0fbeb78931eda833c52ac6d6f79d43bb6e25f0a88450f51f8f3e15cb3dd39d1ebbade988b5af3c01c63953af95db5818689ec87c0ed60f25a590e0
diff --git a/dev-python/sabyenc/files/sabyenc-4.0.2-fix-segfault.patch b/dev-python/sabyenc/files/sabyenc-4.0.2-fix-segfault.patch
deleted file mode 100644
index 1a80d5f13da8..000000000000
--- a/dev-python/sabyenc/files/sabyenc-4.0.2-fix-segfault.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: Arthur Zamarin <arthurzam@gmail.com>
-Date: Sat, 18 Sep 2021 21:07:45 +0300
-Subject: Fix Segfault during testing
-
-decode_usenet_chunks might receive it argument as bytesarray, or
-as bytes object, but the C code expects only bytesarray.
-Add code, to apply variant for each case, and fail using assert when
-both don't apply.
-
-Signed-off-by: Arthur Zamarin <arthurzam@gmail.com>
-
---- a/src/sabyenc3.c
-+++ b/src/sabyenc3.c
-@@ -593,7 +593,13 @@ PyObject* decode_usenet_chunks(PyObject* self, PyObject* args) {
- num_bytes_reserved = 0;
- lp_max = (int)PyList_Size(Py_input_list);
- for(lp = 0; lp < lp_max; lp++) {
-- num_bytes_reserved += (int)PyByteArray_GET_SIZE(PyList_GetItem(Py_input_list, lp));
-+ PyObject *temp = PyList_GetItem(Py_input_list, lp);
-+ if (PyByteArray_Check(temp))
-+ num_bytes_reserved += (int)PyByteArray_GET_SIZE(temp);
-+ else if (PyBytes_Check(temp))
-+ num_bytes_reserved += (int)PyBytes_GET_SIZE(temp);
-+ else
-+ assert(PyByteArray_Check(temp) || PyBytes_Check(temp));
- }
- }
-
diff --git a/dev-python/sabyenc/sabyenc-4.0.2.ebuild b/dev-python/sabyenc/sabyenc-4.0.2.ebuild
deleted file mode 100644
index d9536017b50b..000000000000
--- a/dev-python/sabyenc/sabyenc-4.0.2.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Module providing raw yEnc encoding/decoding for SABnzbd"
-HOMEPAGE="https://github.com/sabnzbd/sabyenc"
-SRC_URI="https://github.com/sabnzbd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-
-BDEPEND="test? (
- dev-python/chardet[${PYTHON_USEDEP}]
- )"
-
-DOCS=( CHANGES.md README.md doc/yenc-draft.1.3.txt )
-
-PATCHES=(
- "${FILESDIR}/${P}-fix-segfault.patch"
-)
-
-distutils_enable_tests pytest