[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2024-05-07 Thread Michał Górny
commit: f2df601c151a00a35dd3c51dc28ddb4531c1b8a4
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May  7 17:23:23 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May  7 17:45:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2df601c

dev-python/thriftpy2: Bump to 0.5.0

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

 dev-python/thriftpy2/Manifest   |  1 +
 dev-python/thriftpy2/thriftpy2-0.5.0.ebuild | 56 +
 2 files changed, 57 insertions(+)

diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
index f9be2c364dd2..6b2a6d9fa440 100644
--- a/dev-python/thriftpy2/Manifest
+++ b/dev-python/thriftpy2/Manifest
@@ -1 +1,2 @@
 DIST thriftpy2-0.4.20.tar.gz 689003 BLAKE2B 
b7ceb8345e984d6b3524fadff359bb125b0c94900afbfa4c3e64de7034bd816e3fd37fe721b7c35bee0c7fa7a6416ab859c2987cb66ed3fa4a66f6ca06eac952
 SHA512 
e06b22e1b63df3425eccdd3c83d1154413744ee387c3882d783a5168635087e6e38fd73d24c173e76854c4fe3f57631f4dd59fbb8e5b28cd380dd27d1d51caf3
+DIST thriftpy2-0.5.0.tar.gz 779019 BLAKE2B 
b29e5349e11e3ce3bd587a7c8212cd6def7b9b287554a068399591bb7493a5c1d0e97c9b38a64973c01d27a83d49e181aad64cb41ce9500e40b96c813caa7b2d
 SHA512 
f4c83bac053a2f073507e38f284f981bd129ee960dc9817f3bd5795c8e9773b78fa23d49d97cb5975783dbd1f4b52f380861bf4fc32a1af795365f703856f350

diff --git a/dev-python/thriftpy2/thriftpy2-0.5.0.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.5.0.ebuild
new file mode 100644
index ..bb893082bf0b
--- /dev/null
+++ b/dev-python/thriftpy2/thriftpy2-0.5.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2021-2024 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..12} )
+
+inherit distutils-r1 flag-o-matic pypi
+
+DESCRIPTION="Pure python approach of Apache Thrift"
+HOMEPAGE="
+   https://github.com/Thriftpy/thriftpy2/
+   https://pypi.org/project/thriftpy2/
+"
+
+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}]
+   )
+"
+
+distutils_enable_tests pytest
+
+src_compile() {
+   # -Werror=strict-aliasing
+   # https://bugs.gentoo.org/857105
+   # https://github.com/Thriftpy/thriftpy2/issues/246
+   #
+   # Don't trust this to LTO
+   append-flags -fno-strict-aliasing
+   filter-lto
+
+   distutils-r1_src_compile
+}
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2024-04-24 Thread Patrick McLean
commit: c6fcb6d21cac0ce353876fd570a666f044e9f59c
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Apr 24 15:26:18 2024 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Apr 24 15:26:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6fcb6d2

dev-python/thriftpy2: drop 0.4.17, 0.4.19

Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/thriftpy2/Manifest|  2 --
 dev-python/thriftpy2/thriftpy2-0.4.17.ebuild | 44 
 dev-python/thriftpy2/thriftpy2-0.4.19.ebuild | 44 
 3 files changed, 90 deletions(-)

diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
index 9aee88453931..f9be2c364dd2 100644
--- a/dev-python/thriftpy2/Manifest
+++ b/dev-python/thriftpy2/Manifest
@@ -1,3 +1 @@
-DIST thriftpy2-0.4.17.tar.gz 519386 BLAKE2B 
29c383cb886debb7167fbcef3526d0c027dc60db5ae20c554ea19067bb9a3ab40bea50392bd903293c5d9de1e3bc210220d887bd71194f91345a7565f577ccd9
 SHA512 
