Version bump. Dropped old versions. Added tests.
authorTiziano Müller <dev-zero@gentoo.org>
Wed, 14 Feb 2007 21:46:30 +0000 (21:46 +0000)
committerTiziano Müller <dev-zero@gentoo.org>
Wed, 14 Feb 2007 21:46:30 +0000 (21:46 +0000)
Package-Manager: portage-2.1.2-r7

12 files changed:
dev-python/bsddb3/ChangeLog
dev-python/bsddb3/Manifest
dev-python/bsddb3/bsddb3-3.4.0-r1.ebuild [deleted file]
dev-python/bsddb3/bsddb3-4.2.4.ebuild [deleted file]
dev-python/bsddb3/bsddb3-4.5.0.ebuild [new file with mode: 0644]
dev-python/bsddb3/files/bsddb3-3.4.0-db3.patch [deleted file]
dev-python/bsddb3/files/bsddb3-4.1.3-db4.0.patch [deleted file]
dev-python/bsddb3/files/bsddb3-4.2.4-db4.2.patch [deleted file]
dev-python/bsddb3/files/digest-bsddb3-3.4.0-r1 [deleted file]
dev-python/bsddb3/files/digest-bsddb3-4.1.3
dev-python/bsddb3/files/digest-bsddb3-4.2.4 [deleted file]
dev-python/bsddb3/files/digest-bsddb3-4.5.0 [new file with mode: 0644]

index f2d299c58f7bc52865a7cbaa652562fb5ef4136a..8ad474a4a56a7f989d1c238767c39391b1a2ce55 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for dev-python/bsddb3
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.18 2006/04/01 14:44:38 agriffis Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.19 2007/02/14 21:46:30 dev-zero Exp $
+
+*bsddb3-4.5.0 (14 Feb 2007)
+
+  14 Feb 2007; Tiziano Müller <dev-zero@gentoo.org>
+  -files/bsddb3-3.4.0-db3.patch, -files/bsddb3-4.1.3-db4.0.patch,
+  -files/bsddb3-4.2.4-db4.2.patch, -bsddb3-3.4.0-r1.ebuild,
+  -bsddb3-4.2.4.ebuild, +bsddb3-4.5.0.ebuild:
+  Version bump. Dropped old versions. Added tests.
 
   01 Apr 2006; Aron Griffis <agriffis@gentoo.org> bsddb3-4.2.4.ebuild:
   Mark 4.2.4 ~ia64
