diff --git a/sci-astronomy/pyephem/Manifest b/sci-astronomy/pyephem/Manifest index db92dc150a0c..607ff73daf89 100644 --- a/sci-astronomy/pyephem/Manifest +++ b/sci-astronomy/pyephem/Manifest @@ -1,3 +1 @@ -DIST pyephem-4.1.1.gh.tar.gz 2659977 BLAKE2B e373857d3fb66e742f9db992165dbd1d50afbb6b91588f2cfcd299409d491ef1174c54a182dd59b5a8e298a07312899c8f8b5a8aaa63e6b31deb5f8b1cd3131e SHA512 2539f36b7110cacd6cf95e9ba0be26ca837a66ba81f092d4be01405029adf22478184861f46ecf09d6cd35927140874e0f0d228b06537d05f3e2eddbcb35da85 -DIST pyephem-4.1.3.gh.tar.gz 2660800 BLAKE2B 272a96dfe5debe083274f911737246ea90dc15b12b141e41c018d0b4eff13e548fe1d99cfb75ea7d06d7784cd9cbce7f43149a08de051cd9e12a4b5d6a306607 SHA512 1d113e1adbe5c8175364a29ae405d80005e54a4f60d475534d6721dc51b4f58d314ad161ddaf791614fcd4b0550e4b2142f4e52ec4771ca0d1be6b10f3f8cc4d DIST pyephem-4.1.5.gh.tar.gz 2662791 BLAKE2B a30d3103b0d626e0316e85d1188dc2e93782fd87db6792dd6933fd9efb1b3fd7be7073486ec45c96e068b7bf9e471bf369a5867af87df5b5d50e16fc1f1a0e4c SHA512 f462df23060abacc69698e67526503302306953891c92920f77bc67d977a9691ed0d176d2743fa2c7c95cb3ff558f5e4a77fa6acff82cff243b771ed7ad095c9 diff --git a/sci-astronomy/pyephem/files/pyephem-4.1.3-clang-15.patch b/sci-astronomy/pyephem/files/pyephem-4.1.3-clang-15.patch deleted file mode 100644 index 0e780dac1ed3..000000000000 --- a/sci-astronomy/pyephem/files/pyephem-4.1.3-clang-15.patch +++ /dev/null @@ -1,36 +0,0 @@ -https://github.com/brandon-rhodes/pyephem/commit/df7bba8e27208fbe335b0ac2f79ae77818f52dd3 -https://bugs.gentoo.org/874543 - -From df7bba8e27208fbe335b0ac2f79ae77818f52dd3 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 31 Aug 2022 02:58:26 -0700 -Subject: [PATCH] Don't set tp_print on Python 3 (#245) - -In 3.8 it produces a compilation warning; in earlier versions it is ignored. ---- a/extensions/_libastro.c -+++ b/extensions/_libastro.c -@@ -372,7 +372,11 @@ static PyTypeObject AngleType = { - sizeof(AngleObject), - 0, - 0, /* tp_dealloc */ -+#if PY_MAJOR_VERSION < 3 - Angle_print, /* tp_print */ -+#else -+ 0, /* reserved in 3.x */ -+#endif - 0, /* tp_getattr */ - 0, /* tp_setattr */ - 0, /* tp_compare */ -@@ -669,7 +673,11 @@ static PyTypeObject DateType = { - sizeof(PyFloatObject), - 0, - 0, /* tp_dealloc */ -+#if PY_MAJOR_VERSION < 3 - Date_print, /* tp_print */ -+#else -+ 0, /* tp_print slot is reserved and unused in Python 3 */ -+#endif - 0, /* tp_getattr */ - 0, /* tp_setattr */ - 0, /* tp_compare */ - diff --git a/sci-astronomy/pyephem/pyephem-4.1.1.ebuild b/sci-astronomy/pyephem/pyephem-4.1.1.ebuild deleted file mode 100644 index baf625ea3bfc..000000000000 --- a/sci-astronomy/pyephem/pyephem-4.1.1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..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" -IUSE="doc" - -BDEPEND="doc? ( dev-python/sphinx )" - -EPYTEST_DESELECT=( - # Can't find its test files (class not loaded properly in test env?) - # bug #855461 - tests/test_jpl.py::JPLTest::runTest -) - -distutils_enable_tests pytest - -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 -} diff --git a/sci-astronomy/pyephem/pyephem-4.1.3.ebuild b/sci-astronomy/pyephem/pyephem-4.1.3.ebuild deleted file mode 100644 index 09f10bcd54cb..000000000000 --- a/sci-astronomy/pyephem/pyephem-4.1.3.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..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" -IUSE="doc" - -BDEPEND="doc? ( dev-python/sphinx )" - -PATCHES=( - "${FILESDIR}"/${P}-clang-15.patch -) - -EPYTEST_DESELECT=( - # Can't find its test files (class not loaded properly in test env?) - # bug #855461 - tests/test_jpl.py::JPLTest::runTest -) - -distutils_enable_tests pytest - -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 -}