games-util/ProtonUp-Qt: add 2.12.0, update to Python 3.13

Signed-off-by: Vincent Ahluwalia <vincentahluwalia@protonmail.com>
This commit is contained in:
Vincent Ahluwalia
2025-05-04 23:05:49 +02:00
parent 8cc856b75a
commit d00d9f4764
4 changed files with 54 additions and 2 deletions

View File

@@ -1 +1,2 @@
DIST ProtonUp-Qt-2.11.1.tar.gz 944076 BLAKE2B bf2c1bd63e81b8fef15e78132b652e9b2ea44fe837ebaccd5eb12a719ef8199f013865f92dcf57e40bf5464f39d6fe7d69dc4e7eb4c5f9edc4d59d4fcace3087 SHA512 b839880656e8957c1b7d5d99a68b2809e208308ceb45df907e04bd1bd0ee24f695f79b3c7ba7c3ed12b9ed7e8106aed68afb361ff81181a556000c5717b25de7
DIST ProtonUp-Qt-2.12.0.tar.gz 1007595 BLAKE2B 368dfd40c3f9cf5c6d794499af2f883e36b84ddad1b9465a5325d328bdfae4c1ac88b58846fa1309dfa2ef431b4df2402b9865b8ce3ac086b8d5e838b61199f2 SHA512 9efb608e3b4cde605351136811a2b201d0d05687de60dee8ad3d8fe932ade2b3298106a0d43bef933aca952ab393ed4c9817ddb4656bdb44a51f0594becfb6b4

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{12..13} )
inherit desktop distutils-r1 xdg

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..13} )
inherit desktop distutils-r1 xdg
DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam Lutris and Heroic."
HOMEPAGE="https://davidotek.github.io/protonup-qt/"
SRC_URI="
https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/pyaml-6.0[${PYTHON_USEDEP}]
>=dev-python/pyside-6.3.0[dbus,gui,uitools,widgets,${PYTHON_USEDEP}]
>=dev-python/pyxdg-0.27[${PYTHON_USEDEP}]
>=dev-python/requests-2.27.0[${PYTHON_USEDEP}]
>=dev-python/steam-1.6.1[${PYTHON_USEDEP}]
>=dev-python/vdf-4.0[${PYTHON_USEDEP}]
>=dev-python/zstandard-0.19.0[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}/${P}-add-entrypoint.patch"
)
distutils_enable_tests pytest
src_prepare() {
# execute entry point instead
sed -i "/^Exec=/s/net.davidotek.pupgui2/${PN}/" share/applications/net.davidotek.pupgui2.desktop || die
distutils-r1_src_prepare
}
src_install() {
distutils-r1_src_install
domenu share/applications/net.davidotek.pupgui2.desktop
for size in 64 128 256; do
doicon -s ${size} share/icons/hicolor/${size}x${size}/apps/net.davidotek.pupgui2.png
done
}

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{12..13} )
inherit desktop distutils-r1 git-r3 xdg