dev-python/sip - 6.16.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-python/sip-6.16.0

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

autounmask =dev-python/sip-6.16.0

Or alternatively:

emerge --autounmask-write -a =dev-python/sip-6.16.0

Package Information

Description:
Python bindings generator for C/C++ libraries
Homepage:
https://github.com/Python-SIP/sip/
License:
BSD-2 BSD

Ebuild Details

Version EAPI Keywords Slot
6.16.0 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 5
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..15} )
inherit distutils-r1

DESCRIPTION="Python bindings generator for C/C++ libraries"
HOMEPAGE="https://github.com/Python-SIP/sip/"
SRC_URI="
	https://github.com/Python-SIP/sip/archive/refs/tags/${PV}.tar.gz
		-> ${P}.gh.tar.gz
"

LICENSE="BSD-2 BSD"
SLOT="5"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"

RDEPEND="
	dev-python/packaging[${PYTHON_USEDEP}]
	dev-python/setuptools[${PYTHON_USEDEP}]
"
BDEPEND="
	>=dev-python/setuptools-scm-8[${PYTHON_USEDEP}]
"

distutils_enable_sphinx docs \
	dev-python/myst-parser \
	dev-python/sphinx-rtd-theme

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_test() {
	# the latest ABI version gets tested by default, but ABI 14
	# requires python3.15 or higher
	local epytestargs=()
	[[ ${EPYTHON} =~ python3.1[2-4]t? ]] &&
		epytestargs=( --sip-abi-version=13 )

	epytest "${epytestargs[@]}"
}

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/packaging[]
	dev-python/setuptools[]

BDEPEND

	>=dev-python/setuptools-scm-8[]

Manifest for 6.16.0

Type File Size Source URLs
DIST sip-6.16.0.gh.tar.gz 3049251 bytes https://github.com/Python-SIP/sip/archive/refs/tags/6.16.0.tar.gz