dev-python/python-distutils-extra - 3.3 (gentoo)

Search

Deprecated: This version is deprecated.

Reason: The package is on keep-alive by Debian. Nevertheless, they can't keep up with changes in dev-python/setuptools, and they do not accept bug reports. PEP517 build systems are simply a no-go for this class of packages (partially due to the limitations of wheel format), meson and autotools are both much better choices.

Deprecated by Michał Górny on 2023-01-30

Install

Install this version:

emerge -a =dev-python/python-distutils-extra-3.3

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

autounmask =dev-python/python-distutils-extra-3.3

Or alternatively:

emerge --autounmask-write -a =dev-python/python-distutils-extra-3.3

Package Information

Description:
Gettext support, themed icons and scrollkeeper-based documentation in distutils
Homepage:
https://salsa.debian.org/python-team/packages/python-distutils-extra/ https://launchpad.net/python-distutils-extra/
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
3.3 8 ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 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
MY_P="${PN}-debian-${PV}"
PYTHON_COMPAT=( python3_{11..14} )

inherit distutils-r1

DESCRIPTION="Gettext support, themed icons and scrollkeeper-based documentation in distutils"
HOMEPAGE="
	https://salsa.debian.org/python-team/packages/python-distutils-extra/
	https://launchpad.net/python-distutils-extra/
"
SRC_URI="
	https://salsa.debian.org/python-team/packages/python-distutils-extra/-/archive/debian/${PV}/${MY_P}.tar.bz2
"
S="${WORKDIR}/${MY_P}"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

DOCS=( doc/{README,FAQ} )

BDEPEND="
	test? (
		>=dev-libs/gobject-introspection-1.82.0-r2
		dev-python/httplib2[${PYTHON_USEDEP}]
		dev-python/pygobject[${PYTHON_USEDEP}]
		dev-util/intltool
	)
"

PATCHES=( "${FILESDIR}/${PN}-3.3-legacy-entrypoint.patch" )

python_test() {
	local -x SETUPTOOLS_USE_DISTUTILS=stdlib
	"${EPYTHON}" test/auto.py -v || die "Tests fail with ${EPYTHON}"
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/python-distutils-extra | euse -E <flag> -p dev-python/python-distutils-extra | euse -D <flag> -p dev-python/python-distutils-extra

Global/Standard Flags

Inherited Eclasses

Dependencies

BDEPEND

	test? (
		>=dev-libs/gobject-introspection-1.82.0-r2
		dev-python/httplib2[]
		dev-python/pygobject[]
		dev-util/intltool
	)

Manifest for 3.3

Type File Size Source URLs
DIST python-distutils-extra-debian-3.3.tar.bz2 36563 bytes https://salsa.debian.org/python-team/packages/python-distutils-extra/-/archive/debian/3.3/python-distutils-extra-debian-3.3.tar.bz2