summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-26 17:11:45 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-26 17:11:45 +0000
commit4fbeb0f2ac8f30d6d5e4463e1bc8240c7a3e8339 (patch)
tree24394dbc21d54a19d89e2794e42944dfa28f57c4 /dev-python/apsw
parentRemove pointless doman (diff)
downloadgentoo-2-4fbeb0f2ac8f30d6d5e4463e1bc8240c7a3e8339.tar.gz
gentoo-2-4fbeb0f2ac8f30d6d5e4463e1bc8240c7a3e8339.tar.bz2
gentoo-2-4fbeb0f2ac8f30d6d5e4463e1bc8240c7a3e8339.zip
Version bump.
(Portage version: 2.2.0_alpha30_p2/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/apsw')
-rw-r--r--dev-python/apsw/ChangeLog8
-rw-r--r--dev-python/apsw/apsw-3.7.6.2.1.ebuild53
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-python/apsw/ChangeLog b/dev-python/apsw/ChangeLog
index ec00bcd05f8a..79309f88759f 100644
--- a/dev-python/apsw/ChangeLog
+++ b/dev-python/apsw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/apsw
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/ChangeLog,v 1.36 2011/04/10 20:50:37 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/ChangeLog,v 1.37 2011/04/26 17:11:45 arfrever Exp $
+
+*apsw-3.7.6.2.1 (26 Apr 2011)
+
+ 26 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +apsw-3.7.6.2.1.ebuild:
+ Version bump.
10 Apr 2011; Markus Meier <maekke@gentoo.org> apsw-3.7.5.1.ebuild:
x86 stable, bug #348090
diff --git a/dev-python/apsw/apsw-3.7.6.2.1.ebuild b/dev-python/apsw/apsw-3.7.6.2.1.ebuild
new file mode 100644
index 000000000000..74b07224cc06
--- /dev/null
+++ b/dev-python/apsw/apsw-3.7.6.2.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/apsw-3.7.6.2.1.ebuild,v 1.1 2011/04/26 17:11:45 arfrever Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="*-jython"
+
+inherit distutils eutils versionator
+
+MY_PV="$(replace_version_separator 4 -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"
+}