public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/regions/
Date: Tue,  5 Jan 2021 16:16:29 +0000 (UTC)	[thread overview]
Message-ID: <1609862618.43411f10cc04c6b8d8a07317e18d56e22e22dbe3.andrewammerlaan@gentoo> (raw)

commit:     43411f10cc04c6b8d8a07317e18d56e22e22dbe3
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan  5 11:34:02 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan  5 16:03:38 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=43411f10

dev-python/regions: new dep

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

 dev-python/regions/metadata.xml       | 16 ++++++++++++++++
 dev-python/regions/regions-0.4.ebuild | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/regions/metadata.xml b/dev-python/regions/metadata.xml
new file mode 100644
index 000000000..a9f88e7d8
--- /dev/null
+++ b/dev-python/regions/metadata.xml
@@ -0,0 +1,16 @@
+<?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">
+Gammapy is a package for simulating and analysing gamma-ray sky data.
+It is currently designed to support users of telescopes such as Fermi,
+H.E.S.S, and CTA in primarily Galactic plane survey studies.
+</longdescription>
+	<upstream>
+		<remote-id type="github">gammapy/gammapy</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/regions/regions-0.4.ebuild b/dev-python/regions/regions-0.4.ebuild
new file mode 100644
index 000000000..ce522f3fc
--- /dev/null
+++ b/dev-python/regions/regions-0.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="Astropy affilated package for region handling"
+HOMEPAGE="http://github.com/astropy/regions"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# TODO: fix this
+# E   ModuleNotFoundError: No module named 'regions._geometry.circular_overlap'
+RESTRICT="test"
+
+RDEPEND="
+	>=dev-python/astropy-0.4[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	dev-python/six[${PYTHON_USEDEP}]
+"
+
+# TODO: fix this
+# NameError: name 'disabled_intersphinx_mapping' is not defined
+#distutils_enable_sphinx docs dev-python/sphinx-astropy
+distutils_enable_tests pytest


             reply	other threads:[~2021-01-05 16:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-05 16:16 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-19 15:49 [gentoo-commits] proj/sci:master commit in: dev-python/regions/ Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1609862618.43411f10cc04c6b8d8a07317e18d56e22e22dbe3.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox