commit:     4a10506b1f878c53256bc414ff1027b3b8eecec0
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan  5 11:18:33 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan  5 16:03:37 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=4a10506b

dev-python/reproject: new dep

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/reproject/metadata.xml           |  8 +++++++
 dev-python/reproject/reproject-0.7.1.ebuild | 37 +++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/reproject/metadata.xml 
b/dev-python/reproject/metadata.xml
new file mode 100644
index 000000000..4f4367037
--- /dev/null
+++ b/dev-python/reproject/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo Astronomy Project</name>
+       </maintainer>
+</pkgmetadata>

diff --git a/dev-python/reproject/reproject-0.7.1.ebuild 
b/dev-python/reproject/reproject-0.7.1.ebuild
new file mode 100644
index 000000000..33ca7691c
--- /dev/null
+++ b/dev-python/reproject/reproject-0.7.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Reproject astronomical images"
+HOMEPAGE="https://reproject.readthedocs.io/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+#TODO: Package all these pytest deps:
+#      pytest-doctestplus>=0.2.0
+#      pytest-remotedata>=0.3.1
+#      pytest-openfiles>=0.3.1
+#      pytest-astropy-header>=0.1.2
+#      pytest-arraydiff>=0.1
+#      pytest-filter-subpackage>=0.1
+RESTRICT="test"
+
+BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+RDEPEND="
+       >=dev-python/astropy-3.2[${PYTHON_USEDEP}]
+       dev-python/astropy-healpix[${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/scipy[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs dev-python/sphinx-astropy dev-python/matplotlib
+distutils_enable_tests --install pytest

Reply via email to