commit:     7834b813a0eb77937871aa5312e713f16aebd9ca
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 30 18:32:46 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 30 18:34:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7834b813

dev-python/thriftpy2: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/thriftpy2/Manifest                      |  1 -
 .../thriftpy2/files/thriftpy2-0.4.16-cython3.patch | 25 -----------
 dev-python/thriftpy2/thriftpy2-0.4.16-r1.ebuild    | 52 ----------------------
 dev-python/thriftpy2/thriftpy2-0.4.16.ebuild       | 49 --------------------
 4 files changed, 127 deletions(-)

diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
index 164100a42801..b4b3df6c79f8 100644
--- a/dev-python/thriftpy2/Manifest
+++ b/dev-python/thriftpy2/Manifest
@@ -1,2 +1 @@
-DIST thriftpy2-0.4.16.gh.tar.gz 146991 BLAKE2B 
7547ea85106d0929d3e6ee771ff10ad2cd047f4e779c668e4a30ee936ac04d470e16d8321a2771db4404f57e1be41438b4a302bc04b8e4698db03de35dbfa5e9
 SHA512 
c00b21eb7db3fe91843a5129d16e7af2a29331489e7d8394bcf78eb5c4b8054162b9c5a024eec8080708dbffc491db7922258ecd895477cda49dcc7d56297ecf
 DIST thriftpy2-0.4.17.tar.gz 519386 BLAKE2B 
29c383cb886debb7167fbcef3526d0c027dc60db5ae20c554ea19067bb9a3ab40bea50392bd903293c5d9de1e3bc210220d887bd71194f91345a7565f577ccd9
 SHA512 
7c58eb6d0c91c933e31654d28ce2f4ef04854551db3eb5b8022565932761c74d95f27d44fc847f93723e535fdb4997fdad66a9dba432aa44e27e069e73b7ff7e

diff --git a/dev-python/thriftpy2/files/thriftpy2-0.4.16-cython3.patch 
b/dev-python/thriftpy2/files/thriftpy2-0.4.16-cython3.patch
deleted file mode 100644
index 8e186d719d1e..000000000000
--- a/dev-python/thriftpy2/files/thriftpy2-0.4.16-cython3.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-https://bugs.gentoo.org/898722
-https://github.com/Thriftpy/thriftpy2/commit/202ed5ef7b91399b86f8b3b76108a14612b38dbc
-
-From 202ed5ef7b91399b86f8b3b76108a14612b38dbc Mon Sep 17 00:00:00 2001
-From: AN Long <[email protected]>
-Date: Mon, 7 Aug 2023 17:11:51 +0800
-Subject: [PATCH] fix: compatible with cython3
-
----
- thriftpy2/transport/cybase.pyx | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/thriftpy2/transport/cybase.pyx b/thriftpy2/transport/cybase.pyx
-index c05560f8..d0fc3696 100644
---- a/thriftpy2/transport/cybase.pyx
-+++ b/thriftpy2/transport/cybase.pyx
-@@ -87,7 +87,7 @@ cdef class TCyBuffer(object):
-         if min_size <= self.buf_size:
-             return 0
- 
--        cdef int multiples = min_size / self.buf_size
-+        cdef int multiples = min_size // self.buf_size
-         if min_size % self.buf_size != 0:
-             multiples += 1
- 

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.16-r1.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.16-r1.ebuild
deleted file mode 100644
index c7e8bd364392..000000000000
--- a/dev-python/thriftpy2/thriftpy2-0.4.16-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2021-2023 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_{10..11} )
-
-inherit distutils-r1
-
-DESCRIPTION="Pure python approach of Apache Thrift"
-HOMEPAGE="
-       https://github.com/Thriftpy/thriftpy2/
-       https://pypi.org/project/thriftpy2/
-"
-SRC_URI="
-       https://github.com/Thriftpy/thriftpy2/archive/v${PV}.tar.gz
-               -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-       dev-python/ply[${PYTHON_USEDEP}]
-       dev-python/six[${PYTHON_USEDEP}]
-"
-BDEPEND="
-       dev-python/cython[${PYTHON_USEDEP}]
-       test? (
-               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-               dev-python/tornado[${PYTHON_USEDEP}]
-       )
-"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-cython3.patch
-)
-
-distutils_enable_tests pytest
-
-python_test() {
-       local EPYTEST_DESELECT=(
-               
tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception
-               
tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_result
-       )
-
-       cd tests || die
-       epytest
-}

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild
deleted file mode 100644
index 8ebe334c6442..000000000000
--- a/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2021-2023 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_{10..11} )
-
-inherit distutils-r1
-
-DESCRIPTION="Pure python approach of Apache Thrift"
-HOMEPAGE="
-       https://github.com/Thriftpy/thriftpy2/
-       https://pypi.org/project/thriftpy2/
-"
-SRC_URI="
-       https://github.com/Thriftpy/thriftpy2/archive/v${PV}.tar.gz
-               -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-       dev-python/ply[${PYTHON_USEDEP}]
-       dev-python/six[${PYTHON_USEDEP}]
-"
-# <cython-3: https://bugs.gentoo.org/898722
-BDEPEND="
-       <dev-python/cython-3[${PYTHON_USEDEP}]
-       test? (
-               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-               dev-python/tornado[${PYTHON_USEDEP}]
-       )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-       local EPYTEST_DESELECT=(
-               
tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception
-               
tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_result
-       )
-
-       cd tests || die
-       epytest
-}

Reply via email to