dev-python/beyond - 9999 (hamari)

Search

Install

Install this version:

emerge -a =dev-python/beyond-9999

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

autounmask =dev-python/beyond-9999

Or alternatively:

emerge --autounmask-write -a =dev-python/beyond-9999

Package Information

Description:
Flight Dynamic Library
Homepage:
https://github.com/galactics/beyond
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 ~x86 0
View Raw Ebuild
# 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
}

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/lxml[]
	dev-python/numpy[]
	dev-python/python-jplephem[]
	dev-python/python-sgp4[]

BDEPEND

	test? (
		>=dev-python/xmlschema-1.4.1[]
	)