commit: 6da4a5770f1c1b21729f04a97105110c0653ba65 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Wed Jul 20 09:37:17 2022 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Wed Jul 20 09:37:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6da4a577
dev-python/thriftrw: treeclean Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> dev-python/thriftrw/Manifest | 1 - .../files/thriftrw-1.8.1-no-install-examples.patch | 11 ----- .../files/thriftrw-1.8.1-tool-pytest.patch | 11 ----- dev-python/thriftrw/metadata.xml | 13 ------ dev-python/thriftrw/thriftrw-1.8.1.ebuild | 52 ---------------------- profiles/package.mask | 4 -- 6 files changed, 92 deletions(-) diff --git a/dev-python/thriftrw/Manifest b/dev-python/thriftrw/Manifest deleted file mode 100644 index 4de95eb60..000000000 --- a/dev-python/thriftrw/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST thriftrw-1.8.1.gh.tar.gz 91370 BLAKE2B 8e267b77f80ce1dec0bfd04a0a047cbe8279374f65f7a928ad65019ee11bb44afc991182c8f5525c34e3e6ce736deb1eb6a2e8428cf4e8853ad2d2e18649e8ed SHA512 ea40d4aa35d8f5f097557cb0b1c8800b2a935fc738c33266951163f4ade783b2a5d866a18433afe4e304f435b8de012f52c6d717e812b604e34c7a4ee61fd0fa diff --git a/dev-python/thriftrw/files/thriftrw-1.8.1-no-install-examples.patch b/dev-python/thriftrw/files/thriftrw-1.8.1-no-install-examples.patch deleted file mode 100644 index 0cc864107..000000000 --- a/dev-python/thriftrw/files/thriftrw-1.8.1-no-install-examples.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -148,7 +148,7 @@ - author='Abhinav Gupta', - author_email='[email protected]', - url='https://github.com/thriftrw/thriftrw-python', -- packages=find_packages(exclude=('tests', 'tests.*')), -+ packages=find_packages(exclude=('tests', 'tests.*', 'examples', 'examples*')), - license='MIT', - install_requires=['six', 'ply'], - tests_require=['pytest', 'mock'], diff --git a/dev-python/thriftrw/files/thriftrw-1.8.1-tool-pytest.patch b/dev-python/thriftrw/files/thriftrw-1.8.1-tool-pytest.patch deleted file mode 100644 index 5bb3774c6..000000000 --- a/dev-python/thriftrw/files/thriftrw-1.8.1-tool-pytest.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/setup.cfg -+++ b/setup.cfg -@@ -2,7 +2,7 @@ - create-wheel = yes - python-file-with-version = thriftrw/__init__.py - --[pytest] -+[tool:pytest] - addopts = --tb short --benchmark-autosave --benchmark-save-data - - [egg_info] diff --git a/dev-python/thriftrw/metadata.xml b/dev-python/thriftrw/metadata.xml deleted file mode 100644 index 94d4ab11f..000000000 --- a/dev-python/thriftrw/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>[email protected]</email> - <name>Alessandro Barbieri</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/thriftrw/thriftrw-python/issues</bugs-to> - <remote-id type="pypi">thriftrw</remote-id> - <remote-id type="github">thriftrw/thriftrw-python</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/thriftrw/thriftrw-1.8.1.ebuild b/dev-python/thriftrw/thriftrw-1.8.1.ebuild deleted file mode 100644 index 44d3abb39..000000000 --- a/dev-python/thriftrw/thriftrw-1.8.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit distutils-r1 - -MY_PN="${PN}-python" -DESCRIPTION="A Thrift encoding library for Python" -HOMEPAGE=" - https://github.com/thriftrw/thriftrw-python - https://pypi.org/project/thriftrw/ -" -SRC_URI="https://github.com/thriftrw/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" -S="${WORKDIR}/${MY_PN}-${PV}" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~amd64" - -# broken tests -RESTRICT="test" - -RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" -BDEPEND=" - >=dev-python/cython-0.17[${PYTHON_USEDEP}] - test? ( - >=dev-python/pytest-benchmark-3.0.1[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/${P}-no-install-examples.patch" - "${FILESDIR}/${P}-tool-pytest.patch" -) - -DOCS=( CHANGELOG.rst CONTRIBUTING.md README.rst TODO.rst ) - -distutils_enable_tests pytest - -distutils_enable_sphinx docs dev-python/alabaster - -python_prepare_all() { - rm tests/protocol/test_binary.py || die - distutils-r1_python_prepare_all -} - -python_compile() { - use test && esetup.py build_ext --force --inplace - distutils-r1_python_compile -} diff --git a/profiles/package.mask b/profiles/package.mask index 5ffe15584..123c30433 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -36,10 +36,6 @@ net-mail/remail # depends on non-existent dev-python/aiosmtpd dev-python/aiosmtplib -# Anna Vyalkova <[email protected]> (2022-06-04) -# Incompatible with recent pytest. No revdeps. Removal on 2022-07-05. -dev-python/thriftrw - # Christopher Byrne <[email protected]> (2022-04-15) # Depends on masked dev-libs/openssl-3.0.* app-crypt/tpm2-openssl
