diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/reproject | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/reproject')
-rw-r--r-- | dev-python/reproject/Manifest | 3 | ||||
-rw-r--r-- | dev-python/reproject/metadata.xml | 20 | ||||
-rw-r--r-- | dev-python/reproject/reproject-0.3.1.ebuild | 43 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/reproject/Manifest b/dev-python/reproject/Manifest new file mode 100644 index 000000000000..be430d3b9369 --- /dev/null +++ b/dev-python/reproject/Manifest @@ -0,0 +1,3 @@ +DIST reproject-0.3.1.tar.gz 653996 BLAKE2B 6dca886dab21922d76bc32fbfb068264f206459b364c23beab7eb10990cdf6dec7c998e3b0cdc70fa8d5dd83c3c38010c6a39bca26775a8dbd692fc15295ac90 SHA512 5739ee812862e6558c46ebd79b9b73214093df2b6d0c603d94586c0f8908a4b29004f07380ca143fb59bcc4d33c19b0a81a1185b1a2cc60ff7be943c0f1e243f +EBUILD reproject-0.3.1.ebuild 1024 BLAKE2B f777e2b9d865041021b2916aede0a5b52414f8da6430b898798a026f6ba23de5556db6b93e82536679c473d51d536ac7799f0194c9acf40b4fa5b8539a30cd2a SHA512 e7b748d58903dffe837866b9404e726ff0045873e4d99d3f92e0b781aaf6c55a46ea8c5184cef16449ebbf2559b6933e282759f8f53f8610091774ad01c4bf63 +MISC metadata.xml 901 BLAKE2B fbf2170e0b55876770052fb03497ea11b6c2cb1a8c1f5fd72dc5c338b90e6c26080f9beb1a45963578a67b4358f440d64cc5910ef727eb7bd7afef0374c07516 SHA512 6a80440fec75e6cf6419bc946c662ed8a6c4d177299291080d6ff1a36163b4b386ede0706a683dd27bd007167a0a98f671faae6fb813cf62796352c8e2d0acb5 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 +} |