diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /sci-astronomy/pyephem | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'sci-astronomy/pyephem')
-rw-r--r-- | sci-astronomy/pyephem/Manifest | 2 | ||||
-rw-r--r-- | sci-astronomy/pyephem/pyephem-4.1.5.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-astronomy/pyephem/Manifest b/sci-astronomy/pyephem/Manifest index 7c5481a9433b..21c023e62e25 100644 --- a/sci-astronomy/pyephem/Manifest +++ b/sci-astronomy/pyephem/Manifest @@ -1,6 +1,8 @@ AUX pyephem-4.1.3-clang-15.patch 1126 BLAKE2B 2a976402626fa74e1c9304230b996980f6364e0a82e0316f1994317bad9966fb5ca10cc1ddc1480c405a140a0196854ab7baa1a5e06b3287e2921dd650b4b741 SHA512 f5cfade697342512d8b8386eb73a766ad3730007546759dbe1d79b59609ef697baea7b910d8ebfe53949d5406c1135673b8108fb0482ac81d4fcc7048c65d20b 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 EBUILD pyephem-4.1.1.ebuild 1216 BLAKE2B 073d45a5b53a3b000bf701e1f6d60a457276403c556d935df253a6cac22e3ab8df37ce5338ce48e19728d8981402f4a59976e0be40a1b147babc5a4b290ebb97 SHA512 7579809a22743679bf299ca0b367494e422f00527e43d5f7e503293cce652c4064b40bfd0c131b7a85a2e346e8ca9289ee8507dcb0fa671e8a428fff09f4e563 EBUILD pyephem-4.1.3.ebuild 1264 BLAKE2B 801a075e0291b4cdfd7edca4e3a953adda3effddeba8d2b8675c65bf2dc128e5310fa388aa64bf42da2dc6596c2d28303fbd83979f8c1a854d647c499f0e0d47 SHA512 4bdb7343d3a24de83ca0ca4e1490d45ff5531efa88008bba4842a0340987cc0ce97f9d23883d3346a67d3ab2d729925628ae723f5073b4f7f695ec19f96d80b6 +EBUILD pyephem-4.1.5.ebuild 1234 BLAKE2B af4edf6b88cb32216ae2a26984dddaac781071a4319e3c3e4114b82b210ab84edcbe99d52e55b6195fb1845dd88f7f7d2d79db40316328792eeddae78d541553 SHA512 a84bd4eb2252c66f2144797febae071db7d7e4071cf28d27ced7893b7e2776a64c7bdc3c6a310227419da8fff37951b87051db0e492b6189e91ee5f8a11efc69 MISC metadata.xml 1010 BLAKE2B 3d603ea6d647cc50bcc0a0f31704a6e201e6deff6694f7604b3dd39184eeb6ca7fe72b38772aca9c89f0d7185b5ed14f9ff67ba624aba68baaa358ad893bbc59 SHA512 c09f86ba1462ad279f3336165a7b8be4cae8499de3a16282e658bf76eb60ddbe0cb86b9d8f5a74edec2dd4c148c66d687c6becd5f84df9483b0f9bf1beb9eec5 diff --git a/sci-astronomy/pyephem/pyephem-4.1.5.ebuild b/sci-astronomy/pyephem/pyephem-4.1.5.ebuild new file mode 100644 index 000000000000..0e0c52a4f510 --- /dev/null +++ b/sci-astronomy/pyephem/pyephem-4.1.5.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +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 )" + +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 +} |