7c58eb6d0c91c933e31654d28ce2f4ef04854551db3eb5b8022565932761c74d95f27d44fc847f93723e535fdb4997fdad66a9dba432aa44e27e069e73b7ff7e
-DIST thriftpy2-0.4.19.tar.gz 689034 BLAKE2B 
556d47b65b0f9801627515ab7e3fc9907af50b43e8197142626e51b8110ffd740285c895e9ee98e6e0bd8074b9e2f4e9811ce309a68d006dc504f80b3ca38ae6
 SHA512 
a67160e742683ecd4e47007cd4a6a52f78ab3ae492aa4c170f725d25f1a78fb6a0054cab691752b20a43ff855df61207d302af65ae5966ee5c3f961ff1e42650
 DIST thriftpy2-0.4.20.tar.gz 689003 BLAKE2B 
b7ceb8345e984d6b3524fadff359bb125b0c94900afbfa4c3e64de7034bd816e3fd37fe721b7c35bee0c7fa7a6416ab859c2987cb66ed3fa4a66f6ca06eac952
 SHA512 
e06b22e1b63df3425eccdd3c83d1154413744ee387c3882d783a5168635087e6e38fd73d24c173e76854c4fe3f57631f4dd59fbb8e5b28cd380dd27d1d51caf3

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.17.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.17.ebuild
deleted file mode 100644
index f4882f38def2..
--- a/dev-python/thriftpy2/thriftpy2-0.4.17.ebuild
+++ /dev/null
@@ -1,44 +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 pypi
-
-DESCRIPTION="Pure python approach of Apache Thrift"
-HOMEPAGE="
-   https://github.com/Thriftpy/thriftpy2/
-   https://pypi.org/project/thriftpy2/
-"
-
-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}]
-   )
-"
-
-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.19.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.19.ebuild
deleted file mode 100644
index 7fb9eb1ee949..
--- a/dev-python/thriftpy2/thriftpy2-0.4.19.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 2021-2024 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 pypi
-
-DESCRIPTION="Pure python approach of Apache Thrift"
-HOMEPAGE="
-   https://github.com/Thriftpy/thriftpy2/
-   https://pypi.org/project/thriftpy2/
-"
-
-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}]
-   )
-"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2024-03-03 Thread Sam James
commit: ae86d7ab3871e5ebe8f54d4b751f84470b43c9f9
Author: Eli Schwartz  gmail  com>
AuthorDate: Sun Mar  3 22:00:38 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  3 23:18:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae86d7ab

dev-python/thriftpy2: mark as LTO-unsafe, strict-aliasing unsafe

Closes: https://bugs.gentoo.org/857105
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-python/thriftpy2/thriftpy2-0.4.20.ebuild | 14 +-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.20.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.20.ebuild
index 7fb9eb1ee949..732ec5cfd189 100644
--- a/dev-python/thriftpy2/thriftpy2-0.4.20.ebuild
+++ b/dev-python/thriftpy2/thriftpy2-0.4.20.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..11} )
 
-inherit distutils-r1 pypi
+inherit distutils-r1 flag-o-matic pypi
 
 DESCRIPTION="Pure python approach of Apache Thrift"
 HOMEPAGE="
