diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-11-07 19:59:13 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-11-07 19:59:13 +0000 |
commit | b90541088eb58a288fd782e9712cb99ffd7bc69e (patch) | |
tree | 7c71f3388309d0a2c71864006c0574503d5b2cbb /dev-python/bsddb3 | |
parent | Add extra information about mkiv, by Matija hook Šuklje <matija@suklje.name>... (diff) | |
download | historical-b90541088eb58a288fd782e9712cb99ffd7bc69e.tar.gz historical-b90541088eb58a288fd782e9712cb99ffd7bc69e.tar.bz2 historical-b90541088eb58a288fd782e9712cb99ffd7bc69e.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha4_p12/cvs/Linux x86_64
Diffstat (limited to 'dev-python/bsddb3')
-rw-r--r-- | dev-python/bsddb3/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/bsddb3/Manifest | 4 | ||||
-rw-r--r-- | dev-python/bsddb3/bsddb3-5.1.0.ebuild | 75 |
3 files changed, 85 insertions, 2 deletions
diff --git a/dev-python/bsddb3/ChangeLog b/dev-python/bsddb3/ChangeLog index 9f3d2828dcfb..4da53f069105 100644 --- a/dev-python/bsddb3/ChangeLog +++ b/dev-python/bsddb3/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/bsddb3 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.58 2010/10/30 19:28:33 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.59 2010/11/07 19:59:13 arfrever Exp $ + +*bsddb3-5.1.0 (07 Nov 2010) + + 07 Nov 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +bsddb3-5.1.0.ebuild: + Version bump. 30 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> -bsddb3-4.8.1.ebuild, -bsddb3-4.8.3.ebuild, diff --git a/dev-python/bsddb3/Manifest b/dev-python/bsddb3/Manifest index b3c04c35dada..369fc3d5c3eb 100644 --- a/dev-python/bsddb3/Manifest +++ b/dev-python/bsddb3/Manifest @@ -1,4 +1,6 @@ DIST bsddb3-5.0.0.tar.gz 202405 RMD160 8d1246b200d1561b216902c47a6956b864f1f892 SHA1 33a150a0e8c8e0f8830011aa40f9425372c1178c SHA256 2485a97f556dc160400e1be9ddb00164d9a5ecee3dcffe33d4a5fbfbb9da72cd +DIST bsddb3-5.1.0.tar.gz 379472 RMD160 2880cca34130d12a64160a1dcfcb70877096bb93 SHA1 02b102737d232314058dc1f6944615f1b7da0535 SHA256 56596fb076defd97c263a669635422b519bab057497fc138d5528657fd8b7846 EBUILD bsddb3-5.0.0.ebuild 1761 RMD160 e239a4876003692cac5fafc06ddfa31a0fa57bbe SHA1 26f4a826574fc8a3ca13f28ea7113fcef7c46835 SHA256 323b2d2bf19b8a72fbd9fb2e7a2e338669679f38640f40d30c50324133b9a022 -MISC ChangeLog 7635 RMD160 e567bdf17a0330a32ea57de0d6e05dc0c89a5161 SHA1 07a5ef59562dc709fb16f62c46d700be7d27a621 SHA256 f912f9c6a90b93a8be387217d9841066dd0141d904ff530876e11424e74c9a67 +EBUILD bsddb3-5.1.0.ebuild 1783 RMD160 fc9bb8cb5c0608bbcf0c20ecf9eb53abc65c2858 SHA1 1faadd69861843db9618dc822e78d5e2d58ffeb4 SHA256 d16fffa24f9be36edc73488f335745c9169196e8c2014c8ff4fd6713deeb31e7 +MISC ChangeLog 7778 RMD160 4a590161bb51d764e841cfbe69eff0e6e5f39a62 SHA1 dd497b33c426b298f546fcdc7392d9864866680d SHA256 fb58df4f687c56e9fffb1ddfb84173fa9f4c6509c100ebce30d0d22bf2a6cb42 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/bsddb3/bsddb3-5.1.0.ebuild b/dev-python/bsddb3/bsddb3-5.1.0.ebuild new file mode 100644 index 000000000000..94dc661f4c61 --- /dev/null +++ b/dev-python/bsddb3/bsddb3-5.1.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-5.1.0.ebuild,v 1.1 2010/11/07 19:59:13 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2 3:3.1" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.0" + +inherit db-use distutils multilib + +DESCRIPTION="Python bindings for Berkeley DB" +HOMEPAGE="http://www.jcea.es/programacion/pybsddb.htm http://pypi.python.org/pypi/bsddb3" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="doc" + +RDEPEND=">=sys-libs/db-4.6" +DEPEND="${RDEPEND} + dev-python/setuptools" + +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + +DOCS="ChangeLog TODO.txt" + +src_configure() { + local DB_VER + if has_version sys-libs/db:5.1; then + DB_VER="5.1" + elif has_version sys-libs/db:5.0; then + DB_VER="5.0" + elif has_version sys-libs/db:4.8; then + DB_VER="4.8" + elif has_version sys-libs/db:4.7; then + DB_VER="4.7" + else + DB_VER="4.6" + fi + + sed -e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" -i setup2.py setup3.py || die "sed failed" +} + +src_compile() { + distutils_src_compile \ + --berkeley-db="${EPREFIX}/usr" \ + --berkeley-db-incdir="${EPREFIX}$(db_includedir ${DB_VER})" \ + --berkeley-db-libdir="${EPREFIX}/usr/$(get_libdir)" +} + +src_test() { + tests() { + rm -f build + ln -s build-${PYTHON_ABI} build + + echo TMPDIR="${T}/tests-${PYTHON_ABI}" "$(PYTHON)" test.py + TMPDIR="${T}/tests-${PYTHON_ABI}" "$(PYTHON)" test.py + } + python_execute_function tests +} + +src_install() { + distutils_src_install + + delete_tests() { + rm -fr "${ED}$(python_get_sitedir)/bsddb3/tests" + } + python_execute_function -q delete_tests + + if use doc; then + dohtml -r docs/html/* || die "dohtml failed" + fi +} |