dev-python/parse - 1.22.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-python/parse-1.22.0

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

autounmask =dev-python/parse-1.22.0

Or alternatively:

emerge --autounmask-write -a =dev-python/parse-1.22.0

Package Information

Description:
Parse strings using a specification based on the Python format() syntax
Homepage:
https://github.com/r1chardj0n3s/parse/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.22.0 8 ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 0
View Raw Ebuild
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
inherit distutils-r1 pypi

DESCRIPTION="Parse strings using a specification based on the Python format() syntax"
HOMEPAGE="https://github.com/r1chardj0n3s/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 pytest extra requirements
	sed -i '/tool.pytest.ini_options/,/^$/d' pyproject.toml || die
}

Inherited Eclasses