public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/photutils/
Date: Fri, 18 Mar 2016 19:18:15 +0000 (UTC)	[thread overview]
Message-ID: <1458331863.7e5091159c15236ceea4765489e8375829881ad2.bicatali@gentoo> (raw)

commit:     7e5091159c15236ceea4765489e8375829881ad2
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 18 19:42:47 2016 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 20:11:03 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e509115

dev-python/photutils: initial import

Package-Manager: portage-2.2.28

 dev-python/photutils/Manifest               |  1 +
 dev-python/photutils/metadata.xml           | 17 +++++++++
 dev-python/photutils/photutils-0.2.1.ebuild | 54 +++++++++++++++++++++++++++++
 3 files changed, 72 insertions(+)

diff --git a/dev-python/photutils/Manifest b/dev-python/photutils/Manifest
new file mode 100644
index 0000000..df67f69
--- /dev/null
+++ b/dev-python/photutils/Manifest
@@ -0,0 +1 @@
+DIST photutils-0.2.1.tar.gz 570535 SHA256 b430dedee5d68eef8aa069f5d033010d8e11544330a172de3f3d9678f93adeee SHA512 0fae893a16e49aecaedac5c0ff7afbfc49d8a3fbca6263edba455ad5fbbdee022d8120406a868c326e416012cfe765d187a48843fc6f6270f20391fa809955bf WHIRLPOOL 31677b0021502c0ec40904f7f0288cfaa40e5abf0e78bd3081108259b99721e8fe65fa94903ba05f5f8f4141e14022607f01ddc43a7588158341227699eedc01

diff --git a/dev-python/photutils/metadata.xml b/dev-python/photutils/metadata.xml
new file mode 100644
index 0000000..b72b596
--- /dev/null
+++ b/dev-python/photutils/metadata.xml
@@ -0,0 +1,17 @@
+<?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">
+    photutils is a python package for determining photometric properties
+    of sources in astronomical images. This includes source detection,
+    centroid and shape parameters, and performing photometry.
+  </longdescription>
+  <upstream>
+    <remote-id type="pypi">photutils</remote-id>
+    <remote-id type="github">astropy/photutils</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-python/photutils/photutils-0.2.1.ebuild b/dev-python/photutils/photutils-0.2.1.ebuild
new file mode 100644
index 0000000..dd9e406
--- /dev/null
+++ b/dev-python/photutils/photutils-0.2.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Python package for image astronomical photometry"
+HOMEPAGE="https://photutils.readthedocs.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc test"
+DOCS=( README.rst )
+
+RDEPEND="
+	dev-python/astropy[${PYTHON_USEDEP}]
+	dev-python/matplotlib[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	sci-libs/scikits_image[${PYTHON_USEDEP}]
+	sci-libs/scipy[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+	dev-python/astropy-helpers[${PYTHON_USEDEP}]
+	dev-python/setuptools[${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() {
+	if use doc; then
+		python_setup
+		VARTEXFONTS="${T}"/fonts \
+			MPLCONFIGDIR="${BUILD_DIR}" \
+			PYTHONPATH="${BUILD_DIR}"/lib \
+			esetup.py build_sphinx
+	fi
+}
+
+python_test() {
+	virtx esetup.py test
+}
+
+python_install_all() {
+	use doc && local HTML_DOCS=( docs/_build/html/. )
+	distutils-r1_python_install_all
+}


             reply	other threads:[~2016-03-18 19:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-18 19:18 Sebastien Fabbro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-09-01 18:04 [gentoo-commits] repo/gentoo:master commit in: dev-python/photutils/ Sebastien Fabbro
2016-11-17 19:56 Sebastien Fabbro
2017-03-03 19:39 Sebastien Fabbro
2017-06-27  2:49 Sebastien Fabbro
2019-12-28 16:50 Mikle Kolyada

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=1458331863.7e5091159c15236ceea4765489e8375829881ad2.bicatali@gentoo \
    --to=bicatali@gentoo.org \
    --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