public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kacper Kowalik" <xarthisius@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/pysolar/
Date: Wed,  7 Mar 2012 18:48:21 +0000 (UTC)	[thread overview]
Message-ID: <1331146090.4e7317632ced9853d060dad961ae9cf165305174.xarthisius@gentoo> (raw)

commit:     4e7317632ced9853d060dad961ae9cf165305174
Author:     Kacper Kowalik (Xarthisius) <xarthisius <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  7 18:48:10 2012 +0000
Commit:     Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
CommitDate: Wed Mar  7 18:48:10 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4e731763

[dev-python/pysolar] version bump

---
 dev-python/pysolar/pysolar-0.4.4.ebuild |   66 +++++++++++++++++++++++++++++++
 1 files changed, 66 insertions(+), 0 deletions(-)

diff --git a/dev-python/pysolar/pysolar-0.4.4.ebuild b/dev-python/pysolar/pysolar-0.4.4.ebuild
new file mode 100644
index 0000000..ae36803
--- /dev/null
+++ b/dev-python/pysolar/pysolar-0.4.4.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+AUTHOR=pingswept
+GIT_HASH=42d1abd
+
+inherit distutils python
+
+DESCRIPTION="A collection of Python libraries for simulating the Sun's irradiation"
+HOMEPAGE="http://pysolar.org/ http://pypi.python.org/pypi/Pysolar/"
+SRC_URI="https://github.com/${AUTHOR}/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+DEPEND="doc? ( dev-python/numpydoc )"
+RDEPEND="
+	dev-python/imaging
+	dev-python/matplotlib
+	dev-python/numpy
+	dev-python/pygtk:2
+	dev-python/pytz
+	sci-libs/scipy"
+
+S=${WORKDIR}/${AUTHOR}-${PN}-${GIT_HASH}
+
+PYTHON_MODNAME="constants.py horizon.py julian.py \
+	poly.py query_usno.py radiation.py shade.py \
+	simulate.py solar.py util.py"
+
+src_prepare() {
+	sed \
+		-e "s:'testsolar', ::" \
+		-e "s:'shade_test', ::" \
+		-i setup.py || die # don't install tests
+	distutils_src_prepare
+}
+
+src_compile() {
+	distutils_src_compile
+
+	if use doc; then
+		PYTHONPATH=".." emake -C doc html
+	fi
+}
+
+src_test() {
+	testing() {
+		PYTHONPATH="build-${PYTHON_ABI}/abi" "$(PYTHON)" testsolar.py
+	}
+	python_execute_function testing
+}
+
+src_install() {
+	distutils_src_install
+	use doc && dohtml -r doc/.build/html/*
+}



             reply	other threads:[~2012-03-07 18:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-07 18:48 Kacper Kowalik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-07  3:34 [gentoo-commits] proj/sci:master commit in: dev-python/pysolar/ Sam James
2021-01-13 21:06 Andrew Ammerlaan
2020-09-22 17:15 Aisha Tammy
2020-09-22 17:15 Aisha Tammy
2013-07-23 17:29 Sebastien Fabbro
2013-06-12 11:44 Justin Lecher
2011-08-04 21:05 Sebastien Fabbro
2011-08-04 21:00 Sebastien Fabbro
2011-08-04 21:00 Sebastien Fabbro
2011-05-03 20:01 Justin Lecher
2011-03-07 12:01 Justin Lecher

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=1331146090.4e7317632ced9853d060dad961ae9cf165305174.xarthisius@gentoo \
    --to=xarthisius@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