diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-29 18:50:13 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-29 18:50:13 +0000 |
commit | 1fbb77dbc85d4c153ec3f1e49479fb5a92c7ee61 (patch) | |
tree | b0f053baa288c82a7a86e492d16c33b42535f03d /dev-python/bsddb3 | |
parent | stable x86, security bug 287490 (diff) | |
download | gentoo-2-1fbb77dbc85d4c153ec3f1e49479fb5a92c7ee61.tar.gz gentoo-2-1fbb77dbc85d4c153ec3f1e49479fb5a92c7ee61.tar.bz2 gentoo-2-1fbb77dbc85d4c153ec3f1e49479fb5a92c7ee61.zip |
Version bump.
(Portage version: 15154-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/bsddb3')
-rw-r--r-- | dev-python/bsddb3/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/bsddb3/bsddb3-4.8.2.ebuild | 67 |
2 files changed, 74 insertions, 1 deletions
diff --git a/dev-python/bsddb3/ChangeLog b/dev-python/bsddb3/ChangeLog index 86a75fec332f..bf61df135f05 100644 --- a/dev-python/bsddb3/ChangeLog +++ b/dev-python/bsddb3/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/bsddb3 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.45 2009/12/29 18:44:51 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.46 2009/12/29 18:50:13 arfrever Exp $ + +*bsddb3-4.8.2 (29 Dec 2009) + + 29 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +bsddb3-4.8.2.ebuild: + Version bump. 29 Dec 2009; Raúl Porcel <armin76@gentoo.org> bsddb3-4.8.1.ebuild: sparc stable wrt #296027 diff --git a/dev-python/bsddb3/bsddb3-4.8.2.ebuild b/dev-python/bsddb3/bsddb3-4.8.2.ebuild new file mode 100644 index 000000000000..020d0bc2afaf --- /dev/null +++ b/dev-python/bsddb3/bsddb3-4.8.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-4.8.2.ebuild,v 1.1 2009/12/29 18:50:13 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +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="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="" +# Documentation missing in >=4.8.2 tarball. +# IUSE="doc" + +RDEPEND=">=sys-libs/db-4.6" +DEPEND="${RDEPEND}" +# doc? ( dev-python/sphinx ) + +DOCS="TODO.txt" + +src_compile() { + local DB_VER + if 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 -i \ + -e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" \ + setup2.py setup3.py || die "sed failed" + + distutils_src_compile \ + "--berkeley-db=/usr" \ + "--berkeley-db-incdir=$(db_includedir ${DB_VER})" \ + "--berkeley-db-libdir=/usr/$(get_libdir)" + +# if use doc; then +# mkdir html +# sphinx-build docs html || die "Generation of documentation failed" +# fi +} + +src_test() { + tests() { + rm -fr /tmp/z-Berkeley_DB + python_set_build_dir_symlink + "$(PYTHON)" test.py + } + python_execute_function tests +} + +src_install() { + distutils_src_install + + rm -fr "${D}"usr/lib*/python*/site-packages/${PN}/tests + +# use doc && dohtml -r html/* +} |