summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-19 13:03:02 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-19 13:03:02 +0000
commit0474dbdb47f91c6d6e3a587cfed814cc70192dda (patch)
treeacd64ae6285bf1bb80201228096f408e2b5b7eb6 /dev-python
parentppc64 stable wrt #344827 (diff)
downloadgentoo-2-0474dbdb47f91c6d6e3a587cfed814cc70192dda.tar.gz
gentoo-2-0474dbdb47f91c6d6e3a587cfed814cc70192dda.tar.bz2
gentoo-2-0474dbdb47f91c6d6e3a587cfed814cc70192dda.zip
Version bump.
(Portage version: 2.2.0_alpha9_p4/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/apsw/ChangeLog8
-rw-r--r--dev-python/apsw/apsw-3.7.4.1.ebuild53
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-python/apsw/ChangeLog b/dev-python/apsw/ChangeLog
index 4f8f331b75ef..385b252cf6a7 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.33 2010/11/07 15:47:35 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/ChangeLog,v 1.34 2010/12/19 13:03:02 arfrever Exp $
+
+*apsw-3.7.4.1 (19 Dec 2010)
+
+ 19 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +apsw-3.7.4.1.ebuild:
+ Version bump.
*apsw-3.7.3.1 (07 Nov 2010)
diff --git a/dev-python/apsw/apsw-3.7.4.1.ebuild b/dev-python/apsw/apsw-3.7.4.1.ebuild
new file mode 100644
index 000000000000..904cfa89b6b1
--- /dev/null
+++ b/dev-python/apsw/apsw-3.7.4.1.ebuild
@@ -0,0 +1,53 @@
+# 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.4.1.ebuild,v 1.1 2010/12/19 13:03:02 arfrever Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="*-jython"
+
+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"
+}