# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
# actually, it's PyQt6-sip but upstream uses incorrect sdist name
PYPI_PN=PyQt6_sip
# keep compat in sync with PyQt6 or else it confuses some revdeps
PYTHON_COMPAT=( python3_{10..13} )

inherit distutils-r1 pypi

DESCRIPTION="sip module support for PyQt6"
# note that PyQt6-sip is currently not on github, but this is the
# homepage listed upstream as of the writing of this
HOMEPAGE="https://github.com/Python-SIP/sip/"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"