diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
commit | 129160ec854dca4c3fedb5bcfbcb56930371da0f (patch) | |
tree | 53bf797418ac5e9b99c41ca0382c87b82421e5de /sci-astronomy/pyephem/pyephem-3.7.6.0-r1.ebuild | |
parent | 441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff) |
gentoo new year resync : 01.01.2021
Diffstat (limited to 'sci-astronomy/pyephem/pyephem-3.7.6.0-r1.ebuild')
-rw-r--r-- | sci-astronomy/pyephem/pyephem-3.7.6.0-r1.ebuild | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/sci-astronomy/pyephem/pyephem-3.7.6.0-r1.ebuild b/sci-astronomy/pyephem/pyephem-3.7.6.0-r1.ebuild deleted file mode 100644 index ac5f38c6854a..000000000000 --- a/sci-astronomy/pyephem/pyephem-3.7.6.0-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) -inherit distutils-r1 - -DESCRIPTION="Astronomical routines for the python programming language" -HOMEPAGE="https://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="" - -RESTRICT="!test? ( test )" - -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() { - PYTHONPATH="$(ls -d ${BUILD_DIR}/lib*)" unit2 discover -s ephem -} - -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 -} |