commit: 16c9eea06d37dc613855e25176ce993c29f1b011
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Tue Sep 22 17:12:47 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Sep 22 17:14:45 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=16c9eea0
dev-python/pysolar: version bump to 0.8
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
dev-python/pysolar/pysolar-0.8.ebuild | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/dev-python/pysolar/pysolar-0.8.ebuild
b/dev-python/pysolar/pysolar-0.8.ebuild
new file mode 100644
index 000000000..1f9474a24
--- /dev/null
+++ b/dev-python/pysolar/pysolar-0.8.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+AUTHOR=pingswept
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of Python libraries for simulating the irradiation by
the sun"
+HOMEPAGE="http://pysolar.org/"
+SRC_URI="https://github.com/${AUTHOR}/${PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ sci-libs/scipy[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+ sed \
+ -e "s:'testsolar', ::" \
+ -e "s:'shade_test', ::" \
+ -i setup.py || die # don't install tests
+ distutils-r1_python_prepare_all
+}