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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E499F15808B for ; Sun, 17 Apr 2022 08:39:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 576832BC00C; Sun, 17 Apr 2022 08:39:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3B7B72BC00C for ; Sun, 17 Apr 2022 08:39:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A9E82341825 for ; Sun, 17 Apr 2022 08:39:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2C603BB for ; Sun, 17 Apr 2022 08:39:03 +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: <1650184736.cbda7ac4f0c9cb8bca81eebf34fb3a563a11efdc.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.13.ebuild dev-python/indexed_gzip/metadata.xml X-VCS-Directories: dev-python/indexed_gzip/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cbda7ac4f0c9cb8bca81eebf34fb3a563a11efdc X-VCS-Branch: master Date: Sun, 17 Apr 2022 08:39:03 +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: ee12f2b8-a61b-4e96-994a-0f710382b3ba X-Archives-Hash: 65fc5c19dec8d74b1c99196ec69c7e56 commit: cbda7ac4f0c9cb8bca81eebf34fb3a563a11efdc Author: Michał Górny gentoo org> AuthorDate: Sun Apr 17 07:56:51 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Apr 17 08:38:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbda7ac4 dev-python/indexed_gzip: Bump to 1.6.13 Signed-off-by: Michał Górny gentoo.org> dev-python/indexed_gzip/Manifest | 1 + dev-python/indexed_gzip/indexed_gzip-1.6.13.ebuild | 50 ++++++++++++++++++++++ dev-python/indexed_gzip/metadata.xml | 2 +- 3 files changed, 52 insertions(+), 1 deletion(-) diff --git a/dev-python/indexed_gzip/Manifest b/dev-python/indexed_gzip/Manifest index 336034b66ccb..a9c5f0491a55 100644 --- a/dev-python/indexed_gzip/Manifest +++ b/dev-python/indexed_gzip/Manifest @@ -1 +1,2 @@ +DIST indexed_gzip-1.6.13.tar.gz 102730 BLAKE2B 8ab5490c3c830121ce3104c624fe36cb0064f6265b5e5f9ebd6efb0402c33e206b4d97c35803fa10fdbc25a7ccac61f19b2fd9bfb205e07acee40737d6404659 SHA512 de8a606f712a0bddf618cedac12d2b5613e14aaaacc93d1930352101bdeaca8bd5126dd67df36d691f31bc27d553a61901934bbb0b2514e4360c6cd49e395c41 DIST indexed_gzip-1.6.4.tar.gz 101683 BLAKE2B 01d34b33f8d6a623f92bd3f6751303b32f3834e9fb7849b13b82080eeaa91bb29fa38e45287256b6946ecafae7fd000f0cd12f004662eb2e5ad9f31be7378505 SHA512 b7b804c99c560f939a165fdd6d4b881fab2dd2664cecf88f9d9dba46c389efa4839dfbffd19a1a30b801e2fde43580279ea2adab5fd0bbb379ad77c568f8d6b9 diff --git a/dev-python/indexed_gzip/indexed_gzip-1.6.13.ebuild b/dev-python/indexed_gzip/indexed_gzip-1.6.13.ebuild new file mode 100644 index 000000000000..71ce12536dee --- /dev/null +++ b/dev-python/indexed_gzip/indexed_gzip-1.6.13.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Fast random access of gzip files in Python" +HOMEPAGE=" + https://pypi.org/project/indexed-gzip/ + 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_compile() { + if use test; then + export INDEXED_GZIP_TESTING=1 + fi + distutils-r1_src_compile +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)/indexed_gzip/tests" || die + epytest +} diff --git a/dev-python/indexed_gzip/metadata.xml b/dev-python/indexed_gzip/metadata.xml index bc43b287423a..a452ad470e8d 100644 --- a/dev-python/indexed_gzip/metadata.xml +++ b/dev-python/indexed_gzip/metadata.xml @@ -21,7 +21,7 @@ compression standard), but will work with any GZIP file. - pauldmccarthy/indexed_gzip + pauldmccarthy/indexed-gzip indexed-gzip