Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/thunarx-python/files/, dev-python/thunarx-python/
Date: Tue, 02 Mar 2021 08:56:48
Message-Id: 1614675398.0391a488704912c78c824375761ba3f9c92f7edc.mgorny@gentoo
1 commit: 0391a488704912c78c824375761ba3f9c92f7edc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 2 08:54:28 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 2 08:56:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0391a488
7
8 dev-python/thunarx-python: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/thunarx-python/Manifest | 1 -
13 .../files/thunarx-python-0.5.1-fno-common.patch | 85 ----------------------
14 .../files/thunarx-python-0.5.1-py38.patch | 27 -------
15 .../thunarx-python/thunarx-python-0.5.1-r1.ebuild | 38 ----------
16 4 files changed, 151 deletions(-)
17
18 diff --git a/dev-python/thunarx-python/Manifest b/dev-python/thunarx-python/Manifest
19 index 052e6af214d..75875183174 100644
20 --- a/dev-python/thunarx-python/Manifest
21 +++ b/dev-python/thunarx-python/Manifest
22 @@ -1,2 +1 @@
23 -DIST thunarx-python-0.5.1.tar.bz2 334426 BLAKE2B 59f8e625b10ceeaefffa4b6dde150c32023365e76854c6e77ae2f222b509856353c8d62de26ba4e7b967cfcce1219205923938389fd1714a420bc9e1ac2b12b2 SHA512 0c1d8f20b74a3eb87b3c2c181c6438bc059dff75afdc26cfea19dffb7efe1f14e6a880689f73afcbbcb5922312741df72018e3b9980c4a45426e7a7d4651177f
24 DIST thunarx-python-0.5.2.tar.bz2 348120 BLAKE2B ddb098857a7411c1ce4dedf8b406cf6583e78f2ca4b012a9e0346c5a7132c40fd9cf279dc5d054ec827028cdc67321a65fab5e9d3912287ea9ed1f0cf4e72248 SHA512 49d009c84d69f0a1938ed6cb46fe04326c7323edecd79f6d9978ce2306fb95f20c901174f1cea31d5e436c85537efcb79c8613be857a3e4143f7b55b895616b6
25
26 diff --git a/dev-python/thunarx-python/files/thunarx-python-0.5.1-fno-common.patch b/dev-python/thunarx-python/files/thunarx-python-0.5.1-fno-common.patch
27 deleted file mode 100644
28 index 21f55c0e6f8..00000000000
29 --- a/dev-python/thunarx-python/files/thunarx-python-0.5.1-fno-common.patch
30 +++ /dev/null
31 @@ -1,85 +0,0 @@
32 -Taken from: https://git.xfce.org/bindings/thunarx-python/commit/?id=3037ebe25d5c6ed58699e56b61f657cea3e5a5a6
33 -Author: Mukundan Ragavan <nonamedotc@×××××.com>
34 -
35 ---- a/src/thunarx-python-object.c
36 -+++ b/src/thunarx-python-object.c
37 -@@ -24,6 +24,7 @@
38 -
39 - #include <thunarx/thunarx.h>
40 -
41 -+#define NO_IMPORT_PYGOBJECT
42 - #include <pygobject.h>
43 -
44 - #include <string.h>
45 ---- a/src/thunarx-python.c
46 -+++ b/src/thunarx-python.c
47 -@@ -30,6 +30,18 @@
48 - #include "thunarx-python.h"
49 - #include "thunarx-python-object.h"
50 -
51 -+PyTypeObject *_PyGtkWidget_Type;
52 -+PyTypeObject *_PyThunarxFileInfo_Type;
53 -+PyTypeObject *_PyThunarxMenuItem_Type;
54 -+PyTypeObject *_PyThunarxMenu_Type;
55 -+PyTypeObject *_PyThunarxMenuProvider_Type;
56 -+PyTypeObject *_PyThunarxPreferencesProvider_Type;
57 -+PyTypeObject *_PyThunarxPropertyPage_Type;
58 -+PyTypeObject *_PyThunarxPropertyPageProvider_Type;
59 -+PyTypeObject *_PyThunarxProviderPlugin_Type;
60 -+PyTypeObject *_PyThunarxRenamer_Type;
61 -+PyTypeObject *_PyThunarxRenamerProvider_Type;
62 -+
63 - static const GDebugKey thunarx_python_debug_keys[] = {
64 - {"all", THUNARX_PYTHON_DEBUG_ALL},
65 - };
66 ---- a/src/thunarx-python.h
67 -+++ b/src/thunarx-python.h
68 -@@ -43,37 +43,37 @@ extern ThunarxPythonDebug thunarx_python_debug;
69 - #define debug_enter_args(x, y) { if (thunarx_python_debug & THUNARX_PYTHON_DEBUG_ALL) \
70 - g_printf("%s: entered " x "\n", __FUNCTION__, y); }
71 -
72 --PyTypeObject *_PyGtkWidget_Type;
73 -+extern PyTypeObject *_PyGtkWidget_Type;
74 - #define PyGtkWidget_Type (*_PyGtkWidget_Type)
75 -
76 --PyTypeObject *_PyThunarxFileInfo_Type;
77 -+extern PyTypeObject *_PyThunarxFileInfo_Type;
78 - #define PyThunarxFileInfo_Type (*_PyThunarxFileInfo_Type)
79 -
80 --PyTypeObject *_PyThunarxMenuItem_Type;
81 -+extern PyTypeObject *_PyThunarxMenuItem_Type;
82 - #define PyThunarxMenuItem_Type (*_PyThunarxMenuItem_Type)
83 -
84 --PyTypeObject *_PyThunarxMenu_Type;
85 -+extern PyTypeObject *_PyThunarxMenu_Type;
86 - #define PyThunarxMenu_Type (*_PyThunarxMenu_Type)
87 -
88 --PyTypeObject *_PyThunarxMenuProvider_Type;
89 -+extern PyTypeObject *_PyThunarxMenuProvider_Type;
90 - #define PyThunarxMenuProvider_Type (*_PyThunarxMenuProvider_Type)
91 -
92 --PyTypeObject *_PyThunarxPreferencesProvider_Type;
93 -+extern PyTypeObject *_PyThunarxPreferencesProvider_Type;
94 - #define PyThunarxPreferencesProvider_Type (*_PyThunarxPreferencesProvider_Type)
95 -
96 --PyTypeObject *_PyThunarxPropertyPage_Type;
97 -+extern PyTypeObject *_PyThunarxPropertyPage_Type;
98 - #define PyThunarxPropertyPage_Type (*_PyThunarxPropertyPage_Type)
99 -
100 --PyTypeObject *_PyThunarxPropertyPageProvider_Type;
101 -+extern PyTypeObject *_PyThunarxPropertyPageProvider_Type;
102 - #define PyThunarxPropertyPageProvider_Type (*_PyThunarxPropertyPageProvider_Type)
103 -
104 --PyTypeObject *_PyThunarxProviderPlugin_Type;
105 -+extern PyTypeObject *_PyThunarxProviderPlugin_Type;
106 - #define PyThunarxProviderPlugin_Type (*_PyThunarxProviderPlugin_Type)
107 -
108 --PyTypeObject *_PyThunarxRenamer_Type;
109 -+extern PyTypeObject *_PyThunarxRenamer_Type;
110 - #define PyThunarxRenamer_Type (*_PyThunarxRenamer_Type)
111 -
112 --PyTypeObject *_PyThunarxRenamerProvider_Type;
113 -+extern PyTypeObject *_PyThunarxRenamerProvider_Type;
114 - #define PyThunarxRenamerProvider_Type (*_PyThunarxRenamerProvider_Type)
115 -
116 - #endif /* THUNARX_PYTHON_H */
117
118 diff --git a/dev-python/thunarx-python/files/thunarx-python-0.5.1-py38.patch b/dev-python/thunarx-python/files/thunarx-python-0.5.1-py38.patch
119 deleted file mode 100644
120 index 19ad0886ad5..00000000000
121 --- a/dev-python/thunarx-python/files/thunarx-python-0.5.1-py38.patch
122 +++ /dev/null
123 @@ -1,27 +0,0 @@
124 -From 78b24f3bf34c1faafcdc5816856bc9bf1bfaed6f Mon Sep 17 00:00:00 2001
125 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
126 -Date: Wed, 15 Jul 2020 17:19:34 +0200
127 -Subject: [PATCH] Fix compilation with python3.8
128 -
129 -Based on upstream commit 5f4edd0b657f52619b60e9931340502fa87f49ff,
130 -stripped off irrelevant changes, made directly in configure.
131 ----
132 - configure | 2 +-
133 - 1 file changed, 1 insertion(+), 1 deletion(-)
134 -
135 -diff --git a/configure b/configure
136 -index 9fabaa0..ff2ceae 100755
137 ---- a/configure
138 -+++ b/configure
139 -@@ -13557,7 +13557,7 @@ py_lib_name=`basename $py_include_path`
140 - if test "x$PYTHON_LIBS" = x; then
141 - PYTHON_CONFIG=`which $PYTHON`-config
142 - if test -x "$PYTHON_CONFIG"; then
143 -- PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null`
144 -+ PYTHON_LIBS=`$PYTHON_CONFIG --libs --embed 2>/dev/null` || PYTHON_LIBS=`$PYTHON_CONFIG --libs 2>/dev/null`
145 - else
146 - PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
147 - fi
148 ---
149 -2.27.0
150 -
151
152 diff --git a/dev-python/thunarx-python/thunarx-python-0.5.1-r1.ebuild b/dev-python/thunarx-python/thunarx-python-0.5.1-r1.ebuild
153 deleted file mode 100644
154 index c58a1be9dac..00000000000
155 --- a/dev-python/thunarx-python/thunarx-python-0.5.1-r1.ebuild
156 +++ /dev/null
157 @@ -1,38 +0,0 @@
158 -# Copyright 1999-2020 Gentoo Authors
159 -# Distributed under the terms of the GNU General Public License v2
160 -
161 -EAPI=7
162 -PYTHON_COMPAT=( python3_{7..9} )
163 -
164 -inherit python-single-r1
165 -
166 -DESCRIPTION="Python bindings for the Thunar file manager"
167 -HOMEPAGE="https://goodies.xfce.org/projects/bindings/thunarx-python"
168 -SRC_URI="https://archive.xfce.org/src/bindings/${PN}/${PV%.*}/${P}.tar.bz2"
169 -
170 -LICENSE="GPL-3"
171 -SLOT="0"
172 -KEYWORDS="amd64 x86"
173 -
174 -RDEPEND="${PYTHON_DEPS}
175 - >=dev-libs/glib-2.30:2
176 - >=x11-libs/gtk+-3.20:3
177 - >=xfce-base/thunar-1.7.0
178 - $(python_gen_cond_dep '
179 - >=dev-python/pygobject-3.20:3[${PYTHON_MULTI_USEDEP}]
180 - ')"
181 -DEPEND="${RDEPEND}"
182 -BDEPEND="virtual/pkgconfig"
183 -
184 -REQUIRED_USE=${PYTHON_REQUIRED_USE}
185 -
186 -PATCHES=(
187 - "${FILESDIR}"/${P}-py38.patch
188 - "${FILESDIR}"/${P}-fno-common.patch
189 -)
190 -
191 -src_install() {
192 - default
193 -
194 - find "${D}" -name '*.la' -delete || die
195 -}