dev-python/pkginfo - 1.13 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/pkginfo-1.13

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

autounmask =dev-python/pkginfo-1.13

Or alternatively:

emerge --autounmask-write -a =dev-python/pkginfo-1.13

Package Information

Description:
Provides an API for querying the distutils metadata written in a PKG-INFO file
Homepage:
https://github.com/tseaver/pkginfo/ https://pypi.org/project/pkginfo/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.13 8 ~amd64 ~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=setuptools
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1 pypi

DESCRIPTION="Provides an API for querying the distutils metadata written in a PKG-INFO file"
HOMEPAGE="
	https://github.com/tseaver/pkginfo/
	https://pypi.org/project/pkginfo/
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

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

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

EPYTEST_DESELECT=(
	# fragile to Core Metadata version changing in setuptools
	# https://bugs.launchpad.net/pkginfo/+bug/2103804 (again)
	pkginfo/tests/test_installed.py::test_installed_ctor_w_dist_info
)

Inherited Eclasses

Dependencies

BDEPEND

	test? (
		dev-python/wheel[]
	)