games-util/legendary add 0.20.34 with py 3.12 compat

This commit is contained in:
Ben 2024-06-04 15:08:45 +02:00
parent 97a50ef2c8
commit 26bed278b7
Signed by: ben
GPG key ID: 1353F41CF1CFF2D3
3 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST legendary-0.20.34.tar.gz 148218 BLAKE2B d68e14b17024d389f382238be3482436f2b8fdc64f6500c81bd0c400fc9348ff287dd407dc60cda5c880c830b87b5d436c37a9e3319ef5f29621f00b7109e6d7 SHA512 37ad1f7478d85fe38708acce76cb933c85bd2fb342fc8367423e3eb0d314fc85cea7ff2ae48385d507ba3bc7085f813efed257ac2aa95637b4dbc1a0aec57af8

View file

@ -0,0 +1,29 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
DESCRIPTION="A free and open-source replacement for the Epic Games Launcher"
HOMEPAGE="https://github.com/derrod/legendary"
SRC_URI="https://github.com/derrod/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="webview"
# NOTE: dev-python/pywebview[qt5] is not much tested and does not function
# correctly in some cases, according to release notes for 0.20.16.
RDEPEND="
$(python_gen_cond_dep '
dev-python/filelock[${PYTHON_USEDEP}]
<dev-python/requests-3.0[${PYTHON_USEDEP}]
webview? ( dev-python/pywebview[gtk,${PYTHON_USEDEP}] )
')
"
DEPEND="${RDEPEND}"

View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@tastytea.de</email>
<name>tastytea</name>
</maintainer>
<longdescription lang="en">
Legendary is an open-source game launcher that can download and install
games from the Epic Games platform on Linux and Windows. It's name is a
tongue-in-cheek play on tiers of item rarity in many MMORPGs.
</longdescription>
<upstream>
<remote-id type="github">derrod/legendary</remote-id>
</upstream>
<use>
<flag name="webview">Use dev-python/pywebview for the sign-in process</flag>
</use>
</pkgmetadata>