summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-05-02 18:49:55 +0200
committerMichał Górny <mgorny@gentoo.org>2017-05-02 19:43:09 +0200
commitfbdf23da2dffbf7080604cc1735a0f2985bd5a1f (patch)
tree60704995b649bf5c2c77921f73c36c610a65b5a3 /dev-python/bsddb3
parentdev-python/sparql-wrapper: Clean old versions up (diff)
downloadgentoo-fbdf23da2dffbf7080604cc1735a0f2985bd5a1f.tar.gz
gentoo-fbdf23da2dffbf7080604cc1735a0f2985bd5a1f.tar.bz2
gentoo-fbdf23da2dffbf7080604cc1735a0f2985bd5a1f.zip
dev-python/bsddb3: Clean old versions up
Diffstat (limited to 'dev-python/bsddb3')
-rw-r--r--dev-python/bsddb3/Manifest1
-rw-r--r--dev-python/bsddb3/bsddb3-6.2.1.ebuild76
2 files changed, 0 insertions, 77 deletions
diff --git a/dev-python/bsddb3/Manifest b/dev-python/bsddb3/Manifest
index 4e5fafcb0897..b1245345b0a0 100644
--- a/dev-python/bsddb3/Manifest
+++ b/dev-python/bsddb3/Manifest
@@ -1,3 +1,2 @@
DIST bsddb3-6.1.1.tar.gz 450571 SHA256 6f21b0252125c07798d784c164ef135ad153d226c01b290258ee1c5b9e7c4dd3 SHA512 f5e95edf2d18f04f4a306450a67ad675902b102cde9fdebd870727c2649ba7dd759206708c9225af871e0811e17812ef46c90ea6854eb3209ba36c86900ffb01 WHIRLPOOL c8552008d8de272ef665ca54ec134a8bf64e31c41b4738c9ff461d5d2f6c045f20bc9604bff2acbb86222d838649297d8e96060ec060f2da342ce0314e0b2211
-DIST bsddb3-6.2.1.tar.gz 228558 SHA256 319a599236b0843a36c17749c0041c18a07ef28dbe9539064fd7c0fff972567c SHA512 fb5da34e861cc9094ba259b789b6970181c220238a8ea208ee08102eac79cd3e7a34217e5c469948656b5036adcecc9d99882b16e48c312591baa8b217511178 WHIRLPOOL c9d8ce8eec5a16f7eb23831c1a36d03cfe4db4fbfd39063477a3cef946fa29232f93c35b1c7a774b78c3ae8460e7f93d1a1b9ab05bc7084cf10fac5382bf7b16
DIST bsddb3-6.2.4.tar.gz 242397 SHA256 4866aa32ad6ec6d5ff401d9aec8da07c4e84502298dc27f7c758545e243550e6 SHA512 15bb714242b05649a7c40ccd153979e596340ef039c89549b215fc5438a12fedb44150195063d2783c6c06ede3552506e31e8013b6b0431d27dd7e14975c08b0 WHIRLPOOL e835c62753bed8fb26a82452b0b1946be169ea863c3fa532e05e1cbeab21eae34291175fdcc73fa376924cdd577606dcddb5b560b560735cb39a81b3d3e01bb2
diff --git a/dev-python/bsddb3/bsddb3-6.2.1.ebuild b/dev-python/bsddb3/bsddb3-6.2.1.ebuild
deleted file mode 100644
index 49b1f9df6645..000000000000
--- a/dev-python/bsddb3/bsddb3-6.2.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit db-use distutils-r1
-
-DESCRIPTION="Python bindings for Berkeley DB"
-HOMEPAGE="http://www.jcea.es/programacion/pybsddb.htm https://pypi.python.org/pypi/bsddb3"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
-
-RDEPEND="
- <sys-libs/db-6.3:=
- || (
- sys-libs/db:6.2
- sys-libs/db:6.1
- sys-libs/db:5.3
- sys-libs/db:5.1
- sys-libs/db:4.8
- sys-libs/db:4.7
- )
-"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_prepare_all() {
- # This list should be kept in sync with setup.py.
- if [[ -z ${DB_VER} ]]; then
- for DB_VER in 6.2 6.1 5.3 5.1 4.8 4.7; 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
-}
-
-src_configure() {
- # 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_compile() {
- if ! python_is_python3; then
- local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
- fi
- distutils-r1_python_compile
-}
-
-python_test() {
- if python_is_python3; then
- PYTHONPATH=Lib3 "${PYTHON}" test3.py -v || die "Testing failed with ${EPYTHON}"
- else
- PYTHONPATH=Lib "${PYTHON}" test.py -v || die "Testing failed with ${EPYTHON}"
- fi
-}