summaryrefslogtreecommitdiff
path: root/dev-python/reproject
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/reproject
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/reproject')
-rw-r--r--dev-python/reproject/Manifest4
-rw-r--r--dev-python/reproject/metadata.xml20
-rw-r--r--dev-python/reproject/reproject-0.3.1.ebuild43
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/reproject/Manifest b/dev-python/reproject/Manifest
new file mode 100644
index 000000000000..d9200f5bf390
--- /dev/null
+++ b/dev-python/reproject/Manifest
@@ -0,0 +1,4 @@
+DIST reproject-0.3.1.tar.gz 653996 SHA256 4a5d9b290361d3804cd7a1bbbfe8af1a96a451faaa33be80e8e7b6a5f5add998 SHA512 5739ee812862e6558c46ebd79b9b73214093df2b6d0c603d94586c0f8908a4b29004f07380ca143fb59bcc4d33c19b0a81a1185b1a2cc60ff7be943c0f1e243f WHIRLPOOL 77154655b834534e6c6c7c2e2897a3190d770ea92dcd0adf0f58e57342702c61aa8b9fef036378fd367fa42246b09518c707cd8f4598f01b1311e9fb2c666d5c
+EBUILD reproject-0.3.1.ebuild 1024 SHA256 b803488b322f7df387c885fbb6b6e9836bb920e62482121a41c731f692c4837a SHA512 e7b748d58903dffe837866b9404e726ff0045873e4d99d3f92e0b781aaf6c55a46ea8c5184cef16449ebbf2559b6933e282759f8f53f8610091774ad01c4bf63 WHIRLPOOL 4fd657bb4d55b269c839131e02c8467c303971fc1ac24ce27f8f00c588f530b96b6899e6f8b31b3029fb48ab2516d87666f45acbd1e615c4046caaaaaf128b4a
+MISC ChangeLog 480 SHA256 eff07ab71e5523060c610800baf015b11c1ea74311670bdf7c290fa27644ec5e SHA512 c3bcdef9e085ddbd251b5f5ff9b8d0d24b118b8088f5971d81969383119778d992386d8d263be700aa30c7502769037630835a3f56272b9ed000298fa92a5046 WHIRLPOOL 34617d7b8df01a58205b5f87f98a8ed9be2fc8e51a5f6a597636de56e2abb690c2b26d744fcd80ebf08a54f953f2c382d67f935cc25fd0846933e973446cd0e3
+MISC metadata.xml 901 SHA256 416fa4354c412c83c0e1ac2d9842ee2739bcd22684f4ead8bcc8c0983259047d SHA512 6a80440fec75e6cf6419bc946c662ed8a6c4d177299291080d6ff1a36163b4b386ede0706a683dd27bd007167a0a98f671faae6fb813cf62796352c8e2d0acb5 WHIRLPOOL 1ef2b9255827db98e6a091c96c2734ab998c2b4d9f0f5e6313226b5a16af85942b0aa06939ffef1e4cc286c2e951c8d51a67ba61b44a03ef0c7fcc7954731c24
diff --git a/dev-python/reproject/metadata.xml b/dev-python/reproject/metadata.xml
new file mode 100644
index 000000000000..7a7ae6566090
--- /dev/null
+++ b/dev-python/reproject/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-astronomy@gentoo.org</email>
+ <name>Gentoo Astronomy Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ This is a package to reproject astronomical images using various techniques
+ via a uniform interface. Reprojection means the re-gridding of images from
+ one world coordinate system to another (for example changing the pixel
+ resolution, orientation, coordinate system). Currently implemented are
+ reprojection of celestial images by interpolation, as well as by finding the
+ exact overlap between pixels on the celestial sphere. It can also reproject
+ to/from HEALPIX projections.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">reproject</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/reproject/reproject-0.3.1.ebuild b/dev-python/reproject/reproject-0.3.1.ebuild
new file mode 100644
index 000000000000..6324cc1a4441
--- /dev/null
+++ b/dev-python/reproject/reproject-0.3.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Reproject astronomical images with Python"
+HOMEPAGE="http://reproject.readthedocs.org"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+RDEPEND="
+ dev-python/astropy[${PYTHON_USEDEP}]
+ sci-libs/scipy[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/astropy-helpers[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ use doc && esetup.py build_sphinx -w
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/ )
+ distutils-r1_python_install_all
+}