Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-util/legendary/, games-util/legendary/files/
Date: Thu, 02 Sep 2021 14:35:20
Message-Id: 1630593122.e7c8211f8bb0eee44ac7fb8ab535177cb5a2c14f.tastytea@gentoo
1 commit: e7c8211f8bb0eee44ac7fb8ab535177cb5a2c14f
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Thu Sep 2 14:32:02 2021 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Thu Sep 2 14:32:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7c8211f
7
8 games-util/legendary: Version bump 0.20.7
9
10 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
11
12 games-util/legendary/Manifest | 1 +
13 .../legendary-0.20.7_Fix-missing-package.patch | 21 ++++++++++++++++
14 games-util/legendary/legendary-0.20.7.ebuild | 28 ++++++++++++++++++++++
15 3 files changed, 50 insertions(+)
16
17 diff --git a/games-util/legendary/Manifest b/games-util/legendary/Manifest
18 index e4a286905..a73e152a4 100644
19 --- a/games-util/legendary/Manifest
20 +++ b/games-util/legendary/Manifest
21 @@ -1,2 +1,3 @@
22 DIST legendary-0.20.5.tar.gz 81244 BLAKE2B a1d0747bf0d5dd81341453038ef29b4ec78b5fa0e4cb8f40118b99391909f0d1a519490046276c6cb65f97a665216432458b049cfed32e2c5b5cb17feb957627 SHA512 8b5055ab63a822baa030dfea9da810aafae66cc5b16dd8e220fc7cc4d95945174031dccc355b1253554e0fac8bee13cd133ce4e2158ba2ca2521ed27c1b20541
23 DIST legendary-0.20.6.tar.gz 81331 BLAKE2B eda64a90c3882ed45e36efbb15170777d20902938c3c7dc0688f2ad3808ed3fdc583a809021a6bc4ac39f67fd00da7160377f418cf071974106a5faedfc352d9 SHA512 4caf5fe52d087559ef529040ee60034a03b53e0427dcb054cc840713737a6d0f235c779d5019aab9467264b9507042a24f57e1a90231d71c0037064714a745ce
24 +DIST legendary-0.20.7.tar.gz 84938 BLAKE2B f1b830049b2c44c97e5019fbe47b67d34a119b258633e6dcc82fb80add30b1e013709b7f254880f8d30897d53520c8a5b46da8a5ff3bc198ab1dcc4b1f2467a5 SHA512 0a06008053e8fd731e6c7ea29d56910670cd6508acf6993666309a1d59bd479a8fdb5ad3a050a974d6bba2e8e84da54050e7cd4db38f5836205d90421d495563
25
26 diff --git a/games-util/legendary/files/legendary-0.20.7_Fix-missing-package.patch b/games-util/legendary/files/legendary-0.20.7_Fix-missing-package.patch
27 new file mode 100644
28 index 000000000..6c07f4f09
29 --- /dev/null
30 +++ b/games-util/legendary/files/legendary-0.20.7_Fix-missing-package.patch
31 @@ -0,0 +1,21 @@
32 +From ea05ea255932f1b80a498093d547356bd0520dd7 Mon Sep 17 00:00:00 2001
33 +From: derrod <xlnedder@×××××.com>
34 +Date: Wed, 1 Sep 2021 19:12:14 +0200
35 +Subject: [PATCH] Fix missing package in setup.py
36 +
37 +---
38 + setup.py | 1 +
39 + 1 file changed, 1 insertion(+)
40 +
41 +diff --git a/setup.py b/setup.py
42 +index be343fd..38b315b 100644
43 +--- a/setup.py
44 ++++ b/setup.py
45 +@@ -26,6 +26,7 @@
46 + 'legendary',
47 + 'legendary.api',
48 + 'legendary.downloader',
49 ++ 'legendary.downloader.mp',
50 + 'legendary.lfs',
51 + 'legendary.models',
52 + 'legendary.utils',
53
54 diff --git a/games-util/legendary/legendary-0.20.7.ebuild b/games-util/legendary/legendary-0.20.7.ebuild
55 new file mode 100644
56 index 000000000..50da03057
57 --- /dev/null
58 +++ b/games-util/legendary/legendary-0.20.7.ebuild
59 @@ -0,0 +1,28 @@
60 +# Copyright 2020-2021 Gentoo Authors
61 +# Distributed under the terms of the GNU General Public License v2
62 +
63 +EAPI=7
64 +
65 +PYTHON_COMPAT=( python3_{8,9,10} )
66 +DISTUTILS_SINGLE_IMPL=1
67 +DISTUTILS_USE_SETUPTOOLS="bdepend"
68 +
69 +inherit distutils-r1
70 +
71 +DESCRIPTION="A free and open-source replacement for the Epic Games Launcher"
72 +HOMEPAGE="https://github.com/derrod/legendary"
73 +SRC_URI="https://github.com/derrod/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
74 +
75 +LICENSE="GPL-3+"
76 +SLOT="0"
77 +KEYWORDS="~amd64"
78 +
79 +PATCHES=( "${FILESDIR}/legendary-0.20.7_Fix-missing-package.patch" )
80 +
81 +RDEPEND="
82 + $(python_gen_cond_dep '
83 + <dev-python/requests-3.0[${PYTHON_USEDEP}]
84 + dev-python/wheel[${PYTHON_USEDEP}]
85 + ')
86 +"
87 +DEPEND="${RDEPEND}"