From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 943A7139694 for ; Mon, 27 Feb 2017 05:38:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA382E0C8D; Mon, 27 Feb 2017 05:38:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A0ABDE0C8D for ; Mon, 27 Feb 2017 05:38:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 581C3340AD2 for ; Mon, 27 Feb 2017 05:38:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE13B5608 for ; Mon, 27 Feb 2017 05:38:05 +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: <1488173864.b1f6fa43faefeddc64ae29ab84b9d20e96f3b3c8.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.17.0_p1.ebuild X-VCS-Directories: dev-python/apsw/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: b1f6fa43faefeddc64ae29ab84b9d20e96f3b3c8 X-VCS-Branch: master Date: Mon, 27 Feb 2017 05:38:05 +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: 3fb45103-0645-4356-baf3-51f3b0d73f7c X-Archives-Hash: 64c83c965d029398624e2d6214a44f46 commit: b1f6fa43faefeddc64ae29ab84b9d20e96f3b3c8 Author: Tim Harder gentoo org> AuthorDate: Mon Feb 27 05:19:01 2017 +0000 Commit: Tim Harder gentoo org> CommitDate: Mon Feb 27 05:37:44 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1f6fa43 dev-python/apsw: version bump to 3.17.0_p1 dev-python/apsw/Manifest | 1 + dev-python/apsw/apsw-3.17.0_p1.ebuild | 43 +++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 77a8bfcb25..5eb5157fdd 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -4,3 +4,4 @@ DIST apsw-3.14.1_p1.zip 693104 SHA256 e76f955bfa22bda7e46423218ba7ac8f460af3ebfe DIST apsw-3.15.0_p1.zip 690750 SHA256 cac4d2afad9661892aafa46dcba19a6982f3fc56be7a48322e75660c4662b3d5 SHA512 eca4c5264334009feec56bbb25ff4285936ab4690e49309fc82abfa6e6a7ebfa62bbb4a773024f93f99f6fced7651ede2a431c118eca9918b458e90f6e626ae8 WHIRLPOOL 1a269548aae2396a0922602cd99f93488c5fdf3e1ad60ef4eb0111c3666d23952c8e613ccf1f93637e2f56730b8382f744188dd87983d76e4b8a86bc28fa0f8b DIST apsw-3.15.1_p1.zip 690913 SHA256 8122431b7d8d698221e2544fefa7be9d50d440e183a52d7fad9ccc6cc8032a8b SHA512 4d0e83e2b956b0333a21c23fe1c44fc39f1dc9ef66c79e4c22de897afa5e2d7444ba35f04426255b3f2392d17a41d54d3cec48737f6de0fad151adac8ee568f8 WHIRLPOOL 1b338b54c382154326c6d4af1900203d18e296d837f2405973a118c4d0d04ee7cc36afdd354b177fd38d196c5cc8cb5c2dd5643d63eb317049893830d50c9c9b DIST apsw-3.15.2_p1.zip 691032 SHA256 840a5be3019ee50d37a216179b845095571c0aa7fc612902b7182f2249a092b9 SHA512 111ae410b30dcf0d3718d2898f93d315194eac51aa51f6920fdc09e4883178c0400b66e4916b3adb6da8ee16c71076cde1007d96aad38014ec89d3d4060ac137 WHIRLPOOL 5f313701283c73702bea973b4a18c0af1ae02013dca6b8d87b33a6e3ba574ad1018ff081f82e8c882c7d7368a002eb6e66507cbddb91aa8df01445e20639832a +DIST apsw-3.17.0_p1.zip 689144 SHA256 ceed784f28afec5045571892da4740a0e03d6d6d581ed24a818c67f0a189dd1c SHA512 9fc63f3596aaa931b526efed5ffc0654d80477ae2cd27361430d8376641eedf7bba482edcf65e99f0cac4ed42597805c6c95f28ff9843502c779335df5d38b77 WHIRLPOOL c9dafef922dbdaa0655fd1773498d2e4d9e209ea5ca90a3478852f33629369bd99b0670a4f116da491b4db07bb4b8137863b2831922bf15b88bba4e3b8463b6e diff --git a/dev-python/apsw/apsw-3.17.0_p1.ebuild b/dev-python/apsw/apsw-3.17.0_p1.ebuild new file mode 100644 index 0000000000..2ce09c7655 --- /dev/null +++ b/dev-python/apsw/apsw-3.17.0_p1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +}