commit: 63d4b67256ccf7219717d1045013b5c0f517b53c Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Thu Mar 28 06:16:24 2024 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Thu Mar 28 06:16:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=63d4b672
dev-python/stone: drop 3.3.1 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> dev-python/stone/Manifest | 1 - .../stone/files/stone-3.3.1-python3_11.patch | 15 --------- dev-python/stone/stone-3.3.1.ebuild | 37 ---------------------- 3 files changed, 53 deletions(-) diff --git a/dev-python/stone/Manifest b/dev-python/stone/Manifest index 6d258c1a51..66e7ad1393 100644 --- a/dev-python/stone/Manifest +++ b/dev-python/stone/Manifest @@ -1,2 +1 @@ -DIST stone-3.3.1.gh.tar.gz 282831 BLAKE2B b9a866e43feedea28cd33b89f78100be520a2756fa78888e9a786ae27942a5c19df51010c0af952de70c782d3fc3588de1ae0f58450d807053989bb91d285f15 SHA512 ee07f01b6f10e771afbe6ca6f07d7efa24a5460e5c163f339ae84a8b7742a659f5cb535e674a2f315d1bfa95b7c02e56f46db1f397188b5b6705f6c00c1e9d73 DIST stone-3.3.2.gh.tar.gz 280813 BLAKE2B f7e9d5c6a35074a88d4650105af336c43e85f9c1bda0cde010985f5b538dc8cb9371e1ab2ee8c12d520d42d192bf1a4134d6227c5f5ba85effa30b2cc5bc2a7e SHA512 7bccaf8b2a70edfebf7458447a4ad9121b9cca10dc8b7d151c6763ac7ead9c6c531cbb3c1b56b77ca6eea205dcc0f6e8fa20f0776897a8c40652ef7b9c8830c8 diff --git a/dev-python/stone/files/stone-3.3.1-python3_11.patch b/dev-python/stone/files/stone-3.3.1-python3_11.patch deleted file mode 100644 index f2826fdc52..0000000000 --- a/dev-python/stone/files/stone-3.3.1-python3_11.patch +++ /dev/null @@ -1,15 +0,0 @@ -Replace method deprecated in 3.10 and removed in 3.11. Upstream is slow to release a fix. - -See also: https://github.com/dropbox/stone/issues/288 - ---- a/stone/frontend/ir_generator.py -+++ b/stone/frontend/ir_generator.py -@@ -1074,7 +1074,7 @@ - assert issubclass(data_type_class, DataType), \ - 'Expected stone.data_type.DataType, got %r' % data_type_class - -- argspec = inspect.getargspec(data_type_class.__init__) # noqa: E501 # pylint: disable=deprecated-method,useless-suppression -+ argspec = inspect.getfullargspec(data_type_class.__init__) - argspec.args.remove('self') - num_args = len(argspec.args) - # Unfortunately, argspec.defaults is None if there are no defaults diff --git a/dev-python/stone/stone-3.3.1.ebuild b/dev-python/stone/stone-3.3.1.ebuild deleted file mode 100644 index 99d5fdf1eb..0000000000 --- a/dev-python/stone/stone-3.3.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# 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_{10..11} ) - -inherit distutils-r1 - -DESCRIPTION="The Official Api Spec Language for Dropbox" -HOMEPAGE=" - https://www.dropbox.com/developers - https://github.com/dropbox/stone - https://pypi.org/project/stone/ -" -SRC_URI="https://github.com/dropbox/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/ply-3.4[${PYTHON_USEDEP}] - >=dev-python/six-1.3.0[${PYTHON_USEDEP}] -" - -PATCHES=( "${FILESDIR}"/${P}-python3_11.patch ) - -distutils_enable_tests pytest - -python_prepare_all() { - # Don't run tests via setup.py pytest - sed -i -e "/'pytest-runner .*',/d" setup.py || die - - distutils-r1_python_prepare_all -}