Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bsddb3/
Date: Mon, 30 Jan 2017 18:56:26
Message-Id: 1485802554.aaf807cbf7e6165619d5f2c4a46db5c27812d05d.polynomial-c@gentoo
1 commit: aaf807cbf7e6165619d5f2c4a46db5c27812d05d
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 17:34:11 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 18:55:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaf807cb
7
8 dev-python/bsddb3: Removed old.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/bsddb3/Manifest | 2 -
13 dev-python/bsddb3/bsddb3-6.0.1.ebuild | 66 ------------------------------
14 dev-python/bsddb3/bsddb3-6.1.0.ebuild | 75 -----------------------------------
15 3 files changed, 143 deletions(-)
16
17 diff --git a/dev-python/bsddb3/Manifest b/dev-python/bsddb3/Manifest
18 index ee0e38d..4e5fafc 100644
19 --- a/dev-python/bsddb3/Manifest
20 +++ b/dev-python/bsddb3/Manifest
21 @@ -1,5 +1,3 @@
22 -DIST bsddb3-6.0.1.tar.gz 347002 SHA256 abc34d83d6cbb40f1626ecc2b62e8163ba204f4bb6a65c23b125a171d224bf6d SHA512 14a35a4933f83f11267072956e0061053918974d556899ea7670e2e52f7fbf9cb9f64e1810323b60a63ece0576a6d2b1a2743adf2c06f7f1debba8dcc0f0b8da WHIRLPOOL a4441dd6ba6c2de6bacfe5584395059614087c6b8c01c61290bdba7e2a75d5ee7abed349f7519439828a5dafd48da46c91b98caed1b0fffe16c9201c79af0d71
23 -DIST bsddb3-6.1.0.tar.gz 340966 SHA256 b13163e3891c32390aea66edcf7880eb245abc89199a766b7b1907fc5c1efd15 SHA512 2c84f8fd8c5bcced843ea7f1f54511cc4845a75ac182b4f832b92800c4f230906bf5919cb7d10938e79272f0fe89a5ed9b3f90c02bf11ac651126e6982dcc0ff WHIRLPOOL b27e1c024705f64eb0cffd0bf87932af4dd9f3eb5bdbce40d2d6a250cd101be55ebf1f76c17ac6c40de9e28e0c84b9bfafd0c62d7c1950782eef8fa1137ebb3b
24 DIST bsddb3-6.1.1.tar.gz 450571 SHA256 6f21b0252125c07798d784c164ef135ad153d226c01b290258ee1c5b9e7c4dd3 SHA512 f5e95edf2d18f04f4a306450a67ad675902b102cde9fdebd870727c2649ba7dd759206708c9225af871e0811e17812ef46c90ea6854eb3209ba36c86900ffb01 WHIRLPOOL c8552008d8de272ef665ca54ec134a8bf64e31c41b4738c9ff461d5d2f6c045f20bc9604bff2acbb86222d838649297d8e96060ec060f2da342ce0314e0b2211
25 DIST bsddb3-6.2.1.tar.gz 228558 SHA256 319a599236b0843a36c17749c0041c18a07ef28dbe9539064fd7c0fff972567c SHA512 fb5da34e861cc9094ba259b789b6970181c220238a8ea208ee08102eac79cd3e7a34217e5c469948656b5036adcecc9d99882b16e48c312591baa8b217511178 WHIRLPOOL c9d8ce8eec5a16f7eb23831c1a36d03cfe4db4fbfd39063477a3cef946fa29232f93c35b1c7a774b78c3ae8460e7f93d1a1b9ab05bc7084cf10fac5382bf7b16
26 DIST bsddb3-6.2.4.tar.gz 242397 SHA256 4866aa32ad6ec6d5ff401d9aec8da07c4e84502298dc27f7c758545e243550e6 SHA512 15bb714242b05649a7c40ccd153979e596340ef039c89549b215fc5438a12fedb44150195063d2783c6c06ede3552506e31e8013b6b0431d27dd7e14975c08b0 WHIRLPOOL e835c62753bed8fb26a82452b0b1946be169ea863c3fa532e05e1cbeab21eae34291175fdcc73fa376924cdd577606dcddb5b560b560735cb39a81b3d3e01bb2
27
28 diff --git a/dev-python/bsddb3/bsddb3-6.0.1.ebuild b/dev-python/bsddb3/bsddb3-6.0.1.ebuild
29 deleted file mode 100644
30 index 57ab393..00000000
31 --- a/dev-python/bsddb3/bsddb3-6.0.1.ebuild
32 +++ /dev/null
33 @@ -1,66 +0,0 @@
34 -# Copyright 1999-2015 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Id$
37 -
38 -EAPI=5
39 -PYTHON_COMPAT=( python{2_7,3_4} )
40 -PYTHON_REQ_USE="threads(+)"
41 -
42 -inherit db-use distutils-r1 multilib
43 -
44 -DESCRIPTION="Python bindings for Berkeley DB"
45 -HOMEPAGE="http://www.jcea.es/programacion/pybsddb.htm https://pypi.python.org/pypi/bsddb3"
46 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 -
48 -LICENSE="BSD"
49 -SLOT="0"
50 -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
51 -IUSE="doc"
52 -
53 -RDEPEND=">=sys-libs/db-4.8.30
54 - <sys-libs/db-6.1"
55 -DEPEND="${RDEPEND}
56 - dev-python/setuptools[${PYTHON_USEDEP}]"
57 -
58 -DISTUTILS_IN_SOURCE_BUILD=1
59 -
60 -src_prepare() {
61 - # This list should be kept in sync with setup.py.
62 - for DB_VER in 6.0 5.3 5.2 5.1 5.0 4.8; do
63 - has_version "sys-libs/db:${DB_VER}" && break
64 - done
65 -
66 - # Force version.
67 - sed -e "s/db_ver = None/db_ver = (${DB_VER%.*}, ${DB_VER#*.})/" \
68 - -e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" \
69 - -i setup2.py setup3.py || die
70 -
71 - # Adjust test.py to look in build/lib.
72 - sed -e "s/'lib.%s' % PLAT_SPEC/'lib'/" \
73 - -i test2.py test3.py || die
74 -
75 - distutils-r1_src_prepare
76 -}
77 -
78 -src_configure() {
79 - # These are needed for both build and install.
80 - export BERKELEYDB_DIR="${EPREFIX}/usr"
81 - export BERKELEYDB_INCDIR="$(db_includedir)"
82 - export BERKELEYDB_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
83 -}
84 -
85 -python_compile() {
86 - if ! python_is_python3; then
87 - local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
88 - fi
89 - distutils-r1_python_compile
90 -}
91 -
92 -python_test() {
93 - "${PYTHON}" test.py -v || die "Testing failed with ${EPYTHON}"
94 -}
95 -
96 -python_install_all() {
97 - use doc && local HTML_DOCS=( docs/html/. )
98 - distutils-r1_python_install_all
99 -}
100
101 diff --git a/dev-python/bsddb3/bsddb3-6.1.0.ebuild b/dev-python/bsddb3/bsddb3-6.1.0.ebuild
102 deleted file mode 100644
103 index 01817f9..00000000
104 --- a/dev-python/bsddb3/bsddb3-6.1.0.ebuild
105 +++ /dev/null
106 @@ -1,75 +0,0 @@
107 -# Copyright 1999-2015 Gentoo Foundation
108 -# Distributed under the terms of the GNU General Public License v2
109 -# $Id$
110 -
111 -EAPI=5
112 -PYTHON_COMPAT=( python{2_7,3_4} )
113 -PYTHON_REQ_USE="threads(+)"
114 -
115 -inherit db-use distutils-r1 multilib
116 -
117 -DESCRIPTION="Python bindings for Berkeley DB"
118 -HOMEPAGE="http://www.jcea.es/programacion/pybsddb.htm https://pypi.python.org/pypi/bsddb3"
119 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
120 -
121 -LICENSE="BSD"
122 -SLOT="0"
123 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
124 -IUSE="doc"
125 -
126 -RDEPEND="
127 - >=sys-libs/db-4.7
128 - <sys-libs/db-6.2:=
129 -"
130 -DEPEND="${RDEPEND}
131 - dev-python/setuptools[${PYTHON_USEDEP}]"
132 -
133 -DISTUTILS_IN_SOURCE_BUILD=1
134 -
135 -src_prepare() {
136 - # This list should be kept in sync with setup.py.
137 - if [[ -z ${DB_VER} ]]; then
138 - for DB_VER in 6.1 6.0 5.3 5.2 5.1 5.0 4.8 4.7; do
139 - has_version "sys-libs/db:${DB_VER}" && break
140 - done
141 - fi
142 -
143 - # Force version.
144 - sed -e "s/db_ver = None/db_ver = (${DB_VER%.*}, ${DB_VER#*.})/" \
145 - -e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" \
146 - -i setup2.py setup3.py || die
147 -
148 - # Adjust test.py to look in build/lib.
149 - sed -e "s/'lib.%s' % PLAT_SPEC/'lib'/" \
150 - -i test2.py test3.py || die
151 -
152 - distutils-r1_src_prepare
153 -}
154 -
155 -src_configure() {
156 - # These are needed for both build and install.
157 - export BERKELEYDB_DIR="${EPREFIX}/usr"
158 - export BERKELEYDB_INCDIR="$(db_includedir ${DB_VER})"
159 - export BERKELEYDB_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
160 - export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
161 -}
162 -
163 -python_compile() {
164 - if ! python_is_python3; then
165 - local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
166 - fi
167 - distutils-r1_python_compile
168 -}
169 -
170 -python_test() {
171 - if python_is_python3; then
172 - PYTHONPATH=Lib3 "${PYTHON}" test3.py -v || die "Testing failed with ${EPYTHON}"
173 - else
174 - PYTHONPATH=Lib "${PYTHON}" test.py -v || die "Testing failed with ${EPYTHON}"
175 - fi
176 -}
177 -
178 -python_install_all() {
179 - use doc && local HTML_DOCS=( docs/html/. )
180 - distutils-r1_python_install_all
181 -}