mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/bsddb3: Remove last-rited pkg
Closes: https://bugs.gentoo.org/922816 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST bsddb3-6.2.9-fix-py3.10.patch.gz 3153 BLAKE2B dfdd00e90c683557bafe7d5f0d5c9a6f944fb8495bf1baef8857f6e771cef58c8e5feac9b3d345ebf6403ba73ceaa7f9077f221ad6bad9916b756e6605b30d3d SHA512 3c6157110c94b842811301f4e48c0f1690d9c75379abe7a04bf76f7136d25decbf79673ca2940c5dbb97802acc8c7a9312a24a79e7dfcc3971f9dc250353d732
|
||||
DIST bsddb3-6.2.9.tar.gz 230475 BLAKE2B 68c7c498d581dd5ca860060a3152f7ae135bbc75d00714764446d071e8ea88d303a73d1aa411db1ff8fc922aa6d486632fe38bef3596550150ed511a97fc9c9c SHA512 9e878ef865cba608fafe4274b660234927b9106323c3e4ddd728682b0f11b3c7edb9a3dd56cdfe8665eba890df4121695c9710b95bb2f43b8a0be3ec4050f61e
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit db-use distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Python bindings for Berkeley DB"
|
||||
HOMEPAGE="https://www.jcea.es/programacion/pybsddb.htm https://pypi.org/project/bsddb3/"
|
||||
SRC_URI+=" https://dev.gentoo.org/~arthurzam/patches/dev-python/${P}-fix-py3.10.patch.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
<sys-libs/db-6.1:=
|
||||
|| (
|
||||
sys-libs/db:5.3
|
||||
sys-libs/db:4.8
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${WORKDIR}/${P}-fix-py3.10.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# This list should be kept in sync with setup.py.
|
||||
if [[ -z ${DB_VER} ]]; then
|
||||
for DB_VER in 5.3 4.8; do
|
||||
has_version "sys-libs/db:${DB_VER}" && break
|
||||
done
|
||||
fi
|
||||
|
||||
# Force version.
|
||||
sed -e "s/db_ver = None/db_ver = (${DB_VER%.*}, ${DB_VER#*.})/" \
|
||||
-e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" \
|
||||
-i setup2.py setup3.py || die
|
||||
|
||||
# Adjust test.py to look in build/lib.
|
||||
sed -e "s/'lib.%s' % PLAT_SPEC/'lib'/" \
|
||||
-i test2.py test3.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
# These are needed for both build and install.
|
||||
export BERKELEYDB_DIR="${EPREFIX}/usr"
|
||||
export BERKELEYDB_INCDIR="$(db_includedir ${DB_VER})"
|
||||
export BERKELEYDB_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH=Lib3 "${EPYTHON}" test3.py -vv || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">bsddb3</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -31,11 +31,6 @@ dev-python/pyside2
|
||||
dev-python/pyside2-tools
|
||||
dev-python/shiboken2
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (2024-01-23)
|
||||
# Unmaintained, very hacky package. Its replacement, berkeleydb,
|
||||
# was so bad that we've lastrited it.
|
||||
dev-python/bsddb3
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (2023-12-10)
|
||||
# Superseded by dev-python/psycopg:0 (version 3).
|
||||
dev-python/psycopg:2
|
||||
|
||||
@@ -772,13 +772,6 @@ net-dns/odsclient
|
||||
# Removal on 2024-03-15. Bug #923954.
|
||||
sci-astronomy/casa-data
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (2024-02-14)
|
||||
# media-sound/exaile is the last package to require unmaintained
|
||||
# dev-python/bsddb3 (or dev-python/berkeleydb which is equally horrible
|
||||
# and was removed in the past).
|
||||
# Removal on 2024-03-15. Bug #922816.
|
||||
dev-python/bsddb3
|
||||
|
||||
# Ulrich Müller <ulm@gentoo.org> (2024-02-08)
|
||||
# Masked for testing.
|
||||
# Test failure in watchpoints.dem, undefined function FresnelC.
|
||||
|
||||
Reference in New Issue
Block a user