commit: e1dc6eae9f22a8cabedb02c84f9821acd19c5c87 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Sat Apr 5 08:47:19 2025 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Sat Apr 5 08:47:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1dc6eae
dev-python/pg8000: treeclean Closes: https://bugs.gentoo.org/928257 (pkgremoved) Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> dev-python/pg8000/Manifest | 1 - dev-python/pg8000/metadata.xml | 10 ---- dev-python/pg8000/pg8000-1.29.4.ebuild | 89 ---------------------------------- 3 files changed, 100 deletions(-) diff --git a/dev-python/pg8000/Manifest b/dev-python/pg8000/Manifest deleted file mode 100644 index d65c1a921..000000000 --- a/dev-python/pg8000/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pg8000-1.29.4.tar.gz 126629 BLAKE2B 7d71e64c3ac37d9271b3dad20e80ed208c3f062149f7877a964c3ad72b1b245d0210b2e53ee0747f6318de7a81bfa4d03f16312263557b62e751fe89595eab23 SHA512 b96c5a4c42354f74bde3ee3af1688164cd74280c432c458d2d71563329162b7551e48f08c31ca8b1d3c1ff068aeccfd0b385265d2f64da34f1d2c59daca0c5dc diff --git a/dev-python/pg8000/metadata.xml b/dev-python/pg8000/metadata.xml deleted file mode 100644 index 70e9a6031..000000000 --- a/dev-python/pg8000/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <bugs-to>https://github.com/tlocke/pg8000/issues</bugs-to> - <remote-id type="pypi">pg8000</remote-id> - <remote-id type="github">tlocke/pg8000</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/pg8000/pg8000-1.29.4.ebuild b/dev-python/pg8000/pg8000-1.29.4.ebuild deleted file mode 100644 index a43692594..000000000 --- a/dev-python/pg8000/pg8000-1.29.4.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_11 ) -DISTUTILS_USE_PEP517=setuptools -declare -A DATABASES_REQ_USE=( [postgres]="xml" ) - -inherit databases distutils-r1 edo pypi - -DESCRIPTION="PostgreSQL interface library" -HOMEPAGE=" - https://github.com/tlocke/pg8000 - https://pypi.org/project/pg8000/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/scramp-1.4.3[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/versioningit[${PYTHON_USEDEP}] - test? ( - ${DATABASES_DEPEND[postgres]} - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -SSL_TESTS=( - test/dbapi/auth/test_md5_ssl.py - test/dbapi/auth/test_scram-sha-256_ssl.p - test/legacy/auth/test_md5_ssl.py - test/legacy/auth/test_scram-sha-256_ssl.py - test/native/auth/test_md5_ssl.py - test/native/auth/test_scram-sha-256_ssl.py -) - -EPYTEST_DESELECT=( - # TODO: ssl tests (need certificates and stuff) - "${SSL_TESTS[@]}" - - # "could not determine data type of parameter $1" and other errors - test/test_readme.py - - # "database doesn't exist" errors - test/dbapi/auth/test_gss.py - test/legacy/auth/test_gss.py - test/native/auth/test_gss.py - - # too flaky - test/native/test_typeconversion.py::test_roundtrip_oid -) - -EPYTEST_IGNORE=( - # need pytest-benchmark - test/dbapi/test_benchmarks.py - test/legacy/test_benchmarks.py - test/native/test_benchmarks.py -) - -distutils_enable_tests pytest - -python_test_ssl() { - epytest "${SSL_TESTS[@]}" -} - -src_test() { - epsql() { - edo psql -q -h "${sockdir}" -U postgres "${@}" - } - - local -x PGPORT="65432" - local -x PGPASSWORD="cpsnow" - local sockdir=$(epostgres --get-sockdir) - - epostgres --start ${PGPORT} - epsql -c "ALTER ROLE postgres WITH PASSWORD '${PGPASSWORD}';" - epsql -c "CREATE EXTENSION hstore;" - epsql -c "SELECT pg_reload_conf();" - - distutils-r1_src_test - epostgres --stop -}
