dev-python/sip - 6.15.1 (gentoo)

Search

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.15.1 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_{11..14} )
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() {
	# some tests currently fails to find test/utils without this
	# TODO: try again without, used to be unneeded but not been looked into
	local -x PYTHONPATH=${S}/test:${PYTHONPATH}

	local EPYTEST_DESELECT=(
		# logic for this test seems(?) inverted (XFAIL), skip for now
		# given it's new and is only to emit a deprecation warning
		test/gen_classes/test_gen_classes.py::GenerateClassesTestCase::test_Nonpublic_Superclasses
	)

	distutils-r1_python_test
}

Dependencies

RDEPEND

	dev-python/packaging[${PYTHON_USEDEP}]
	dev-python/setuptools[${PYTHON_USEDEP}]

BDEPEND

	>=dev-python/setuptools-scm-8[${PYTHON_USEDEP}]

Manifest for 6.15.1

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