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 08642138359 for ; Mon, 20 Jul 2020 05:20:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CC9BE0880; Mon, 20 Jul 2020 05:19:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7FC6E0880 for ; Mon, 20 Jul 2020 05:19:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B76134F0C9 for ; Mon, 20 Jul 2020 05:19:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 451FE2A4 for ; Mon, 20 Jul 2020 05:19:54 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1595222385.8d3294d09c905af357f77c6fbe51373ded02229f.zmedico@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.32.2_p1.ebuild X-VCS-Directories: dev-python/apsw/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 8d3294d09c905af357f77c6fbe51373ded02229f X-VCS-Branch: master Date: Mon, 20 Jul 2020 05:19:54 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2d53f3c0-7fa0-416d-9770-c3c30cae2b13 X-Archives-Hash: 1d09945eacd02df6b4aa2a8a3d18bdca commit: 8d3294d09c905af357f77c6fbe51373ded02229f Author: Zac Medico gentoo org> AuthorDate: Mon Jul 20 04:42:48 2020 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Jul 20 05:19:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d3294d0 dev-python/apsw: Bump to version 3.32.2_p1 Closes: https://bugs.gentoo.org/680008 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Zac Medico gentoo.org> dev-python/apsw/Manifest | 1 + dev-python/apsw/apsw-3.32.2_p1.ebuild | 42 +++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index fb007b559ff..be30ab3b14f 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1 +1,2 @@ DIST apsw-3.25.2_p1.zip 682975 BLAKE2B f9f471378cddd7da1c06158b7a041d9377da4d4123846318c0cfc24167734bc1813f667e64c4c6bf643c6a618c9cabf58301dfbaad0998082d764212ea369fff SHA512 073b2fe9170fb00ac6f2ba52eb638d64d79875ba74b09f0307fa2c075e714bb91465fd2edd46341dac5cedc0bee0a1099888b6c1cee706fc04fa6b9ad99c47d7 +DIST apsw-3.32.2_p1.zip 679785 BLAKE2B fb58a60f95a677a805b0347a0d8876e49c657092deeadb60a057f4afc62031313faf5a86b600d1d306e42f305c9af599d2439a7051e400cbba2d9185c213d5d1 SHA512 718de699c43eec139747f63c3c26da206aa20f104ec1c478009d29cedff7a432138726131b2458ecd3a67675254af77e94e50e8e96a208600fe2a94aa9d924c7 diff --git a/dev-python/apsw/apsw-3.32.2_p1.ebuild b/dev-python/apsw/apsw-3.32.2_p1.ebuild new file mode 100644 index 00000000000..baebaf3c8b5 --- /dev/null +++ b/dev-python/apsw/apsw-3.32.2_p1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6..9} ) + +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 +}