summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-11-18 14:12:40 -0500
committerTim Harder <radhermit@gentoo.org>2017-11-18 21:49:53 -0500
commitb6d878c1953cb701d0ec8208cc905c6457116950 (patch)
tree596559af758e48dd7b79d4cd9e9763ea76ea415a /dev-python/apsw
parentdev-python/llfuse: version bump to 1.3.2 (diff)
downloadgentoo-b6d878c1953cb701d0ec8208cc905c6457116950.tar.gz
gentoo-b6d878c1953cb701d0ec8208cc905c6457116950.tar.bz2
gentoo-b6d878c1953cb701d0ec8208cc905c6457116950.zip
dev-python/apsw: version bump to 3.21.0_p1
Diffstat (limited to 'dev-python/apsw')
-rw-r--r--dev-python/apsw/Manifest1
-rw-r--r--dev-python/apsw/apsw-3.21.0_p1.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest
index 0b29eb81f482..dc0de3849852 100644
--- a/dev-python/apsw/Manifest
+++ b/dev-python/apsw/Manifest
@@ -1,2 +1,3 @@
DIST apsw-3.19.3_p1.zip 678966 SHA256 355b66379e9e44c1f32bc67421e4ad0a348a19bf279a4256a49d0eb83fff404e SHA512 9f9e05c865a19e7b6e6b37e6228027c027ba683be2d5ff7a1767bb3bbeb090bf66879a0eead4fc9e34fc4d84c1edc98137b2839f84ffab9bd36330d05435ab4e WHIRLPOOL 6703b13f42711f95a86a1c4a0e20bfc378823c24ee78c1ad7bb4e956bd9a927abe777a0c8c9b81c7d24130b76ba2019e048465e0cc59575a8e419f1b97847d7a
DIST apsw-3.20.1_p1.zip 680035 SHA256 3ea97084f76049328a5d40eee8c6c86ae303e5be66d2900b521bbc6ebfefaf0a SHA512 12284a99efba13abe417a786939e2ab10d677014feb9393e41cc7b127fb974cb961f371c142904bbe48a96038d49605c885fa43739a14ef8e11fb37ea274ce92 WHIRLPOOL d679e4c016d2041c95c9e331e02864ac4eb9308748ca1122b6faf4acaaad087840702cffbe01d21c4e4345d505750911a6d0611d469c94af995416de4af2dbf8
+DIST apsw-3.21.0_p1.zip 680827 SHA256 fded57f82e6f021c1ece3c08508a558145746d567f67a4f8f3ab13cc18be9277 SHA512 c2009d243765532e27220478d1164f97201afbd2b1de1e4090b4f35b63c83d0a82d2bdfe14c6625858867633995d3d8eef91f17ecbbd915f99e5a4a4edfa7b61 WHIRLPOOL 97596b557c1abe930a9704e6f2318026ef3ac589a11a048f165ec05d54f949df82d71badee8c4806bf0a62a26bf68fc908d9b95c736db8ae95aa4c9af43e7d6a
diff --git a/dev-python/apsw/apsw-3.21.0_p1.ebuild b/dev-python/apsw/apsw-3.21.0_p1.ebuild
new file mode 100644
index 000000000000..f2bb6b9990b9
--- /dev/null
+++ b/dev-python/apsw/apsw-3.21.0_p1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1 flag-o-matic
+
+MY_PV=${PV/_p/-r}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="APSW - Another Python SQLite Wrapper"
+HOMEPAGE="https://github.com/rogerbinns/apsw/"
+SRC_URI="https://github.com/rogerbinns/apsw/releases/download/${MY_PV}/${MY_P}.zip -> ${P}.zip"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-db/sqlite-${PV%_p*}"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}/${PN}-3.6.20.1-fix_tests.patch" )
+
+python_compile() {
+ python_is_python3 || append-cflags -fno-strict-aliasing
+ distutils-r1_python_compile --enable=load_extension
+}
+
+python_test() {
+ "${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed"
+ "${PYTHON}" tests.py -v || die "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/. )
+ distutils-r1_python_install_all
+}