1 |
commit: 43d42e0f512f46f5a739d061fcc165185d35ddb5 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 26 09:06:06 2021 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 26 09:06:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43d42e0f |
7 |
|
8 |
app-emulation/protontricks: drop 1.4.3 |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
app-emulation/protontricks/Manifest | 1 - |
13 |
.../protontricks-1.4.3_no-setuptools-scm.patch | 32 ------------ |
14 |
.../protontricks/protontricks-1.4.3.ebuild | 57 ---------------------- |
15 |
3 files changed, 90 deletions(-) |
16 |
|
17 |
diff --git a/app-emulation/protontricks/Manifest b/app-emulation/protontricks/Manifest |
18 |
index 725d3d5c481..8aac41c6d5a 100644 |
19 |
--- a/app-emulation/protontricks/Manifest |
20 |
+++ b/app-emulation/protontricks/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST protontricks-1.4.3.tar.gz 43573 BLAKE2B 3a3050ba6e940182d81d98498a5558433ceaa4282f5a23fb93b3cfc299699381493eb2912c5f03bb6a8092be5c50b94bf7181208cda3d4c0f4c90c0f438f7f1b SHA512 7ca8c7c273d92f7c4526caaa8c9db6988c642913c33c6b6188d285d5cfbe30924533a9f024135865cdc1a25bd867ac00bd915b0a61417d17fe0e5ee451417e64 |
23 |
DIST protontricks-1.5.0.tar.gz 46957 BLAKE2B 622affd9a1bfff3a5cd76fa8e279f25b5c91a6f040b6cc4e5f42e58be08a232fad2be179a47e063b45b1b1bb11b6ae9ce26cce499f4c1dae460be0bb8247e619 SHA512 6df3e0dd638684e70a8d40b7440e2340765109e31dd47fa5e33e4959bc34d3ff4cfa70c8689cafdcce82f1d97ba6d25de724ca7439e5d1ffd634b729ab222716 |
24 |
DIST protontricks-1.5.1.tar.gz 48111 BLAKE2B df7feaefd2ec1c058fa7190ec9c981bd480e5d36cf7a3e15868aa8e052857e69dc573559e35faf74d9d2f4a5549471cb0e8fc0be58ed2431890e37751c88cab8 SHA512 4b8d5d17a4bce8bd987c032f5a5ae689d1dcca4694463778398bb62b983afe6eee666aed891c810e852a9f873233b1822d21878464b25f07f8ab92e1777f3ff1 |
25 |
|
26 |
diff --git a/app-emulation/protontricks/files/protontricks-1.4.3_no-setuptools-scm.patch b/app-emulation/protontricks/files/protontricks-1.4.3_no-setuptools-scm.patch |
27 |
deleted file mode 100644 |
28 |
index e8c6d75036b..00000000000 |
29 |
--- a/app-emulation/protontricks/files/protontricks-1.4.3_no-setuptools-scm.patch |
30 |
+++ /dev/null |
31 |
@@ -1,32 +0,0 @@ |
32 |
-Since version 1.4.1 upstream has used setuptools-scm to determine the |
33 |
-current version number. Unfortunately the package in question does not |
34 |
-support GitHub release archives, using GitHub VCS snapshots would require |
35 |
-retrieving and updating commit hashes corresponding to release tags, and |
36 |
-PyPI tarballs do not contain tests. setuptools_scm_git_archive does not |
37 |
-help because it requires extra files to be included in the repository, |
38 |
-which upstream has not done. |
39 |
- |
40 |
-Seeing as we already know the version number, bypass setuptools_scm |
41 |
-altogether and create the version file ourselves. For obvious reasons the |
42 |
-latter has to be done in ebuilds themselves. |
43 |
- |
44 |
---- a/setup.py |
45 |
-+++ b/setup.py |
46 |
-@@ -16,9 +16,6 @@ |
47 |
- |
48 |
- setup( |
49 |
- name="protontricks", |
50 |
-- use_scm_version={ |
51 |
-- "write_to": "src/protontricks/_version.py" |
52 |
-- }, |
53 |
- description=DESCRIPTION, |
54 |
- long_description=LONG_DESCRIPTION, |
55 |
- author=AUTHOR, |
56 |
-@@ -28,7 +25,6 @@ |
57 |
- packages=["protontricks"], |
58 |
- package_data={"": ["LICENSE"]}, |
59 |
- package_dir={"protontricks": "src/protontricks"}, |
60 |
-- setup_requires=["setuptools_scm"], |
61 |
- install_requires=["vdf>=3.2"], |
62 |
- entry_points={ |
63 |
- "console_scripts": [ |
64 |
|
65 |
diff --git a/app-emulation/protontricks/protontricks-1.4.3.ebuild b/app-emulation/protontricks/protontricks-1.4.3.ebuild |
66 |
deleted file mode 100644 |
67 |
index b09334a725c..00000000000 |
68 |
--- a/app-emulation/protontricks/protontricks-1.4.3.ebuild |
69 |
+++ /dev/null |
70 |
@@ -1,57 +0,0 @@ |
71 |
-# Copyright 1999-2021 Gentoo Authors |
72 |
-# Distributed under the terms of the GNU General Public License v2 |
73 |
- |
74 |
-EAPI=7 |
75 |
- |
76 |
-PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
77 |
-DISTUTILS_SINGLE_IMPL=1 |
78 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
79 |
- |
80 |
-inherit distutils-r1 |
81 |
- |
82 |
-DESCRIPTION="app-emulation/winetricks wrapper for Proton (Steam Play) games" |
83 |
-HOMEPAGE="https://github.com/Matoking/protontricks" |
84 |
-SRC_URI="https://github.com/Matoking/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
85 |
- |
86 |
-LICENSE="GPL-3" |
87 |
-SLOT="0" |
88 |
-KEYWORDS="amd64" |
89 |
-IUSE="+gui" |
90 |
- |
91 |
-RDEPEND="app-emulation/winetricks |
92 |
- $(python_gen_cond_dep ' |
93 |
- dev-python/vdf[${PYTHON_USEDEP}] |
94 |
- ') |
95 |
- gui? ( gnome-extra/zenity |
96 |
- || ( |
97 |
- app-emulation/winetricks[gtk] |
98 |
- app-emulation/winetricks[kde] |
99 |
- ) |
100 |
- )" |
101 |
- |
102 |
-PATCHES=( |
103 |
- "${FILESDIR}"/${PN}-1.4.3_no-setuptools-scm.patch |
104 |
-) |
105 |
- |
106 |
-DOCS=( CHANGELOG.md README.md ) |
107 |
- |
108 |
-distutils_enable_tests pytest |
109 |
- |
110 |
-python_prepare_all() { |
111 |
- distutils-r1_python_prepare_all |
112 |
- echo "version = '${PV}'" > "${S}"/src/${PN}/_version.py || die "Failed to generate the version file" |
113 |
-} |
114 |
- |
115 |
-pkg_postinst() { |
116 |
- elog |
117 |
- |
118 |
- if ! use gui; then |
119 |
- ewarn "Please note that disabling USE=gui does *not* presently remove the --gui command-line option," |
120 |
- ewarn "it just means using this option will fail unless gnome-extra/zenity happens to be installed." |
121 |
- ewarn |
122 |
- fi |
123 |
- |
124 |
- elog "Protontricks can only find games for which a Proton prefix already exists." |
125 |
- elog "Make sure to run a Proton game at least once before trying to use protontricks on it." |
126 |
- elog |
127 |
-} |