@@ -33,6 +33,18 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
+src_compile() {
+   # -Werror=strict-aliasing
+   # https://bugs.gentoo.org/857105
+   # https://github.com/Thriftpy/thriftpy2/issues/246
+   #
+   # Don't trust this to LTO
+   append-flags -fno-strict-aliasing
+   filter-lto
+
+   distutils-r1_src_compile
+}
+
 python_test() {
local EPYTEST_DESELECT=(

tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2024-02-28 Thread Michał Górny
commit: 4bea48dbb9ffeb7a26e78aec4ac2444e217de55b
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 29 03:54:59 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 29 04:18:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bea48db

dev-python/thriftpy2: Bump to 0.4.20

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

 dev-python/thriftpy2/Manifest|  1 +
 dev-python/thriftpy2/thriftpy2-0.4.20.ebuild | 44 
 2 files changed, 45 insertions(+)

diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
index 750fd153e840..9aee88453931 100644
--- a/dev-python/thriftpy2/Manifest
+++ b/dev-python/thriftpy2/Manifest
@@ -1,2 +1,3 @@
 DIST thriftpy2-0.4.17.tar.gz 519386 BLAKE2B 
29c383cb886debb7167fbcef3526d0c027dc60db5ae20c554ea19067bb9a3ab40bea50392bd903293c5d9de1e3bc210220d887bd71194f91345a7565f577ccd9
 SHA512 
7c58eb6d0c91c933e31654d28ce2f4ef04854551db3eb5b8022565932761c74d95f27d44fc847f93723e535fdb4997fdad66a9dba432aa44e27e069e73b7ff7e
 DIST thriftpy2-0.4.19.tar.gz 689034 BLAKE2B 
556d47b65b0f9801627515ab7e3fc9907af50b43e8197142626e51b8110ffd740285c895e9ee98e6e0bd8074b9e2f4e9811ce309a68d006dc504f80b3ca38ae6
 SHA512 
a67160e742683ecd4e47007cd4a6a52f78ab3ae492aa4c170f725d25f1a78fb6a0054cab691752b20a43ff855df61207d302af65ae5966ee5c3f961ff1e42650
+DIST thriftpy2-0.4.20.tar.gz 689003 BLAKE2B 
b7ceb8345e984d6b3524fadff359bb125b0c94900afbfa4c3e64de7034bd816e3fd37fe721b7c35bee0c7fa7a6416ab859c2987cb66ed3fa4a66f6ca06eac952
 SHA512 
e06b22e1b63df3425eccdd3c83d1154413744ee387c3882d783a5168635087e6e38fd73d24c173e76854c4fe3f57631f4dd59fbb8e5b28cd380dd27d1d51caf3

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.20.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.20.ebuild
new file mode 100644
index ..7fb9eb1ee949
--- /dev/null
+++ b/dev-python/thriftpy2/thriftpy2-0.4.20.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2021-2024 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 pypi
+
+DESCRIPTION="Pure python approach of Apache Thrift"
+HOMEPAGE="
+   https://github.com/Thriftpy/thriftpy2/
+   https://pypi.org/project/thriftpy2/
+"
+
+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}]
+   )
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2024-02-27 Thread Michał Górny
commit: 96ed986e2360a2cd8083903cf78111323265bab0
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 28 03:48:11 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 28 04:02:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ed986e

dev-python/thriftpy2: Bump to 0.4.19

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

 dev-python/thriftpy2/Manifest|  1 +
 dev-python/thriftpy2/thriftpy2-0.4.19.ebuild | 44 
 2 files changed, 45 insertions(+)

diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
index b4b3df6c79f8..750fd153e840 100644
--- a/dev-python/thriftpy2/Manifest
+++ b/dev-python/thriftpy2/Manifest
@@ -1 +1,2 @@
 DIST thriftpy2-0.4.17.tar.gz 519386 BLAKE2B 
29c383cb886debb7167fbcef3526d0c027dc60db5ae20c554ea19067bb9a3ab40bea50392bd903293c5d9de1e3bc210220d887bd71194f91345a7565f577ccd9
 SHA512 
7c58eb6d0c91c933e31654d28ce2f4ef04854551db3eb5b8022565932761c74d95f27d44fc847f93723e535fdb4997fdad66a9dba432aa44e27e069e73b7ff7e
+DIST thriftpy2-0.4.19.tar.gz 689034 BLAKE2B 
556d47b65b0f9801627515ab7e3fc9907af50b43e8197142626e51b8110ffd740285c895e9ee98e6e0bd8074b9e2f4e9811ce309a68d006dc504f80b3ca38ae6
 SHA512 
