1
0
Fork 0

Added package ahead of main tree

https://github.com/gentoo/gentoo/pull/10077
This commit is contained in:
Horea Christian 2018-10-05 17:22:37 +02:00
parent 4a9079764d
commit 35abe2d85c
3 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST indexed_gzip-0.8.7.tar.gz 77640 BLAKE2B ff35693204a41df439b835f232b4e0ad5ceab19532a7f1f4a4aba5cfd810f447ea56c0f6cc0c5600f32317c5a4f4283a3dd5bc791dc9aec5742303728e76ecc2 SHA512 90872898b69269f42d28f61f7840879c1942060da923e8d5480c4f99feb160c1b03412378b1dda3cdf94f64434d81e4cdc524e19c268797f11444362149d0e18
EBUILD indexed_gzip-0.8.7.ebuild 884 BLAKE2B 698c9ff852d950b78b6bb9004f0671f7c6ee737061f63c714873d44b31012d18183148dd6f2d68b0288dd9daf7d5e803f23735af7c781fe3db0b56b4bbb88fd0 SHA512 415634bc5522e392d0b73429c600116e4dd62577735d3a49d4a41b3d52defad130dcb3aa7215a42fdfcf9cc864ac46165a8778c53a130558da7c1a41ac006915
MISC metadata.xml 902 BLAKE2B 8d1c493782d05a3c3626279266a44b0d0954977dccbd9d0a87e2f1e744dd6b87c21a8d61d4967da6ec278d09b87c5939b7997ab1138346e63616aa65de6c9b4e SHA512 c6bc3e97af583690a86620ed44925827d3320bd295018c44c7dd057848c6c9833906ac35e99404032377b8f6584b2bce92deb1465dec9e0f7daa21f66c52120b

View File

@ -0,0 +1,41 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6} )
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"
DEPEND="
dev-python/cython[${PYTHON_USEDEP}]
test? (
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-cov[${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}"
cd "${BUILD_DIR}" || die
pytest -v -s || die
}

View File

@ -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>