diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-09-07 21:57:19 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-09-07 21:57:19 +0000 |
commit | fc1abe89a4ecf51be157eaab1344ecf973470945 (patch) | |
tree | a910f395a902aac97e4f2e85aace8d27255b91ba /dev-python/apsw | |
parent | Version bump. Respect CFLAGS and simplify compile options with usex. (diff) | |
download | gentoo-2-fc1abe89a4ecf51be157eaab1344ecf973470945.tar.gz gentoo-2-fc1abe89a4ecf51be157eaab1344ecf973470945.tar.bz2 gentoo-2-fc1abe89a4ecf51be157eaab1344ecf973470945.zip |
Version bump.
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/apsw')
-rw-r--r-- | dev-python/apsw/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/apsw/apsw-3.7.14.1.ebuild | 54 |
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-python/apsw/ChangeLog b/dev-python/apsw/ChangeLog index a82b541387fb..c1b31b886ece 100644 --- a/dev-python/apsw/ChangeLog +++ b/dev-python/apsw/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/apsw # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/ChangeLog,v 1.48 2012/08/24 14:22:51 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/ChangeLog,v 1.49 2012/09/07 21:57:19 radhermit Exp $ + +*apsw-3.7.14.1 (07 Sep 2012) + + 07 Sep 2012; Tim Harder <radhermit@gentoo.org> +apsw-3.7.14.1.ebuild: + Version bump. 24 Aug 2012; Agostino Sarubbo <ago@gentoo.org> apsw-3.7.13.1.ebuild: Stable for amd64, wrt bug #432432 diff --git a/dev-python/apsw/apsw-3.7.14.1.ebuild b/dev-python/apsw/apsw-3.7.14.1.ebuild new file mode 100644 index 000000000000..d70d6189bd4a --- /dev/null +++ b/dev-python/apsw/apsw-3.7.14.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/apsw-3.7.14.1.ebuild,v 1.1 2012/09/07 21:57:19 radhermit Exp $ + +EAPI="4" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*" + +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="doc" + +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 + if use doc ; then + dohtml -r doc/* + fi +} |