public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/pyephem/
Date: Sun, 12 Jun 2022 15:34:40 +0000 (UTC)	[thread overview]
Message-ID: <1655047166.36694733018225c7518e5dee07e037f55aaf2df5.sam@gentoo> (raw)

commit:     36694733018225c7518e5dee07e037f55aaf2df5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 12 15:17:29 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 12 15:19:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36694733

sci-astronomy/pyephem: add 4.1.1

Closes: https://bugs.gentoo.org/846212
Closes: https://bugs.gentoo.org/809659
Closes: https://bugs.gentoo.org/733282
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-astronomy/pyephem/Manifest             |  1 +
 sci-astronomy/pyephem/pyephem-4.1.1.ebuild | 51 ++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/sci-astronomy/pyephem/Manifest b/sci-astronomy/pyephem/Manifest
index 9329cd696462..c975c283041f 100644
--- a/sci-astronomy/pyephem/Manifest
+++ b/sci-astronomy/pyephem/Manifest
@@ -1 +1,2 @@
 DIST pyephem-3.7.7.1.tar.gz 1622306 BLAKE2B aefdd7b7e4471140f1c2b5c065f663dfb1095d8d8325e23d4b5b9c683ff7a91020151429a992ad78be897ab738d9bc207afa337b7806fb244d6d6c8a1c680b7f SHA512 ae0d9562f33ee25065b33ea3d4b24a74e32259bebb07edf37deacaa77e6d24b3a7a49e4602393b45a3c7cfc7d8088f038e68e96ec3576a796b5486fc2946ac5a
+DIST pyephem-4.1.1.gh.tar.gz 2659977 BLAKE2B e373857d3fb66e742f9db992165dbd1d50afbb6b91588f2cfcd299409d491ef1174c54a182dd59b5a8e298a07312899c8f8b5a8aaa63e6b31deb5f8b1cd3131e SHA512 2539f36b7110cacd6cf95e9ba0be26ca837a66ba81f092d4be01405029adf22478184861f46ecf09d6cd35927140874e0f0d228b06537d05f3e2eddbcb35da85

diff --git a/sci-astronomy/pyephem/pyephem-4.1.1.ebuild b/sci-astronomy/pyephem/pyephem-4.1.1.ebuild
new file mode 100644
index 000000000000..2e6565b7f7e9
--- /dev/null
+++ b/sci-astronomy/pyephem/pyephem-4.1.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Astronomical routines for the Python programming language"
+HOMEPAGE="https://rhodesmill.org/pyephem/"
+SRC_URI="https://github.com/brandon-rhodes/pyephem/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+BDEPEND="doc? ( dev-python/sphinx )"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+	# Don't install rst files by default
+	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() {
+	cd "${T}" || die
+	epytest --pyargs ephem
+}
+
+src_install() {
+	use doc && HTML_DOCS=( ephem/doc/_build/html/. )
+	distutils-r1_src_install
+}
+
+python_install() {
+	distutils-r1_python_install
+
+	rm -r "${D}$(python_get_sitedir)/ephem/tests" || die
+}


             reply	other threads:[~2022-06-12 15:34 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-12 15:34 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-30 21:13 [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/pyephem/ Pacho Ramos
2024-07-30 21:13 Pacho Ramos
2023-12-16 16:17 Arthur Zamarin
2023-05-01 12:49 Sam James
2022-11-10  5:06 Arthur Zamarin
2022-10-04  1:38 Sam James
2022-07-11  8:13 Agostino Sarubbo
2022-07-11  8:11 Agostino Sarubbo
2022-07-11  2:40 Sam James
2022-07-11  2:40 Sam James
2022-06-30 22:30 Sam James
2021-01-01  1:50 Michał Górny
2020-07-20  6:42 Agostino Sarubbo
2020-07-19  7:43 Agostino Sarubbo
2020-06-13 16:30 Pacho Ramos
2019-12-07 22:53 Andreas Sturmlechner
2019-12-07 22:53 Andreas Sturmlechner
2019-02-27  4:25 Aaron Bauman
2018-06-26 19:51 Pacho Ramos
2017-01-19 10:59 Agostino Sarubbo
2017-01-19 10:37 Agostino Sarubbo
2016-02-24 22:46 Sebastien Fabbro

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=1655047166.36694733018225c7518e5dee07e037f55aaf2df5.sam@gentoo \
    --to=sam@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