dev-python/jplephem - 2.23 (guru)

Search

Install

Install this version:

emerge -a =dev-python/jplephem-2.23

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/jplephem-2.23

Or alternatively:

emerge --autounmask-write -a =dev-python/jplephem-2.23

Package Information

Description:
Python version of NASA DE4xx ephemerides for Astronomical Alamanac
Homepage:
https://pypi.org/project/jplephem/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.23 8 ~amd64 ~x86 0
View Raw Ebuild
# 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_{12..14} )

inherit distutils-r1

DESCRIPTION="Python version of NASA DE4xx ephemerides for Astronomical Alamanac"
HOMEPAGE="https://pypi.org/project/jplephem/"
SRC_URI="https://github.com/brandon-rhodes/python-jplephem/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"

S="${WORKDIR}/python-${P}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"

RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"

PATCHES=( "${FILESDIR}/${PN}-fix-numpy-compat.patch" )

distutils_enable_tests unittest

python_test() {
	cd ci || die
	eunittest .
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/jplephem | euse -E <flag> -p dev-python/jplephem | euse -D <flag> -p dev-python/jplephem

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

dev-python/numpy[]

RDEPEND

dev-python/numpy[]

Manifest for 2.23

Type File Size Source URLs
DIST jplephem-2.23.gh.tar.gz 90020551 bytes https://github.com/brandon-rhodes/python-jplephem/archive/refs/tags/2.23.tar.gz