dev-python/astral - 3.2 (stuff)

Search

Install

Install this version:

emerge -a =dev-python/astral-3.2

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

autounmask =dev-python/astral-3.2

Or alternatively:

emerge --autounmask-write -a =dev-python/astral-3.2

Package Information

Description:
Calculations for the position of the sun and moon
Homepage:
https://github.com/sffjunkie/astral https://pypi.org/project/astral/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
3.2 8 ~amd64 ~arm ~arm64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=poetry-core
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1

DESCRIPTION="Calculations for the position of the sun and moon"
HOMEPAGE="
	https://github.com/sffjunkie/astral
	https://pypi.org/project/astral/
"
SRC_URI="https://github.com/sffjunkie/${PN}/archive/refs/tags/${PV}.tar.gz
	-> ${P}.gh.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"

BDEPEND="test? ( dev-python/freezegun[${PYTHON_USEDEP}] )"

DOCS=( AUTHORS ChangeLog.md ReadMe.md )

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_test() {
	epytest -o cache_dir="${T}/pytest" src/test
}

Inherited Eclasses

Dependencies

BDEPEND

test? ( dev-python/freezegun[] )

Manifest for 3.2

Type File Size Source URLs
DIST astral-3.2.gh.tar.gz 214514 bytes https://github.com/sffjunkie/astral/archive/refs/tags/3.2.tar.gz