aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-05 12:19:38 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-05 17:03:37 +0100
commit8e7e507d3f7688a0b7c76ed6663c59b769eac784 (patch)
tree0511ebb63ea5fb9fd9ac06f6c399fc1bd3d50cd3 /dev-python
parentdev-python/reproject: new dep (diff)
downloadsci-8e7e507d3f7688a0b7c76ed6663c59b769eac784.tar.gz
sci-8e7e507d3f7688a0b7c76ed6663c59b769eac784.tar.bz2
sci-8e7e507d3f7688a0b7c76ed6663c59b769eac784.zip
dev-python/astroscrappy: new dep
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/astroscrappy/Manifest1
-rw-r--r--dev-python/astroscrappy/astroscrappy-1.0.8.ebuild30
-rw-r--r--dev-python/astroscrappy/metadata.xml8
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/astroscrappy/Manifest b/dev-python/astroscrappy/Manifest
new file mode 100644
index 000000000..a4c5a9984
--- /dev/null
+++ b/dev-python/astroscrappy/Manifest
@@ -0,0 +1 @@
+DIST astroscrappy-1.0.8.tar.gz 449193 BLAKE2B 0c4fda8055c5e50ff2fcc0adab17eb118b62f843cf5ca8c5d4c10bc7970efbfffd48a6c262a9bbc7bcda0c9e95237d3c3fe7121f56a7edfe26235ac351336466 SHA512 876ceb9596478930ebc9287657dcc6ff922a45daf56aa201255116247ca1a5029915292c189a5c740aed70093b050522c69186149ef721eda1669f7b5b3bd404
diff --git a/dev-python/astroscrappy/astroscrappy-1.0.8.ebuild b/dev-python/astroscrappy/astroscrappy-1.0.8.ebuild
new file mode 100644
index 000000000..d71e7d1ac
--- /dev/null
+++ b/dev-python/astroscrappy/astroscrappy-1.0.8.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} ) # compile failure with py3.9
+
+inherit distutils-r1
+
+DESCRIPTION="Speedy Cosmic Ray Annihilation Package in Python"
+HOMEPAGE="https://github.com/astropy/astroscrappy"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+#TODO: Fix this
+# ModuleNotFoundError: No module named 'astroscrappy.astroscrappy'
+# happens even with --install argument
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-python/astropy-2.0[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+"
+
+# Requires self to already be installed
+#distutils_enable_sphinx docs dev-python/sphinx-astropy
+distutils_enable_tests --install pytest
diff --git a/dev-python/astroscrappy/metadata.xml b/dev-python/astroscrappy/metadata.xml
new file mode 100644
index 000000000..4f4367037
--- /dev/null
+++ b/dev-python/astroscrappy/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>sci-astronomy@gentoo.org</email>
+ <name>Gentoo Astronomy Project</name>
+ </maintainer>
+</pkgmetadata>