Files
gentoo-zh/dev-python/frozendict/frozendict-2.5.1.ebuild
2026-10-31 08:10:53 +00:00

27 lines
672 B
Bash

# Copyright 2024 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="A simple immutable dictionary for Python"
HOMEPAGE="https://github.com/Marco-Sulla/python-frozendict"
SRC_URI="https://github.com/Marco-Sulla/python-frozendict/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/python-${PN}-${PV}"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
BDEPEND="
$(python_gen_cond_dep 'dev-python/setuptools-scm[${PYTHON_USEDEP}]')
"
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
EPYTEST_PLUGINS=()
distutils_enable_tests pytest