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 27C06138330 for ; Mon, 12 Sep 2016 00:00:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7B01E0979; Mon, 12 Sep 2016 00:00:13 +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 84B21E0979 for ; Mon, 12 Sep 2016 00:00:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A256E340845 for ; Mon, 12 Sep 2016 00:00:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC09E247B for ; Mon, 12 Sep 2016 00:00:09 +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: <1473638402.65be2c8fc2b6b5a9b9a97ffac053dae280d2c391.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.14.1_p1.ebuild X-VCS-Directories: dev-python/apsw/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 65be2c8fc2b6b5a9b9a97ffac053dae280d2c391 X-VCS-Branch: master Date: Mon, 12 Sep 2016 00:00:09 +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: 46d69916-4211-432b-b67c-4b9cd83868e4 X-Archives-Hash: 6b32c9b19f6d045a669c2b1336e7bb23 commit: 65be2c8fc2b6b5a9b9a97ffac053dae280d2c391 Author: Tim Harder gentoo org> AuthorDate: Sun Sep 11 23:58:32 2016 +0000 Commit: Tim Harder gentoo org> CommitDate: Mon Sep 12 00:00:02 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65be2c8f dev-python/apsw: version bump to 3.14.1_p1 dev-python/apsw/Manifest | 1 + dev-python/apsw/apsw-3.14.1_p1.ebuild | 43 +++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 4f3fc89..6238a50 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1,2 +1,3 @@ DIST apsw-3.11.1_p1.zip 679045 SHA256 92685d555bb5bdbf5ec85563cd826f76630c33a589ef2528e8f14f73a8bcc95f SHA512 3976b14ade967b2e39fdd18436e7a9a2f8f4f5b289ee93725878bd8bfa15ccb7548156df8cca981f494a4cdcc7aaed5370fde2b805e6eea022892ece1231bd96 WHIRLPOOL 8ad615ba3b5f15cdd36c15a370b036a4fddf92b69b6b0058d3fdf8d83bd2b39251d11b3cd291319c08ad09baf3f26d1b0cff3d54777e6c7169e335e985a0d1e9 DIST apsw-3.13.0_p1.zip 692414 SHA256 1f8e337f88befb609427d468ee87c99da0b9477a9cdfd02423a728d0ed10d576 SHA512 6efa73eacc413c7b1ed4a8fd3a510d7c86cab85dee4f89055101154a0e3a00adee6fa79fd44dff25bc4b3075adaa4e6f56270336bf73141eeffa340d8047c3e4 WHIRLPOOL 54a69ce647047ffb885f3d8da9974a19b88cc99140b380c406069e86e92cd6ef5fc9d091de21c7f30afffe2fa0f5aa4b4af307ea063a1783f0bad4fa40cff1be +DIST apsw-3.14.1_p1.zip 693104 SHA256 e76f955bfa22bda7e46423218ba7ac8f460af3ebfe02faedd938600262c6798e SHA512 1f2a8c47a89656e3c3e2320185b0020ffd414aa28c9b9629b0504767b15c5ccded0e896ddc514f048ad9e0a5f262fbb6b945788ff215504fe1a72395a564becf WHIRLPOOL 0731ed3b38fe2c59b1dbdee9fa336bad49c1d1e69e8fb05383e50e2cbff05ce1798319c12f2ee00997c6010fb50441db8e1caf9781ca2b496d939e6fa17f24e4 diff --git a/dev-python/apsw/apsw-3.14.1_p1.ebuild b/dev-python/apsw/apsw-3.14.1_p1.ebuild new file mode 100644 index 00000000..7df7939 --- /dev/null +++ b/dev-python/apsw/apsw-3.14.1_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} ) + +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 +}