a67160e742683ecd4e47007cd4a6a52f78ab3ae492aa4c170f725d25f1a78fb6a0054cab691752b20a43ff855df61207d302af65ae5966ee5c3f961ff1e42650

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.19.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.19.ebuild
new file mode 100644
index ..7fb9eb1ee949
--- /dev/null
+++ b/dev-python/thriftpy2/thriftpy2-0.4.19.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2021-2024 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 pypi
+
+DESCRIPTION="Pure python approach of Apache Thrift"
+HOMEPAGE="
+   https://github.com/Thriftpy/thriftpy2/
+   https://pypi.org/project/thriftpy2/
+"
+
+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}]
+   )
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/, dev-python/thriftpy2/files/

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

dev-python/thriftpy2: Remove old

Signed-off-by: Michał Górny  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..
--- 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 
-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..
--- 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..
--- 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="
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2023-09-28 Thread Michał Górny
commit: 471f8acef1ed410be2d2d7c4fd5da1e8a07aaa1f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Sep 28 16:55:17 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Sep 28 16:55:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=471f8ace

dev-python/thriftpy2: Bump to 0.4.17

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

 dev-python/thriftpy2/Manifest|  1 +
 dev-python/thriftpy2/thriftpy2-0.4.17.ebuild | 44 
 2 files changed, 45 insertions(+)

diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
index 7de6acd094f8..164100a42801 100644
--- a/dev-python/thriftpy2/Manifest
+++ b/dev-python/thriftpy2/Manifest
@@ -1 +1,2 @@
 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/thriftpy2-0.4.17.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.17.ebuild
new file mode 100644
index ..f4882f38def2
--- /dev/null
+++ b/dev-python/thriftpy2/thriftpy2-0.4.17.ebuild
@@ -0,0 +1,44 @@
+# 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 pypi
+
+DESCRIPTION="Pure python approach of Apache Thrift"
+HOMEPAGE="
+   https://github.com/Thriftpy/thriftpy2/
+   https://pypi.org/project/thriftpy2/
+"
+
+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}]
+   )
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/files/, dev-python/thriftpy2/

2023-08-28 Thread Sam James
commit: fe04f24d7f2d11746412977289a2d47c9ac280d1
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 29 05:48:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 29 05:54:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe04f24d

dev-python/thriftpy2: fix cython-3 compat

Closes: https://bugs.gentoo.org/898722
Signed-off-by: Sam James  gentoo.org>

 .../thriftpy2/files/thriftpy2-0.4.16-cython3.patch | 25 +++
 dev-python/thriftpy2/thriftpy2-0.4.16-r1.ebuild| 52 ++
 2 files changed, 77 insertions(+)

diff --git a/dev-python/thriftpy2/files/thriftpy2-0.4.16-cython3.patch 
b/dev-python/thriftpy2/files/thriftpy2-0.4.16-cython3.patch
new file mode 100644
index ..8e186d719d1e
--- /dev/null
+++ b/dev-python/thriftpy2/files/thriftpy2-0.4.16-cython3.patch
@@ -0,0 +1,25 @@
+https://bugs.gentoo.org/898722
+https://github.com/Thriftpy/thriftpy2/commit/202ed5ef7b91399b86f8b3b76108a14612b38dbc
+
+From 202ed5ef7b91399b86f8b3b76108a14612b38dbc Mon Sep 17 00:00:00 2001
+From: AN Long 
+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
new file mode 100644
index ..c7e8bd364392
--- /dev/null
+++ b/dev-python/thriftpy2/thriftpy2-0.4.16-r1.ebuild
@@ -0,0 +1,52 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2023-08-06 Thread Michał Górny
commit: fe7949ce337a74c90e90508f0df729a97ac94c42
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug  6 12:24:51 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug  6 12:30:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe7949ce

dev-python/thriftpy2: Require https://bugs.gentoo.org/898722
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/thriftpy2/thriftpy2-0.4.16.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild
index 8e796b0dc9cb..8ebe334c6442 100644
--- a/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild
+++ b/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit distutils-r1
 
