qt-py-2.0.1.ebuild

This commit is contained in:
Anton Bolshakov 2026-04-22 20:59:21 +08:00
parent 12c26058c5
commit d52daaf05e
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 41 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST Qt.py-1.4.1.tar.gz 49400 BLAKE2B f20f46359d6041a7cbe407365b103d627f7e846f514b8cb7fe07b97b525a3b06e2833fff672e712762c41c38cfd657886ace5b22452806b5f15d1212e574ff07 SHA512 d388421120c4f19b8af264a637ed6dac81c23bb7e3a4c5bbeb8cdbcc9012340f8006eba1cf678e3e19ea06233ff283211c845429d9bbac1c5015da03b04c0a63
DIST qt_py-2.0.1.tar.gz 63499 BLAKE2B c0989430c93a96e81ef0d30e24ca6d0ae98312a0035421440e0edaa05abe83279b885806bf453719c75ee687c25ba2252c84f84bfdf48968936d6e25f43fc7f2 SHA512 a700bd76829087f0e39f4018cf026ecd797e3b7b6e57c58a1258f0c2c37619b79b1084d395746d5ee9447b181ba870ab78efb69f8417e4be77861aa3a8ce968d

View file

@ -0,0 +1,40 @@
# Copyright 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
DESCRIPTION="Minimal Python 2 & 3 shim around all Qt bindings"
HOMEPAGE="https://github.com/mottosso/Qt.py"
LICENSE="MIT"
SLOT="0"
if [ "${PV}" = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mottosso/Qt.py.git"
else
#PYPI_NO_NORMALIZE=1
PYPI_PN="Qt_py"
inherit pypi
KEYWORDS="amd64 ~arm64 ~x86"
#SRC_URI="https://github.com/mottosso/Qt.py/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
#S="${WORKDIR}"/Qt.py-"${PV}"
fi
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
dev-python/pyqt6[${PYTHON_USEDEP}]"
#python_prepare_all() {
#do not install LICENSE into /usr
# sed -e '/data_files/d' -i setup.py || die
# distutils-r1_python_prepare_all
#}