index abd1e7a69ec26c2b52b11e6abcb57d7e5a55fe47..95f2ce1f54d8e577eed6309d3bb736d6b8e3c3de 100644 (file)
@@ -1,46 +1,28 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 7988e9364d347c9652424f3acbae5133 ChangeLog 2684
-RMD160 48acd888eb4d5531ee2b1cfa0f98ed200a80d810 ChangeLog 2684
-SHA256 f34d81919cd2e480818ba8f14fadb890e4f5fa9cf527c0433eac80813ec83090 ChangeLog 2684
-MD5 efc84e4bd80db912406ec8c662cd8b90 bsddb3-3.4.0-r1.ebuild 655
-RMD160 9819a610d3dccf013ce6626ed80418cbb47d0044 bsddb3-3.4.0-r1.ebuild 655
-SHA256 b9a9e3b96d2b323e4d13292e92b0f7147108bc113cc859b884c640b03303a507 bsddb3-3.4.0-r1.ebuild 655
-MD5 175b22e0afaa6d090d5d5390be70e919 bsddb3-4.1.3.ebuild 659
-RMD160 1651636b11c5bfffcd2c7d7be3c9978e9848d148 bsddb3-4.1.3.ebuild 659
-SHA256 4e9e430b927ca4b47299611de064cf657b0b46fd9533837c0b75adea4f5bc648 bsddb3-4.1.3.ebuild 659
-MD5 8b8438534694cc3250350ee8a0dd3053 bsddb3-4.2.4.ebuild 750
-RMD160 2acf26b888884c42949c0bd4c468e6646dcb23a2 bsddb3-4.2.4.ebuild 750
-SHA256 a0c16f6d0aa20ecb9e3d0a7798d1d0a24cb651fcef71f6c478a267a38bc3776f bsddb3-4.2.4.ebuild 750
-MD5 bed99cc82d215b74251a47487d672d7b files/bsddb3-3.4.0-db3.patch 480
-RMD160 dae46f273050aee7276a01e67373b2f1affb2ff3 files/bsddb3-3.4.0-db3.patch 480
-SHA256 92b675f6d1dd2dff43704813eb1f78ed00b814c82adcc7575ed2ff988435b791 files/bsddb3-3.4.0-db3.patch 480
-MD5 479200184de9b7dd27f0c877ed257251 files/bsddb3-4.1.3-db4.0.patch 833
-RMD160 ee5b4fcf8b9b12f2dc035780842b5bc7a512c6c0 files/bsddb3-4.1.3-db4.0.patch 833
-SHA256 72a42b688274c7e70f846591cc3a643c53d0c5bc6f7ea7ba9ea1157da9212e2d files/bsddb3-4.1.3-db4.0.patch 833
+AUX bsddb3-4.1.3-setup.py.patch 1797 RMD160 0c466e9dcbde9e312d848ad935c5f6996e166be6 SHA1 5b7c9888a374eb37ace7e0d1315dcb267530e823 SHA256 d45a24d6189a840eb1d3d1f0257fd631d847ee588534190c932f5c1261980340
 MD5 b3d585f82f2f9c1963499350a5d30d77 files/bsddb3-4.1.3-setup.py.patch 1797
 RMD160 0c466e9dcbde9e312d848ad935c5f6996e166be6 files/bsddb3-4.1.3-setup.py.patch 1797
 SHA256 d45a24d6189a840eb1d3d1f0257fd631d847ee588534190c932f5c1261980340 files/bsddb3-4.1.3-setup.py.patch 1797