@@ -27,8 +27,9 @@ RDEPEND="
dev-python/ply[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
 "
+# https://bugs.gentoo.org/898722
 BDEPEND="
-   dev-python/cython[${PYTHON_USEDEP}]
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2023-05-04 Thread Michał Górny
commit: b8eee4ba0cd7d297d498bf15624a22c161b0bc6e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May  4 16:54:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May  4 16:56:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8eee4ba

dev-python/thriftpy2: Set DISTUTILS_EXT=1

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

 dev-python/thriftpy2/thriftpy2-0.4.16.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild
index 13eb04b44750..8e796b0dc9cb 100644
--- a/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild
+++ b/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2023-01-27 Thread Michał Górny
commit: a29cf980dfc8b9045c1a2629cbc4cc5f41aa4a1f
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan 27 20:06:18 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan 27 20:09:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a29cf980

dev-python/thriftpy2: Remove old

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

 dev-python/thriftpy2/Manifest|  1 -
 dev-python/thriftpy2/thriftpy2-0.4.15.ebuild | 59 
 2 files changed, 60 deletions(-)

diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
index 4b11b2c1160f..7de6acd094f8 100644
--- a/dev-python/thriftpy2/Manifest
+++ b/dev-python/thriftpy2/Manifest
@@ -1,2 +1 @@
-DIST thriftpy2-0.4.15.gh.tar.gz 136581 BLAKE2B 
68287057e76ec6f2b91d9fca9a63e1814e2e17f4fb074b5f227b177137452f88921adf4912c66fee206b29d9f32cd0eb43cbbbe275574c21babc12b1f949672e
 SHA512 
c5a17e42ac8a4051714938a4db926a25f41c84e4935fcf18c62ef8b115d9a1df3853800ca6c9fa01cafd6cbdfe31b6b4eabc7a81169a4773e0bda2241c4a26fb
 DIST thriftpy2-0.4.16.gh.tar.gz 146991 BLAKE2B 
7547ea85106d0929d3e6ee771ff10ad2cd047f4e779c668e4a30ee936ac04d470e16d8321a2771db4404f57e1be41438b4a302bc04b8e4698db03de35dbfa5e9
 SHA512 
c00b21eb7db3fe91843a5129d16e7af2a29331489e7d8394bcf78eb5c4b8054162b9c5a024eec8080708dbffc491db7922258ecd895477cda49dcc7d56297ecf

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.15.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.15.ebuild
deleted file mode 100644
index a1563308e4b7..
--- a/dev-python/thriftpy2/thriftpy2-0.4.15.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 2021-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..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}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # broken by modern OpenSSL defaults
-   tests/test_rpc.py::test_clients
-   tests/test_rpc.py::test_void_api_with_ssl
-   tests/test_rpc.py::test_string_api_with_ssl
-   tests/test_rpc.py::test_huge_res_with_ssl
-   tests/test_rpc.py::test_tstruct_req_with_ssl
-   tests/test_rpc.py::test_tstruct_res_with_ssl
-   tests/test_rpc.py::test_complex_tstruct_with_ssl
-   tests/test_rpc.py::test_exception_iwth_ssl
-   tests/test_sslsocket.py
-
-   # TODO
-   
tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception
-   
tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_result
-   )
-
-   cd tests || die
-   epytest
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2022-11-16 Thread Michał Górny
commit: 6d10f420ec7e2c2bfe0779aea1417a54ed27b32a
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov 17 05:53:15 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov 17 06:02:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d10f420

dev-python/thriftpy2: Bump to 0.4.16

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

 dev-python/thriftpy2/Manifest|  1 +
 dev-python/thriftpy2/thriftpy2-0.4.16.ebuild | 47 
 2 files changed, 48 insertions(+)

diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
index dc299c54ec7e..4b11b2c1160f 100644
--- a/dev-python/thriftpy2/Manifest
+++ b/dev-python/thriftpy2/Manifest
@@ -1 +1,2 @@
 DIST thriftpy2-0.4.15.gh.tar.gz 136581 BLAKE2B 
