| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | ~amd64 ~x86 | 0 |
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="Flight Dynamic Library"
HOMEPAGE="https://github.com/galactics/beyond"
if [[ ${PV} = "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/galactics/beyond.git"
else
SRC_URI="https://github.com/galactics/beyond/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
RDEPEND="
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/python-jplephem[${PYTHON_USEDEP}]
dev-python/python-sgp4[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/xmlschema-1.4.1[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
default
sed -e "s|--cov src/beyond --cov-report html|--import-mode=importlib|" -i "${S}/pyproject.toml" || die
}
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/python-jplephem[${PYTHON_USEDEP}]
dev-python/python-sgp4[${PYTHON_USEDEP}]
test? (
>=dev-python/xmlschema-1.4.1[${PYTHON_USEDEP}]
)