From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 66F56139898 for ; Tue, 25 Aug 2015 04:50:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01D761419B; Tue, 25 Aug 2015 04:50:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9177E1419B for ; Tue, 25 Aug 2015 04:50:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B65F7340861 for ; Tue, 25 Aug 2015 04:50:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C6E4162 for ; Tue, 25 Aug 2015 04:50:07 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1440478114.8523a767db941c4dedfcc56a8f9aa25a745c8daf.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/apsw/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/apsw/Manifest dev-python/apsw/apsw-3.8.10.1_p1.ebuild X-VCS-Directories: dev-python/apsw/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 8523a767db941c4dedfcc56a8f9aa25a745c8daf X-VCS-Branch: master Date: Tue, 25 Aug 2015 04:50:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b6756a4c-ea2d-49f5-aa5e-6cefd707c89a X-Archives-Hash: e04626ca35f7ea00992bced67211e08b commit: 8523a767db941c4dedfcc56a8f9aa25a745c8daf Author: Tim Harder gentoo org> AuthorDate: Tue Aug 25 04:44:13 2015 +0000 Commit: Tim Harder gentoo org> CommitDate: Tue Aug 25 04:48:34 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8523a767 dev-python/apsw: version bump dev-python/apsw/Manifest | 1 + dev-python/apsw/apsw-3.8.10.1_p1.ebuild | 55 +++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index fb4a27c..9728762 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1 +1,2 @@ +DIST apsw-3.8.10.1_p1.tar.gz 307142 SHA256 af20221e1a65f593b47d83f1f8a136afc6d2199a22bc014251a44e31e7b0ca17 SHA512 1f997c6c88ca65995c8b5d894135d5900a4d2f56f877f74f0e99eab4ede0d06be5730ce282a5d99358318ca076eec75f2afe271574b6c02aaabf4bef181d0bda WHIRLPOOL 3e9b609a19ee39edda9af8140982c74d53d3e2b4c0bd05ea53974cb7a3c2f12f13ab4acf1d51ac5b50ee738f5380dc83b819e0ed11bf28107f903f0a52eb5949 DIST apsw-3.8.7.1_p1.tar.gz 303446 SHA256 7aee29cc170332aa1a16fb80753152e809208bbc91823f64178e4afc32526fec SHA512 104aad3a8cec07647b71c77814cc069587daf84450b41f992d0b3c752c476105351b28912768a29f7952bfd75e9b2d3fcd8e6ae758b3bab8b986bf8e1300c256 WHIRLPOOL cc95728b07e384ee88002afce4b68abcfb259a62188cc77bad1154a83bf3e1979fec8761fe8a3c9e5ae35d5027cdf42c1b4a4b7749ad76d7935e032e253c8167 diff --git a/dev-python/apsw/apsw-3.8.10.1_p1.ebuild b/dev-python/apsw/apsw-3.8.10.1_p1.ebuild new file mode 100644 index 0000000..a61ba23 --- /dev/null +++ b/dev-python/apsw/apsw-3.8.10.1_p1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +MY_PV=${PV/_p/-r} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="APSW - Another Python SQLite Wrapper" +HOMEPAGE="https://code.google.com/p/apsw/" +HOMEPAGE="https://github.com/rogerbinns/apsw/" +SRC_URI="https://github.com/rogerbinns/apsw/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +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() { + if ! python_is_python3; then + local CFLAGS="${CFLAGS} -fno-strict-aliasing" + export CFLAGS + fi + distutils-r1_python_compile --enable=load_extension +} + +src_test() { + # tests use overlapping database files + local DISTUTILS_NO_PARALLEL_BUILD=1 + distutils-r1_src_test +} + +python_test() { + "${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed" + "${PYTHON}" tests.py -v || die +} + +python_install_all() { + distutils-r1_python_install_all + if use doc ; then + dohtml -r doc/* + fi +}