summaryrefslogtreecommitdiff
path: root/sci-astronomy/pyephem
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-astronomy/pyephem
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-astronomy/pyephem')
-rw-r--r--sci-astronomy/pyephem/Manifest7
-rw-r--r--sci-astronomy/pyephem/metadata.xml22
-rw-r--r--sci-astronomy/pyephem/pyephem-3.7.5.3.ebuild54
-rw-r--r--sci-astronomy/pyephem/pyephem-3.7.6.0.ebuild53
4 files changed, 136 insertions, 0 deletions
diff --git a/sci-astronomy/pyephem/Manifest b/sci-astronomy/pyephem/Manifest
new file mode 100644
index 000000000000..6ec7daaf4039
--- /dev/null
+++ b/sci-astronomy/pyephem/Manifest
@@ -0,0 +1,7 @@
+DIST pyephem-3.7.5.3.tar.gz 735112 SHA256 cb0d7950d108aa5cbb1eb6e558086e98230de03ee1ede017a71701257b67eceb SHA512 a61b6a19c35c10ee9d4eba72cb0e6b9446076a3943be58dfd5e084bc9ab09dc70f2ee335ba5f0ef9d9d4d34a461bf4b9ddd57dae50d2e8a8f565d411e47f2908 WHIRLPOOL be28698df6214e769d03e74a67b353679a753723420e6a289b347b42c466c11253df9764f9e4e0fdda0424f4b62363b54fa58b520f45d480aae3a5883a84deae
+DIST pyephem-3.7.6.0.tar.gz 739561 SHA256 143146da32a07a4cf9725b5656ba095d24978c22a0363414203e72c39bae52bd SHA512 c3013ef943c0e1e2c30bba6f72912efb100b4c8c45904b7d6d7ba73d8b741564793a6e538117eb88abb824c93c874e2c955de734418ebd2370888718a149c9a8 WHIRLPOOL de8b8a4c86004adb2400a52f22514e5a25752d8e31fe7adbdffd08efa598d8d8c72726398f0ea49dfe3dcc6372c83d2586043ed987be3492c697c2818a2616e8
+EBUILD pyephem-3.7.5.3.ebuild 1145 SHA256 ad1cb10172a6e2b7079be198ff34b99383339f213d859354e4d93575d6ed39d9 SHA512 1bb3dd5dd13736c2ae8660fc6874a5580b11df4c8ec7fbcda07eca4e38768af5b13a585d86efa111eed85c38369241f5a6ee0ce8e8b8116a7b893e2b43894085 WHIRLPOOL 716dd45cd8d04946e2d81a0422b2c4f232e4349b2ae640220edf547ad40a48785a9a3e22c51639c17f2a7cfcaacd323a8efea6e1dc3e6dcbf643ae057a29327b
+EBUILD pyephem-3.7.6.0.ebuild 1155 SHA256 c64a38dba3d65d6e6d555759d9e628dec107d8ad6045a8f217c594dcfd42caea SHA512 e0850c6a9ba29e862038685c8774e08a1f9c517dea08372237fad153269988452f44ab242037a7cd73eb1bcc3404d2c2b81228023a98bdab21bf116ba4cf2532 WHIRLPOOL e61d8675c1144e037bcb57c8e8e69a6d40c030ac83415e59df43b014e8a67b7e9faf0a23d3d06c38d7e0d9a0ea2ad291e8e4c633334654decfc8283b523c7089
+MISC ChangeLog 2893 SHA256 b9bd6fd2238b8d4f305f9e3c1ca78e06b9adac8e2b2bd1f1d4bcd562ec75c164 SHA512 e527927d8c7464c16ac30917bbc9489baa35f2f4f0bb1d34ad2a6243d559db192493291c6809b2fbab099643de2efccfc265a255d2505cc54031d4a8c469ad42 WHIRLPOOL b428f08a2da44103c3e010d73d67818168fb29180f645f5620026f98d2ed56deda638fc7eacc686918c1358aa1bbd0247ab3f3a41b7746b950bd4499ae481f1b
+MISC ChangeLog-2015 4483 SHA256 450e891e00f3efd69b10f3206a38f77f841aa6c877f966a1b85e4e19ac48cf7a SHA512 5fdefd1adddddf353a3f266cfd01e2a06ac846a33aea65c1185929652bd636fddb115f5d3285adfcd92a328675e82922bde8e460b0d3cae8ad94ea76a8b11fad WHIRLPOOL b9a34e2972738e1417be1b3b2db9d7786ac82388b50cef45697d175898fdb21602e3d30ffe691a34186d24b38b332b2e311892219cfb8f14771e33e5f81b2d56
+MISC metadata.xml 947 SHA256 05411981e1270d0ccc7012639f657f3fcfac0e5e309ffe522550b03f3c603ff3 SHA512 f41c27b07f211b09dd72e316d02c46206dea0ff368e2ad1a8d116df49a2ce2a74137b2647572e295bcde34792d4ee15fb2d3f9e1a883c6cb306f6ef2a43d5c53 WHIRLPOOL 97f25339e31b652ce0879ac5147d8c9e7923905f27835ea07fe33626e3fb3c5207a48c72894e775c03f30d7bad13a11a36287eea74d68c24f015559996cd2de5
diff --git a/sci-astronomy/pyephem/metadata.xml b/sci-astronomy/pyephem/metadata.xml
new file mode 100644
index 000000000000..62f6a69d465d
--- /dev/null
+++ b/sci-astronomy/pyephem/metadata.xml
@@ -0,0 +1,22 @@
+<?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">
+ PyEphem provides astronomical computations for the Python programming
+ language. Given a date and location on the Earth's surface, it can
+ compute the positions of the Sun and Moon, of the planets and their
+ moons, and of any asteroids, comets, or earth satellites whose orbital
+ elements the user can provide. Additional functions are provided to
+ compute the angular separation between two objects in the sky, to
+ determine the constellation in which an object lies, and to find the
+ times at which an object rises, transits, and sets on a particular
+ day.
+</longdescription>
+<upstream>
+ <remote-id type="pypi">pyephem</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/sci-astronomy/pyephem/pyephem-3.7.5.3.ebuild b/sci-astronomy/pyephem/pyephem-3.7.5.3.ebuild
new file mode 100644
index 000000000000..10c8bdb996b0
--- /dev/null
+++ b/sci-astronomy/pyephem/pyephem-3.7.5.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Astronomical routines for the python programming language"
+HOMEPAGE="http://rhodesmill.org/pyephem/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+DEPEND="
+ doc? ( dev-python/sphinx )"
+RDEPEND=""
+
+src_prepare() {
+ # don't install rst files
+ sed -i -e "s:'doc/\*\.rst',::" setup.py || die
+ distutils-r1_src_prepare
+}
+
+src_compile() {
+ distutils-r1_src_compile
+ if use doc; then
+ PYTHONPATH=. emake -C ephem/doc html
+ fi
+}
+
+python_test() {
+ if [[ ${PYTHON_ABI} == "2.7" ]]; then
+ PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" \
+ ${EPYTHON} -m unittest discover -s src/ephem
+ else
+ PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" \
+ unit2 discover -s src/ephem
+ fi
+}
+
+src_install() {
+ distutils-r1_src_install
+ use doc && dohtml -r ephem/doc/_build/html/*
+
+ delete_tests() {
+ rm -r "${D}$(python_get_sitedir)/ephem/tests" || die
+ }
+ python_foreach_impl delete_tests
+}
diff --git a/sci-astronomy/pyephem/pyephem-3.7.6.0.ebuild b/sci-astronomy/pyephem/pyephem-3.7.6.0.ebuild
new file mode 100644
index 000000000000..f7b4607c62f7
--- /dev/null
+++ b/sci-astronomy/pyephem/pyephem-3.7.6.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Astronomical routines for the python programming language"
+HOMEPAGE="http://rhodesmill.org/pyephem/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+DEPEND="doc? ( dev-python/sphinx )"
+RDEPEND=""
+
+src_prepare() {
+ # don't install rst files by dfefault
+ sed -i -e "s:'doc/\*\.rst',::" setup.py || die
+ distutils-r1_src_prepare
+}
+
+src_compile() {
+ distutils-r1_src_compile
+ if use doc; then
+ PYTHONPATH=. emake -C ephem/doc html
+ fi
+}
+
+python_test() {
+ if [[ ${PYTHON_ABI} == "2.7" ]]; then
+ PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" \
+ ${EPYTHON} -m unittest discover -s ephem
+ else
+ PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" \
+ unit2 discover -s ephem
+ fi
+}
+
+src_install() {
+ use doc && HTML_DOCS=( ephem/doc/_build/html/. )
+ distutils-r1_src_install
+
+ delete_tests() {
+ rm -r "${D}$(python_get_sitedir)/ephem/tests" || die
+ }
+ python_foreach_impl delete_tests
+}