diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/fitsio | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/fitsio')
| -rw-r--r-- | dev-python/fitsio/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/fitsio/fitsio-1.3.0.ebuild | 43 | ||||
| -rw-r--r-- | dev-python/fitsio/metadata.xml | 23 |
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/fitsio/Manifest b/dev-python/fitsio/Manifest new file mode 100644 index 000000000000..e5c59c3e5a34 --- /dev/null +++ b/dev-python/fitsio/Manifest @@ -0,0 +1 @@ +DIST fitsio-1.3.0.gh.tar.gz 4990432 BLAKE2B d43b140d564326f858f45905b49d70b58fab4a2755cc3dacfe33e4df83fd929db8060dea146f681b35a60ae6a8b6f2662a9af2542a1b6150a2e3837a87d54a76 SHA512 e7e758f69fffe0c1386b30f7b1e392b4162af2ec1ca63389730ac2f5eb41cb7c2b4e9fec831411a9f37a08be80ef9bef39b6fad04d6520e03fabe5501c59ba84 diff --git a/dev-python/fitsio/fitsio-1.3.0.ebuild b/dev-python/fitsio/fitsio-1.3.0.ebuild new file mode 100644 index 000000000000..a7cb69c021b4 --- /dev/null +++ b/dev-python/fitsio/fitsio-1.3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python library to read from and write to FITS files" +HOMEPAGE=" + https://github.com/esheldon/fitsio/ + https://pypi.org/project/fitsio/ +" +SRC_URI=" + https://github.com/esheldon/fitsio/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + >=dev-python/numpy-1.17:=[${PYTHON_USEDEP}] + >=sci-libs/cfitsio-4.4.0:0= +" +RDEPEND=" + ${DEPEND} + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +export FITSIO_USE_SYSTEM_FITSIO=1 + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest +} diff --git a/dev-python/fitsio/metadata.xml b/dev-python/fitsio/metadata.xml new file mode 100644 index 000000000000..13fc4d5d2019 --- /dev/null +++ b/dev-python/fitsio/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-astronomy@gentoo.org</email> + <name>Gentoo Astronomy Project</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en"> + Fitsio provides an easy to use object-oriented API including + providing a Numpy interface to FITS files read from CFITSIO. It + allows direct access to the columns of a FITS binary table which can + be useful for reading large fits files. Compared to astropy.io.fits, + this package is closer to the underlying cfitsio library. + Fitsio also exposes a microlanguage (implemented in CFITSIO) for + making efficient SQL-like queries of tables (single tables only + though–no joins or anything like that). + </longdescription> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
