commit: 65b5a11cc6c641fdfab5e6b7128a2fb84dce2d31 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Sat Apr 5 08:48:38 2025 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Sat Apr 5 08:48:44 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=65b5a11c
dev-python/pyodbc: treeclean Closes: https://bugs.gentoo.org/931931 (pkgremoved) Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> dev-python/pyodbc/Manifest | 1 - dev-python/pyodbc/metadata.xml | 10 ------ dev-python/pyodbc/pyodbc-5.1.0.ebuild | 64 ----------------------------------- profiles/package.mask | 5 --- 4 files changed, 80 deletions(-) diff --git a/dev-python/pyodbc/Manifest b/dev-python/pyodbc/Manifest deleted file mode 100644 index 2159c38d9..000000000 --- a/dev-python/pyodbc/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pyodbc-5.1.0.tar.gz 115450 BLAKE2B 8080db700abb952ae60045825f76e73a3d4a42f13c05e48eeb06574d5535f34345aa8bf2710730430229cb31b3d73c9fcb250d8d0fddabf94ecfcb24518bf931 SHA512 78817864d30048eed0c670a30e1cc66bc72edd6c21d069a5cc5831ed180b25a5b30d2bf2313628431943defbae66c2df96e90781ef17bb8929622b9f49cfcaab diff --git a/dev-python/pyodbc/metadata.xml b/dev-python/pyodbc/metadata.xml deleted file mode 100644 index ee51824da..000000000 --- a/dev-python/pyodbc/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/mkleehammer/pyodbc/issues</bugs-to> - <remote-id type="pypi">pyodbc</remote-id> - <remote-id type="github">mkleehammer/pyodbc</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/pyodbc/pyodbc-5.1.0.ebuild b/dev-python/pyodbc/pyodbc-5.1.0.ebuild deleted file mode 100644 index 59ab333e2..000000000 --- a/dev-python/pyodbc/pyodbc-5.1.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-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_{11..12} ) #py3.13 doesn't compile - -inherit databases distutils-r1 optfeature pypi - -DESCRIPTION="Python ODBC library" -HOMEPAGE=" - https://pypi.org/project/pyodbc/ - https://github.com/mkleehammer/pyodbc -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="mssql" - -RDEPEND=">=dev-db/unixODBC-2.3.0" -DEPEND="${RDEPEND}" -BDEPEND=" - test? ( - ${DATABASES_DEPEND[mysql]} - dev-db/myodbc:8.0 - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Broken test, generates a string longer than 4000 characters - tests/mysql_test.py::test_varchar -) - -EPYTEST_IGNORE=( - # No easy way to run an SqlServer during tests - tests/sqlserver_test.py -) - -python_test() { - export PYODBC_MYSQL="DRIVER=/usr/$(get_libdir)/myodbc-8.0/libmyodbc8a.so;SERVER=localhost;PORT=44444;DATABASE=test" - export PYODBC_POSTGRESQL="DRIVER=/usr/$(get_libdir)/psqlodbcw.so;SERVER=localhost;PORT=44445;DATABASE=test;UID=postgres" - epytest -} - -src_test() { - emysql --start 44444 - epostgres --start 44445 - psql -U postgres -h 127.0.0.1 -p 44445 <<EOF -CREATE DATABASE test OWNER postgres -EOF - distutils-r1_src_test - epostgres --stop - emysql --stop -} - -pkg_postinst() { - optfeature "MySQL support" dev-db/myodbc - optfeature "PostgreSQL support" dev-db/psqlodbc -} diff --git a/profiles/package.mask b/profiles/package.mask index 2638c2224..f3de1de21 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -118,11 +118,6 @@ dev-python/stdlibs # Removal on 2025-04-05. dev-python/sphinx-argparse-cli -# Anna (cybertailor) Vyalkova <[email protected]> (2025-03-05) -# Unmaintained in GURU, no revdeps left. Open bugs: #931931. -# Removal on 2025-04-05. -dev-python/pyodbc - # Julien Roy <[email protected]> (2024-03-21) # sys-libs/libucontext is masked in ::gentoo sys-libs/gcompat