68287057e76ec6f2b91d9fca9a63e1814e2e17f4fb074b5f227b177137452f88921adf4912c66fee206b29d9f32cd0eb43cbbbe275574c21babc12b1f949672e
 SHA512 
c5a17e42ac8a4051714938a4db926a25f41c84e4935fcf18c62ef8b115d9a1df3853800ca6c9fa01cafd6cbdfe31b6b4eabc7a81169a4773e0bda2241c4a26fb
+DIST thriftpy2-0.4.16.gh.tar.gz 146991 BLAKE2B 
7547ea85106d0929d3e6ee771ff10ad2cd047f4e779c668e4a30ee936ac04d470e16d8321a2771db4404f57e1be41438b4a302bc04b8e4698db03de35dbfa5e9
 SHA512 
c00b21eb7db3fe91843a5129d16e7af2a29331489e7d8394bcf78eb5c4b8054162b9c5a024eec8080708dbffc491db7922258ecd895477cda49dcc7d56297ecf

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild
new file mode 100644
index ..856239dd1ed6
--- /dev/null
+++ b/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..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}]
+   )
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2022-11-13 Thread Michał Górny
commit: d1369709ea24652951158e47753be2f610b4fa31
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Nov 14 05:06:31 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Nov 14 05:06:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1369709

dev-python/thriftpy2: Remove old

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

 dev-python/thriftpy2/Manifest   |  1 -
 dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild | 40 -
 2 files changed, 41 deletions(-)

diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
index 91b4f9da386a..dc299c54ec7e 100644
--- a/dev-python/thriftpy2/Manifest
+++ b/dev-python/thriftpy2/Manifest
@@ -1,2 +1 @@
-DIST thriftpy2-0.4.14.gh.tar.gz 127552 BLAKE2B 
4061642fb14b60ba53e0c4e6342ead25f781ee923b718a6c557235fcbfe4219b4d8944894afe9783062e7950b689b909af6be5cefe3b634a476ec582adfefbed
 SHA512 
0b248c4999b0a97287d8db3e5b79ac687bc7e25a5478ef125b479e0baf9be9d0aa5f9eaadf0612c228133295743ba913bfe69e7fe59a8d5f854a682da9d31c50
 DIST thriftpy2-0.4.15.gh.tar.gz 136581 BLAKE2B 
68287057e76ec6f2b91d9fca9a63e1814e2e17f4fb074b5f227b177137452f88921adf4912c66fee206b29d9f32cd0eb43cbbbe275574c21babc12b1f949672e
 SHA512 
