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 91F1E158086 for ; Tue, 19 Oct 2021 07:22:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7DBAE0869; Tue, 19 Oct 2021 07:22:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 81267E0869 for ; Tue, 19 Oct 2021 07:22:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 582CA34395D for ; Tue, 19 Oct 2021 07:22:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C7AF6151 for ; Tue, 19 Oct 2021 07:22:21 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1634628136.90548290e7d1817a32ea5abc5b50d8b3c92a2a5a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/indexed_gzip/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/indexed_gzip/Manifest dev-python/indexed_gzip/indexed_gzip-1.6.4.ebuild X-VCS-Directories: dev-python/indexed_gzip/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 90548290e7d1817a32ea5abc5b50d8b3c92a2a5a X-VCS-Branch: master Date: Tue, 19 Oct 2021 07:22:21 +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: 8027a573-965e-40cb-b8fd-a650929413d9 X-Archives-Hash: 9335be2bb4ca1cc23d4a98528547ad60 commit: 90548290e7d1817a32ea5abc5b50d8b3c92a2a5a Author: Michał Górny gentoo org> AuthorDate: Tue Oct 19 05:55:53 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Oct 19 07:22:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90548290 dev-python/indexed_gzip: Bump to 1.6.4 Signed-off-by: Michał Górny gentoo.org> dev-python/indexed_gzip/Manifest | 1 + dev-python/indexed_gzip/indexed_gzip-1.6.4.ebuild | 44 +++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/indexed_gzip/Manifest b/dev-python/indexed_gzip/Manifest index 7bef8fd7139..10266f8dbc0 100644 --- a/dev-python/indexed_gzip/Manifest +++ b/dev-python/indexed_gzip/Manifest @@ -1 +1,2 @@ DIST indexed_gzip-1.6.3.tar.gz 101073 BLAKE2B 685a8b1d8d69dce138ba6eab8af31d537e130674ba96f9383cc28b4440c472cbdde58f97bcda2d2145177342ade369bd88c44799ba07900ebd653c30678cc58e SHA512 567a54ca23fea63b2a8b386cace0e5bd52e6cf587c7507a555f727cb549b9ab32b1395e3b1ac94c1f09e680a62bb0c079b7bb4be724994813ad52db774b83e20 +DIST indexed_gzip-1.6.4.tar.gz 101683 BLAKE2B 01d34b33f8d6a623f92bd3f6751303b32f3834e9fb7849b13b82080eeaa91bb29fa38e45287256b6946ecafae7fd000f0cd12f004662eb2e5ad9f31be7378505 SHA512 b7b804c99c560f939a165fdd6d4b881fab2dd2664cecf88f9d9dba46c389efa4839dfbffd19a1a30b801e2fde43580279ea2adab5fd0bbb379ad77c568f8d6b9 diff --git a/dev-python/indexed_gzip/indexed_gzip-1.6.4.ebuild b/dev-python/indexed_gzip/indexed_gzip-1.6.4.ebuild new file mode 100644 index 00000000000..f2cf3667d4c --- /dev/null +++ b/dev-python/indexed_gzip/indexed_gzip-1.6.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Fast random access of gzip files in Python" +HOMEPAGE="https://github.com/pauldmccarthy/indexed_gzip" +SRC_URI="https://github.com/pauldmccarthy/indexed_gzip/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + sys-libs/zlib:=" +DEPEND=${RDEPEND} +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + ) + " + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:--cov=indexed_gzip::' setup.cfg || die + distutils-r1_src_prepare +} + +src_compile() { + if use test; then + export INDEXED_GZIP_TESTING=1 + fi + distutils-r1_src_compile +} + +python_test() { + cd "${BUILD_DIR}"/lib/indexed_gzip/tests || die + epytest +}