Gentoo Archives: gentoo-commits

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