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, 13 Oct 2018 13:34:33 +0000 (UTC) [thread overview]
Message-ID: <1539437667.ceda8192bf6732a252ef613c538f623d1cc7ffe0.mgorny@gentoo> (raw)
commit: ceda8192bf6732a252ef613c538f623d1cc7ffe0
Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Fri Oct 5 14:58:51 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 13 13:34:27 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceda8192
dev-python/indexed_gzip: new package
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Horea Christian <horea.christ <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/10077
dev-python/indexed_gzip/Manifest | 1 +
dev-python/indexed_gzip/indexed_gzip-0.8.7.ebuild | 40 +++++++++++++++++++++++
dev-python/indexed_gzip/metadata.xml | 23 +++++++++++++
3 files changed, 64 insertions(+)
diff --git a/dev-python/indexed_gzip/Manifest b/dev-python/indexed_gzip/Manifest
new file mode 100644
index 00000000000..72b2a3f1cb2
--- /dev/null
+++ b/dev-python/indexed_gzip/Manifest
@@ -0,0 +1 @@
+DIST indexed_gzip-0.8.7.tar.gz 77640 BLAKE2B ff35693204a41df439b835f232b4e0ad5ceab19532a7f1f4a4aba5cfd810f447ea56c0f6cc0c5600f32317c5a4f4283a3dd5bc791dc9aec5742303728e76ecc2 SHA512 90872898b69269f42d28f61f7840879c1942060da923e8d5480c4f99feb160c1b03412378b1dda3cdf94f64434d81e4cdc524e19c268797f11444362149d0e18
diff --git a/dev-python/indexed_gzip/indexed_gzip-0.8.7.ebuild b/dev-python/indexed_gzip/indexed_gzip-0.8.7.ebuild
new file mode 100644
index 00000000000..3533fde36c9
--- /dev/null
+++ b/dev-python/indexed_gzip/indexed_gzip-0.8.7.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+inherit distutils-r1 virtualx
+
+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"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+ test? (
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )
+ "
+RDEPEND=""
+
+src_compile() {
+ if use test; then
+ export INDEXED_GZIP_TESTING=1
+ fi
+ distutils-r1_src_compile
+}
+
+python_test() {
+ cp conftest.py "${BUILD_DIR}" || die
+ cd "${BUILD_DIR}" || die
+ pytest -vv --nelems 500000 --niters 250 || die
+}
diff --git a/dev-python/indexed_gzip/metadata.xml b/dev-python/indexed_gzip/metadata.xml
new file mode 100644
index 00000000000..11c36e8de92
--- /dev/null
+++ b/dev-python/indexed_gzip/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>horea.christ@gmail.com</email>
+ <name>Horea Christian</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ The indexed_gzip project is a Python extension which aims to provide a
+ drop-in replacement for the built-in Python gzip.GzipFile class,
+ the IndexedGzipFile. This package was written to allow fast random
+ access of compressed NIFTI image files (for which GZIP is the de-facto
+ compression standard), but will work with any GZIP file.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">pauldmccarthy/indexed_gzip</remote-id>
+ <remote-id type="pypi">indexed-gzip"</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2018-10-13 13:34 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-13 13:34 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-02-19 13:32 [gentoo-commits] repo/gentoo:master commit in: dev-python/indexed_gzip/ Joonas Niilola
2020-02-19 13:32 Joonas Niilola
2020-03-27 15:37 Michał Górny
2020-11-17 17:43 Michał Górny
2021-05-24 10:22 Michał Górny
2021-05-24 10:22 Michał Górny
2021-05-26 8:19 Michał Górny
2021-09-04 7:47 Michał Górny
2021-09-14 21:35 Michał Górny
2021-10-17 8:58 Michał Górny
2021-10-19 7:22 Michał Górny
2021-11-14 8:46 Michał Górny
2022-04-17 8:39 Michał Górny
2022-04-17 16:54 Michał Górny
2022-05-16 13:20 Michał Górny
2022-05-16 13:20 Michał Górny
2022-06-12 18:28 Michał Górny
2022-09-15 20:34 Arthur Zamarin
2022-11-14 4:39 Michał Górny
2023-04-01 6:13 Michał Górny
2023-04-08 6:08 Michał Górny
2023-05-04 16:17 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=1539437667.ceda8192bf6732a252ef613c538f623d1cc7ffe0.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