-MD5 94602fb2763177def5813577c667c15f files/bsddb3-4.2.4-db4.2.patch 835
-RMD160 b47b0f17e870310516ba1f5625ba63deb22d6860 files/bsddb3-4.2.4-db4.2.patch 835
-SHA256 8beeb02a22e393ac9e8c89d45d9e0a24a7c31e8c0b714f145a7065d69c5fd945 files/bsddb3-4.2.4-db4.2.patch 835
-MD5 fda9c6c3eaa5d24eb3053e1c5cb68cda files/digest-bsddb3-3.4.0-r1 64
-RMD160 07027edec2da495cc32304a9da46768ad240a2f0 files/digest-bsddb3-3.4.0-r1 64
-SHA256 d8be8684dce2c8e77ca40b29e4f3741329676cc140ae51f659e17411d2da1a4f files/digest-bsddb3-3.4.0-r1 64
-MD5 9505fe6263c8c1d042f80d802f25c038 files/digest-bsddb3-4.1.3 64
-RMD160 2332e012e339c621ffc3c4c0a5ad97aa1c057836 files/digest-bsddb3-4.1.3 64
-SHA256 d3caed881bb2caa4cb3713967cf17fe25b156f8132fbcc3a5973c67c84d6d47d files/digest-bsddb3-4.1.3 64
-MD5 72d6a2d3e135d9e4ed16fac296a9a803 files/digest-bsddb3-4.2.4 64
-RMD160 ef9d9d61a93cfec3dfbe0e9f4922bf5e5408f531 files/digest-bsddb3-4.2.4 64
-SHA256 745914f710585a397cd1327be6c1b86022653b796663441d63965614c813e388 files/digest-bsddb3-4.2.4 64
+DIST bsddb3-4.1.3.tar.gz 480049 RMD160 57de4c656c9a382481d24ff3337ab9e331e2d926 SHA1 03434c19618b0867d994c742c4b2718280e6e6b7 SHA256 c4ae906a6df1f41d813fbb53c85234b4705d8aa1e228db052f66e904e116e811
+DIST bsddb3-4.5.0.tar.gz 522126 RMD160 a54ccaf88b422df30113f0345918043dd8c06a1b SHA1 e4371cafdec218de0e007a1dbc9c1bc5ee3ff7bd SHA256 bb904694cc0a8b309ac19e020d857b2252b2323eb75ca672ca334631649c09c0
+EBUILD bsddb3-4.1.3.ebuild 659 RMD160 1651636b11c5bfffcd2c7d7be3c9978e9848d148 SHA1 380ab942ad3ba5485744e3c712835b6214631bb7 SHA256 4e9e430b927ca4b47299611de064cf657b0b46fd9533837c0b75adea4f5bc648
+MD5 175b22e0afaa6d090d5d5390be70e919 bsddb3-4.1.3.ebuild 659
+RMD160 1651636b11c5bfffcd2c7d7be3c9978e9848d148 bsddb3-4.1.3.ebuild 659
+SHA256 4e9e430b927ca4b47299611de064cf657b0b46fd9533837c0b75adea4f5bc648 bsddb3-4.1.3.ebuild 659
+EBUILD bsddb3-4.5.0.ebuild 892 RMD160 b719675235f3c9658165d4c8bf1cadfdc3d57202 SHA1 041cc06edf16df90e6c49f8605aa8913ecfa996a SHA256 10f3dab913b9c58f24bd60e01e840079ef6a4ee53c694e23ced4d99e6586632c
+MD5 4d8bdcb07d5f92443b701c564f582c62 bsddb3-4.5.0.ebuild 892
+RMD160 b719675235f3c9658165d4c8bf1cadfdc3d57202 bsddb3-4.5.0.ebuild 892
+SHA256 10f3dab913b9c58f24bd60e01e840079ef6a4ee53c694e23ced4d99e6586632c bsddb3-4.5.0.ebuild 892
+MISC ChangeLog 2990 RMD160 e12e15ca1d92d87fd75a2b8591c69c4883c464c9 SHA1 a181001f8fcaf3fadf7cae83b9042b05e938269d SHA256 dee2010ce602a03f1f68b1bd7b5eb6a09d2b0971d7ad27e2e67e5d64b843c501
+MD5 21dcf9454efc0811cfcb4a338b23e116 ChangeLog 2990
+RMD160 e12e15ca1d92d87fd75a2b8591c69c4883c464c9 ChangeLog 2990
+SHA256 dee2010ce602a03f1f68b1bd7b5eb6a09d2b0971d7ad27e2e67e5d64b843c501 ChangeLog 2990
+MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
 MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159
 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 metadata.xml 159
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.1 (GNU/Linux)
-
-iD8DBQFELpHgJrHF4yAQTrARAmE0AKCs5UQEDPyXAm06BOl1S8RTmB9yfgCeMwBp
-lS44yffYm05ahZ9QiF/hDlY=
-=bR74
------END PGP SIGNATURE-----
+MD5 77805b41aba9a2f7bb082914a133db8a files/digest-bsddb3-4.1.3 238
+RMD160 dae1356ad163d2fc91439ee4a40bfa0e68825d22 files/digest-bsddb3-4.1.3 238
+SHA256 da1803183b1974858f838a6967cfdac33956ceaa5a09c1f5c95b1a64d085b374 files/digest-bsddb3-4.1.3 238
+MD5 165fae25a71bb6ff7dfc4baa9a8dc846 files/digest-bsddb3-4.5.0 238
+RMD160 3f4f0403c4710320b53fe2c9c19403ce8610c1f7 files/digest-bsddb3-4.5.0 238
+SHA256 61943e31b08b9f3f8a1a1f8478073657636c8af06556404cb2115d2d066b748d files/digest-bsddb3-4.5.0 238
diff --git a/dev-python/bsddb3/bsddb3-3.4.0-r1.ebuild b/dev-python/bsddb3/bsddb3-3.4.0-r1.ebuild
deleted file mode 100644 (file)
index a69e656..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-3.4.0-r1.ebuild,v 1.10 2004/10/02 23:38:24 kloeri Exp $
-
-inherit distutils eutils
-
-DESCRIPTION="Python bindings for BerkeleyDB"
-HOMEPAGE="http://pybsddb.sourceforge.net/"
-SRC_URI="mirror://sourceforge/pybsddb/${P}.tar.gz"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="x86 ~ppc ~sparc"
-IUSE=""
-
-DEPEND="virtual/python
-       =sys-libs/db-3.2*"
-
-DOCS="README.txt TODO.txt"
-
-src_unpack() {
-       unpack ${A}
-       cd ${S}
-       epatch ${FILESDIR}/${P}-db3.patch
-}
-
-src_install() {
-       distutils_src_install
-       dohtml docs/*
-}
-
diff --git a/dev-python/bsddb3/bsddb3-4.2.4.ebuild b/dev-python/bsddb3/bsddb3-4.2.4.ebuild
deleted file mode 100644 (file)
index 247b206..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-4.2.4.ebuild,v 1.8 2006/04/01 14:44:38 agriffis Exp $
-
-inherit distutils eutils
-
-DESCRIPTION="Python bindings for BerkeleyDB"
-HOMEPAGE="http://pybsddb.sourceforge.net/"
-SRC_URI="mirror://sourceforge/pybsddb/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/python
-       =sys-libs/db-4.2*"
-
-DOCS="README.txt TODO.txt"
-
-src_unpack() {
-       unpack ${A}
-       cd ${S}
-       epatch ${FILESDIR}/${P}-db4.2.patch
-}
-
-src_compile() {
-       distutils_src_compile "--berkeley-db=/usr"
-}
-
-src_install() {
-       distutils_src_install "--berkeley-db=/usr"
-       dohtml docs/*
-}
diff --git a/dev-python/bsddb3/bsddb3-4.5.0.ebuild b/dev-python/bsddb3/bsddb3-4.5.0.ebuild
new file mode 100644 (file)
index 0000000..11b8913
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-4.5.0.ebuild,v 1.1 2007/02/14 21:46:30 dev-zero Exp $
+
+NEED_PYTHON=2.1
+
+inherit distutils db-use multilib
+
+DESCRIPTION="Python bindings for BerkeleyDB"
+HOMEPAGE="http://pybsddb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pybsddb/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="doc"
+
+DEPEND=">=sys-libs/db-4.0"
+
+src_compile() {
+       sed -i \
+               -e "s/dblib = 'db'/dblib = '$(db_libname)'/" \
+               setup.py
+       distutils_src_compile \
+               "--berkeley-db=/usr" \
+               "--berkeley-db-incdir=$(db_includedir)" \
+               "--berkeley-db-libdir=/usr/$(get_libdir)"
+}
+
+
+src_install() {
+       DOCS="TODO.txt"
+       distutils_src_install
+       use doc && dohtml -r docs/*
+}
+
+src_test() {
+       "${python}" test.py || die "tests failed"
+}
diff --git a/dev-python/bsddb3/files/bsddb3-3.4.0-db3.patch b/dev-python/bsddb3/files/bsddb3-3.4.0-db3.patch
deleted file mode 100644 (file)
index 2c98d2f..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
---- setup.py   2002-07-08 00:54:26.000000000 +0100
-+++ setup.py   2003-06-01 02:02:16.000000000 +0100
-@@ -68,8 +68,8 @@
-     # figure out from the base setting where the lib and .h are
-     if not incdir: incdir = os.path.join(BERKELEYDB_DIR, 'include')
-     if not libdir: libdir = os.path.join(BERKELEYDB_DIR, 'lib')
--    if not '-ldb' in LIBS:
--        libname = ['db']
-+    if not '-ldb-3.2' in LIBS:
-+        libname = ['db-3.2']
-     else:
-         libname = []
-     utils = []
diff --git a/dev-python/bsddb3/files/bsddb3-4.1.3-db4.0.patch b/dev-python/bsddb3/files/bsddb3-4.1.3-db4.0.patch
deleted file mode 100644 (file)
index 6b7c86a..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
---- setup.py.old       2004-02-13 09:45:59.291327848 +0000
-+++ setup.py   2004-02-13 09:49:39.189898184 +0000
-@@ -70,11 +70,11 @@
-     # figure out from the base setting where the lib and .h are
-     if not incdir:
--        incdir = os.path.join(BERKELEYDB_DIR, 'include')
-+        incdir = os.path.join(BERKELEYDB_DIR, 'include/db4')
-     if not libdir:
-         libdir = os.path.join(BERKELEYDB_DIR, 'lib')
--    if not '-ldb' in LIBS:
--        libname = ['db']
-+    if not '-ldb-4.0' in LIBS:
-+        libname = ['db-4.0']
-     else:
-         libname = []
-     utils = []
-@@ -93,7 +93,7 @@
-     fp = os.popen('ldd %s 2>&1' % sys.executable)
-     results = fp.read()
-     status = fp.close()
--    if not status and results.find('libdb.') >= 0:
-+    if not status and results.find('libdb-4.0.') >= 0:
-         static = 1
-     if static:
diff --git a/dev-python/bsddb3/files/bsddb3-4.2.4-db4.2.patch b/dev-python/bsddb3/files/bsddb3-4.2.4-db4.2.patch
deleted file mode 100644 (file)
index 7b601f3..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
---- setup.py.old       2004-02-13 09:53:33.220320152 +0000
-+++ setup.py   2004-02-13 09:54:06.966190000 +0000
-@@ -75,11 +75,11 @@
-     # figure out from the base setting where the lib and .h are
-     if not incdir:
--        incdir = os.path.join(BERKELEYDB_DIR, 'include')
-+        incdir = os.path.join(BERKELEYDB_DIR, 'include/db4.2')
-     if not libdir:
-         libdir = os.path.join(BERKELEYDB_DIR, 'lib')
--    if not '-ldb' in LIBS:
--        libname = ['db']
-+    if not '-ldb-4.2' in LIBS:
-+        libname = ['db-4.2']
-     else:
-         libname = []
-     utils = []
-@@ -98,7 +98,7 @@
-     fp = os.popen('ldd %s 2>&1' % sys.executable)
-     results = fp.read()
-     status = fp.close()
--    if not status and results.find('libdb.') >= 0:
-+    if not status and results.find('libdb-4.2.') >= 0:
-         static = 1
-     if static:
diff --git a/dev-python/bsddb3/files/digest-bsddb3-3.4.0-r1 b/dev-python/bsddb3/files/digest-bsddb3-3.4.0-r1
deleted file mode 100644 (file)
index f6508a3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e433307b4ee1dd7be4fa1177b8be575a bsddb3-3.4.0.tar.gz 473854
index 48fa14b9c336cf7ff5cb45fdb64cf7ef4ac59a7b..e29cc39977181b04ad58b6608c4774ad0cd8ef9f 100644 (file)
@@ -1 +1,3 @@
 MD5 a99ceebb787749123a9075a93eb3601b bsddb3-4.1.3.tar.gz 480049
+RMD160 57de4c656c9a382481d24ff3337ab9e331e2d926 bsddb3-4.1.3.tar.gz 480049
+SHA256 c4ae906a6df1f41d813fbb53c85234b4705d8aa1e228db052f66e904e116e811 bsddb3-4.1.3.tar.gz 480049
diff --git a/dev-python/bsddb3/files/digest-bsddb3-4.2.4 b/dev-python/bsddb3/files/digest-bsddb3-4.2.4
deleted file mode 100644 (file)
index 364dcb2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e7cf57b849e63e0a2dd791d9ad5a377a bsddb3-4.2.4.tar.gz 508095
diff --git a/dev-python/bsddb3/files/digest-bsddb3-4.5.0 b/dev-python/bsddb3/files/digest-bsddb3-4.5.0
new file mode 100644 (file)
index 0000000..46bf9ad
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 e08e50b0e602396864c6061168987318 bsddb3-4.5.0.tar.gz 522126
+RMD160 a54ccaf88b422df30113f0345918043dd8c06a1b bsddb3-4.5.0.tar.gz 522126
+SHA256 bb904694cc0a8b309ac19e020d857b2252b2323eb75ca672ca334631649c09c0 bsddb3-4.5.0.tar.gz 522126