c5a17e42ac8a4051714938a4db926a25f41c84e4935fcf18c62ef8b115d9a1df3853800ca6c9fa01cafd6cbdfe31b6b4eabc7a81169a4773e0bda2241c4a26fb

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild
deleted file mode 100644
index 635c852ae836..
--- a/dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="Pure python approach of Apache Thrift"
-HOMEPAGE="https://github.com/Thriftpy/thriftpy2;
-SRC_URI="https://github.com/Thriftpy/thriftpy2/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.gh.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-BDEPEND="
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/ply[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   test? (
-   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-   dev-python/tornado[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests --install pytest
-
-python_prepare_all() {
-   # tests that need network access
-   rm tests/test_{tornado,rpc,sslsocket}.py || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   distutils_install_for_testing --via-root
-   pushd tests >/dev/null || die
-   epytest
-   popd >/dev/null || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2022-11-08 Thread Michał Górny
commit: f62dca61400b713d48476f8b7a9c65ef01663085
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov  9 06:20:34 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov  9 06:55:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f62dca61

dev-python/thriftpy2: Bump to 0.4.15

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

 dev-python/thriftpy2/Manifest|  1 +
 dev-python/thriftpy2/thriftpy2-0.4.15.ebuild | 59 
 2 files changed, 60 insertions(+)

diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
index 907734570ece..91b4f9da386a 100644
--- a/dev-python/thriftpy2/Manifest
+++ b/dev-python/thriftpy2/Manifest
@@ -1 +1,2 @@
 DIST thriftpy2-0.4.14.gh.tar.gz 127552 BLAKE2B 
4061642fb14b60ba53e0c4e6342ead25f781ee923b718a6c557235fcbfe4219b4d8944894afe9783062e7950b689b909af6be5cefe3b634a476ec582adfefbed
 SHA512 
0b248c4999b0a97287d8db3e5b79ac687bc7e25a5478ef125b479e0baf9be9d0aa5f9eaadf0612c228133295743ba913bfe69e7fe59a8d5f854a682da9d31c50
+DIST thriftpy2-0.4.15.gh.tar.gz 136581 BLAKE2B 
68287057e76ec6f2b91d9fca9a63e1814e2e17f4fb074b5f227b177137452f88921adf4912c66fee206b29d9f32cd0eb43cbbbe275574c21babc12b1f949672e
 SHA512 
c5a17e42ac8a4051714938a4db926a25f41c84e4935fcf18c62ef8b115d9a1df3853800ca6c9fa01cafd6cbdfe31b6b4eabc7a81169a4773e0bda2241c4a26fb

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.15.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.15.ebuild
new file mode 100644
index ..f9d60e1c27f2
--- /dev/null
+++ b/dev-python/thriftpy2/thriftpy2-0.4.15.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..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}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # broken by modern OpenSSL defaults
+   tests/test_rpc.py::test_clients
+   tests/test_rpc.py::test_void_api_with_ssl
+   tests/test_rpc.py::test_string_api_with_ssl
+   tests/test_rpc.py::test_huge_res_with_ssl
+   tests/test_rpc.py::test_tstruct_req_with_ssl
+   tests/test_rpc.py::test_tstruct_res_with_ssl
+   tests/test_rpc.py::test_complex_tstruct_with_ssl
+   tests/test_rpc.py::test_exception_iwth_ssl
+   tests/test_sslsocket.py
+
+   # TODO
+   
tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception
+   
tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_result
+   )
+
+   cd tests || die
+   epytest
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2022-06-16 Thread Patrick McLean
commit: 651d0fd3069f55efb3e58889ce0329809c23c4cc
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Jun 16 16:43:08 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Jun 16 16:43:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=651d0fd3

dev-python/thriftpy2: Revbump, EAPI=8, py310

Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/thriftpy2/Manifest |  2 +-
 .../{thriftpy2-0.4.14.ebuild => thriftpy2-0.4.14-r1.ebuild}   | 11 ++-
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
index e844d9323692..907734570ece 100644
--- a/dev-python/thriftpy2/Manifest
+++ b/dev-python/thriftpy2/Manifest
@@ -1 +1 @@
-DIST thriftpy2-0.4.14.tar.gz 127552 BLAKE2B 
4061642fb14b60ba53e0c4e6342ead25f781ee923b718a6c557235fcbfe4219b4d8944894afe9783062e7950b689b909af6be5cefe3b634a476ec582adfefbed
 SHA512 
0b248c4999b0a97287d8db3e5b79ac687bc7e25a5478ef125b479e0baf9be9d0aa5f9eaadf0612c228133295743ba913bfe69e7fe59a8d5f854a682da9d31c50
+DIST thriftpy2-0.4.14.gh.tar.gz 127552 BLAKE2B 
4061642fb14b60ba53e0c4e6342ead25f781ee923b718a6c557235fcbfe4219b4d8944894afe9783062e7950b689b909af6be5cefe3b634a476ec582adfefbed
 SHA512 
0b248c4999b0a97287d8db3e5b79ac687bc7e25a5478ef125b479e0baf9be9d0aa5f9eaadf0612c228133295743ba913bfe69e7fe59a8d5f854a682da9d31c50

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.14.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild
similarity index 79%
rename from dev-python/thriftpy2/thriftpy2-0.4.14.ebuild
rename to dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild
index 16727441076a..d71392dd16a7 100644
--- a/dev-python/thriftpy2/thriftpy2-0.4.14.ebuild
+++ b/dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild
@@ -1,14 +1,14 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="Pure python approach of Apache Thrift"
 HOMEPAGE="https://github.com/Thriftpy/thriftpy2;
-SRC_URI="https://github.com/Thriftpy/thriftpy2/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+SRC_URI="https://github.com/Thriftpy/thriftpy2/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.gh.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
@@ -27,7 +27,8 @@ BDEPEND="
 distutils_enable_tests --install pytest
 
 python_prepare_all() {
-   rm tests/test_tornado.py || die
+   # tests that need network access
+   rm tests/test_{tornado,rpc,sslsocket}.py || die
distutils-r1_python_prepare_all
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2021-08-14 Thread Michał Górny
commit: f83ffe632ba86a1cd46a952773792c2814951abb
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 14 20:46:32 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 14 20:46:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f83ffe63

dev-python/thriftpy2: Add remote-id

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

 dev-python/thriftpy2/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/thriftpy2/metadata.xml 
b/dev-python/thriftpy2/metadata.xml
index cee379b1540..359a385ec6d 100644
--- a/dev-python/thriftpy2/metadata.xml
+++ b/dev-python/thriftpy2/metadata.xml
@@ -5,4 +5,8 @@
chutz...@gentoo.org
Patrick McLean

+   
+   Thriftpy/thriftpy2
+   thriftpy2
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy2/

2021-07-01 Thread Patrick McLean
commit: 763d651c2acd52b435de26941babb96776a362fe
Author: Patrick McLean  sony  com>
AuthorDate: Thu Jul  1 18:31:34 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Jul  1 18:42:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=763d651c

dev-python/thriftpy2: New package

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/thriftpy2/Manifest|  1 +
 dev-python/thriftpy2/metadata.xml|  8 ++
 dev-python/thriftpy2/thriftpy2-0.4.14.ebuild | 39 
 3 files changed, 48 insertions(+)

diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
new file mode 100644
index 000..e844d932369
--- /dev/null
+++ b/dev-python/thriftpy2/Manifest
@@ -0,0 +1 @@
+DIST thriftpy2-0.4.14.tar.gz 127552 BLAKE2B 
4061642fb14b60ba53e0c4e6342ead25f781ee923b718a6c557235fcbfe4219b4d8944894afe9783062e7950b689b909af6be5cefe3b634a476ec582adfefbed
 SHA512 
0b248c4999b0a97287d8db3e5b79ac687bc7e25a5478ef125b479e0baf9be9d0aa5f9eaadf0612c228133295743ba913bfe69e7fe59a8d5f854a682da9d31c50

diff --git a/dev-python/thriftpy2/metadata.xml 
b/dev-python/thriftpy2/metadata.xml
new file mode 100644
index 000..cee379b1540
--- /dev/null
+++ b/dev-python/thriftpy2/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   chutz...@gentoo.org
+   Patrick McLean
+   
+

diff --git a/dev-python/thriftpy2/thriftpy2-0.4.14.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.4.14.ebuild
new file mode 100644
index 000..16727441076
--- /dev/null
+++ b/dev-python/thriftpy2/thriftpy2-0.4.14.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+inherit distutils-r1
+
+DESCRIPTION="Pure python approach of Apache Thrift"
+HOMEPAGE="https://github.com/Thriftpy/thriftpy2;
+SRC_URI="https://github.com/Thriftpy/thriftpy2/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/ply[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   www-servers/tornado[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests --install pytest
+
+python_prepare_all() {
+   rm tests/test_tornado.py || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   distutils_install_for_testing --via-root
+   pushd tests >/dev/null || die
+   epytest
+   popd >/dev/null || die
+}