diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-11-07 15:47:35 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-11-07 15:47:35 +0000 |
commit | b101b188b99ae7b4c2af771fe66bd3ada497258d (patch) | |
tree | 43f4d80427da3bef025e5f0606ae5a5081117670 /dev-python/apsw | |
parent | Delete older ebuilds. (diff) | |
download | gentoo-2-b101b188b99ae7b4c2af771fe66bd3ada497258d.tar.gz gentoo-2-b101b188b99ae7b4c2af771fe66bd3ada497258d.tar.bz2 gentoo-2-b101b188b99ae7b4c2af771fe66bd3ada497258d.zip |
Version bump. Enable support for loadable sqlite extensions.
(Portage version: 2.2.0_alpha4_p12/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/apsw')
-rw-r--r-- | dev-python/apsw/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/apsw/apsw-3.7.3.1.ebuild | 52 |
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-python/apsw/ChangeLog b/dev-python/apsw/ChangeLog index 3ee3deb25757..4f8f331b75ef 100644 --- a/dev-python/apsw/ChangeLog +++ b/dev-python/apsw/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/apsw # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/ChangeLog,v 1.32 2010/10/25 00:26:07 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/ChangeLog,v 1.33 2010/11/07 15:47:35 arfrever Exp $ + +*apsw-3.7.3.1 (07 Nov 2010) + + 07 Nov 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -apsw-3.6.23.1.1.ebuild, -apsw-3.7.0.1.ebuild, +apsw-3.7.3.1.ebuild: + Version bump. Enable support for loadable sqlite extensions. 25 Oct 2010; Christian Faulhammer <fauli@gentoo.org> apsw-3.7.2.1.ebuild: stable x86, bug 342325 diff --git a/dev-python/apsw/apsw-3.7.3.1.ebuild b/dev-python/apsw/apsw-3.7.3.1.ebuild new file mode 100644 index 000000000000..21ef420f914f --- /dev/null +++ b/dev-python/apsw/apsw-3.7.3.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/apsw-3.7.3.1.ebuild,v 1.1 2010/11/07 15:47:34 arfrever Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils eutils versionator + +MY_PV="$(replace_version_separator 3 -r)" + +DESCRIPTION="APSW - Another Python SQLite Wrapper" +HOMEPAGE="http://code.google.com/p/apsw/" +SRC_URI="http://apsw.googlecode.com/files/${PN}-${MY_PV}.zip" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +RDEPEND=">=dev-db/sqlite-$(get_version_component_range 1-3)[extensions]" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}/${PN}-${MY_PV}" + +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + +src_prepare() { + distutils_src_prepare + epatch "${FILESDIR}/${PN}-3.6.20.1-fix_tests.patch" +} + +src_compile() { + distutils_src_compile --enable=load_extension +} + +src_test() { + echo "$(PYTHON -f)" setup.py build_test_extension + "$(PYTHON -f)" setup.py build_test_extension || die "Building of test loadable extension failed" + + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" tests.py -v + } + python_execute_function testing +} + +src_install() { + distutils_src_install + dodoc doc/_sources/* || die "dodoc failed" + dohtml -r doc/* || die "dohtml failed" +} |