public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/indexed_gzip/
Date: Sat,  1 Apr 2023 06:13:14 +0000 (UTC)	[thread overview]
Message-ID: <1680329585.c5dd98a1a5cb3a850740d426e6514e187840c5ec.mgorny@gentoo> (raw)

commit:     c5dd98a1a5cb3a850740d426e6514e187840c5ec
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  1 04:57:51 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr  1 06:13:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5dd98a1

dev-python/indexed_gzip: Bump to 1.7.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/indexed_gzip/Manifest                  |  1 +
 dev-python/indexed_gzip/indexed_gzip-1.7.1.ebuild | 54 +++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/indexed_gzip/Manifest b/dev-python/indexed_gzip/Manifest
index 865b6bdb499f..2cd0d1ba5921 100644
--- a/dev-python/indexed_gzip/Manifest
+++ b/dev-python/indexed_gzip/Manifest
@@ -1 +1,2 @@
 DIST indexed_gzip-1.7.0.tar.gz 103849 BLAKE2B b33ef1f19e47c2dc12fd6e6fcc972badf4faaecaa5571aa44c765a6fafbec8e32fe2c4254d4e62722b6e744cfa27470ce517d08025b0492e8c032663b094344e SHA512 80f82699c6b64248f0609fb34e54e3838e642040820381cc64feb70b46721b69207686f9cccd55ebfb10dfcdee5fb5c1bf6404d1cfec07eb5a97767635c5dc4e
+DIST indexed_gzip-1.7.1.tar.gz 74457 BLAKE2B b22d2120adac59e64f5bcf38c831bb54ce5d6c3dd1e959eece9a454908d9ce2aa5dc10557bd63823616bedfe9d0c039a3f1c0512ef1d22a54437353c57e15158 SHA512 fa27e476f115eca1d1d3892c3480de97cb407bd489737bebc44eb28e92be91e14312cde33a67af145b44c7d93ccc706498c2cbfe6cbff5b9b091dd083cde0f7e

diff --git a/dev-python/indexed_gzip/indexed_gzip-1.7.1.ebuild b/dev-python/indexed_gzip/indexed_gzip-1.7.1.ebuild
new file mode 100644
index 000000000000..98bdec35563f
--- /dev/null
+++ b/dev-python/indexed_gzip/indexed_gzip-1.7.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Fast random access of gzip files in Python"
+HOMEPAGE="
+	https://pypi.org/project/indexed-gzip/
+	https://github.com/pauldmccarthy/indexed_gzip/
+"
+
+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() {
+	# strip custom "clean" command that doesn't support "-a"
+	# https://bugs.gentoo.org/838955
+	# TODO: this can be removed once distutils-r1 stops using clean
+	sed -e '/cmdclass/d' -i setup.py || 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}/install$(python_get_sitedir)/indexed_gzip/tests" || die
+	epytest
+}


             reply	other threads:[~2023-04-01  6:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-01  6:13 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-04 16:17 [gentoo-commits] repo/gentoo:master commit in: dev-python/indexed_gzip/ Michał Górny
2023-04-08  6:08 Michał Górny
2022-11-14  4:39 Michał Górny
2022-09-15 20:34 Arthur Zamarin
2022-06-12 18:28 Michał Górny
2022-05-16 13:20 Michał Górny
2022-05-16 13:20 Michał Górny
2022-04-17 16:54 Michał Górny
2022-04-17  8:39 Michał Górny
2021-11-14  8:46 Michał Górny
2021-10-19  7:22 Michał Górny
2021-10-17  8:58 Michał Górny
2021-09-14 21:35 Michał Górny
2021-09-04  7:47 Michał Górny
2021-05-26  8:19 Michał Górny
2021-05-24 10:22 Michał Górny
2021-05-24 10:22 Michał Górny
2020-11-17 17:43 Michał Górny
2020-03-27 15:37 Michał Górny
2020-02-19 13:32 Joonas Niilola
2020-02-19 13:32 Joonas Niilola
2018-10-13 13:34 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1680329585.c5dd98a1a5cb3a850740d426e6514e187840c5ec.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox