mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-03 04:37:06 -08:00
29 lines
664 B
Bash
29 lines
664 B
Bash
# Copyright 2021-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{12..15} )
|
|
inherit distutils-r1 pypi
|
|
|
|
DESCRIPTION="Parse strings using a specification based on the Python format() syntax"
|
|
HOMEPAGE="
|
|
https://github.com/r1chardj0n3s/parse/
|
|
https://pypi.org/project/parse/
|
|
"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
|
|
|
EPYTEST_PLUGINS=()
|
|
distutils_enable_tests pytest
|
|
|
|
src_prepare() {
|
|
distutils-r1_src_prepare
|
|
|
|
# drop unnecssary extra pytest requirements
|
|
sed -i '/tool.pytest.ini_options/,/^$/d' pyproject.toml || die
|
|
}
|