Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/pythoncad/files/, profiles/, sci-misc/pythoncad/
Date: Thu, 26 Mar 2020 23:37:05
Message-Id: 1585265626.2fa705d977cf4baa6f48405d9944bf5ae9931607.asturm@gentoo
1 commit: 2fa705d977cf4baa6f48405d9944bf5ae9931607
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 26 23:28:25 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 26 23:33:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fa705d9
7
8 sci-misc/pythoncad: Remove last-rited package
9
10 Closes: https://bugs.gentoo.org/710162
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 profiles/package.mask | 5 ---
14 sci-misc/pythoncad/Manifest | 1 -
15 sci-misc/pythoncad/files/pythoncad-1.37-png.patch | 24 ------------
16 sci-misc/pythoncad/metadata.xml | 9 -----
17 sci-misc/pythoncad/pythoncad-1.37-r1.ebuild | 48 -----------------------
18 5 files changed, 87 deletions(-)
19
20 diff --git a/profiles/package.mask b/profiles/package.mask
21 index b1466d7b358..a2c66614f1d 100644
22 --- a/profiles/package.mask
23 +++ b/profiles/package.mask
24 @@ -471,11 +471,6 @@ x11-misc/revelation
25 # Last release in 2011, bug #708150, masked for removal in 30 days.
26 x11-misc/tintwizard
27
28 -# Andreas Sturmlechner <asturm@g.o> (2020-02-26)
29 -# Unmaintained revdep on dev-python/pygtk blocking its removal, py2-only
30 -# Last activity in 2013, bug #710162, masked for removal in 30 days.
31 -sci-misc/pythoncad
32 -
33 # Michał Górny <mgorny@g.o> (2020-02-24)
34 # app-admin/packagekit-base is Python 2 only and behind upstream.
35 # The Portage backend is unmaintained. Other packages are its reverse
36
37 diff --git a/sci-misc/pythoncad/Manifest b/sci-misc/pythoncad/Manifest
38 deleted file mode 100644
39 index 259c1f73c82..00000000000
40 --- a/sci-misc/pythoncad/Manifest
41 +++ /dev/null
42 @@ -1 +0,0 @@
43 -DIST PythonCAD-DS1-R37.tar.gz 504053 BLAKE2B 09e8ce415eb9af57a53d516e0bf8046e04a78861f1cb97d8bca7d27c87938dda6c27f5b5e8a3bd5aafcda91caf5ab203f933df3717d781b4b7994376544b6647 SHA512 dfc0dd3272f447202c0cf12e60c39d877390ccf6696529f6bcce9a4442db4f09b735d718bc5611d6c33fbedf2190c496fb7a737001eb73a38fbce1ae80eadc81
44
45 diff --git a/sci-misc/pythoncad/files/pythoncad-1.37-png.patch b/sci-misc/pythoncad/files/pythoncad-1.37-png.patch
46 deleted file mode 100644
47 index 7d36625e21a..00000000000
48 --- a/sci-misc/pythoncad/files/pythoncad-1.37-png.patch
49 +++ /dev/null
50 @@ -1,24 +0,0 @@
51 -diff -ru PythonCAD-DS1-R37~/PythonCAD/Interface/Gtk/gtkDialog.py PythonCAD-DS1-R37/PythonCAD/Interface/Gtk/gtkDialog.py
52 ---- PythonCAD-DS1-R37~/PythonCAD/Interface/Gtk/gtkDialog.py 2010-03-11 00:01:58.000000000 +0100
53 -+++ PythonCAD-DS1-R37/PythonCAD/Interface/Gtk/gtkDialog.py 2010-03-11 00:03:48.000000000 +0100
54 -@@ -107,7 +107,7 @@
55 - _abautDialog.set_program_name("PythonCad")
56 - _abautDialog.set_version("DS1-R37")
57 - _abautDialog.set_comments("CAD built from Python")
58 -- _iconPath=os.path.join(os.getcwd(),"gtkpycad.png")
59 -+ _iconPath=os.path.join("/usr/share/pixmaps/pythoncad.png")
60 - _pixBuf=gtk.gdk.pixbuf_new_from_file(_iconPath)
61 - _abautDialog.set_logo(_pixBuf)
62 - _abautDialog.set_website("http://sourceforge.net/projects/pythoncad")
63 -diff -ru PythonCAD-DS1-R37~/PythonCAD/Interface/Gtk/gtkimage.py PythonCAD-DS1-R37/PythonCAD/Interface/Gtk/gtkimage.py
64 ---- PythonCAD-DS1-R37~/PythonCAD/Interface/Gtk/gtkimage.py 2010-03-11 00:01:58.000000000 +0100
65 -+++ PythonCAD-DS1-R37/PythonCAD/Interface/Gtk/gtkimage.py 2010-03-11 00:02:59.000000000 +0100
66 -@@ -154,7 +154,7 @@
67 - self.__image = image
68 - self.__window = gtk.Window()
69 - self.__window.set_title(image.filename)
70 -- self.__window.set_icon_from_file("gtkpycad.png")
71 -+ self.__window.set_icon_from_file("/usr/share/pixmaps/pythoncad.png")
72 - self.__window.connect("destroy", self.__destroyEvent)
73 - self.__window.connect("event", self.__windowEvent)
74 - self.__window.connect("key_press_event", self.__keyPressEvent)
75
76 diff --git a/sci-misc/pythoncad/metadata.xml b/sci-misc/pythoncad/metadata.xml
77 deleted file mode 100644
78 index ab9c765c026..00000000000
79 --- a/sci-misc/pythoncad/metadata.xml
80 +++ /dev/null
81 @@ -1,9 +0,0 @@
82 -<?xml version="1.0" encoding="UTF-8"?>
83 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
84 -<pkgmetadata>
85 - <!-- maintainer-needed -->
86 - <longdescription>a scriptable, open-source, easy to use CAD</longdescription>
87 - <upstream>
88 - <remote-id type="sourceforge">pythoncad</remote-id>
89 - </upstream>
90 -</pkgmetadata>
91
92 diff --git a/sci-misc/pythoncad/pythoncad-1.37-r1.ebuild b/sci-misc/pythoncad/pythoncad-1.37-r1.ebuild
93 deleted file mode 100644
94 index d7d06a472e1..00000000000
95 --- a/sci-misc/pythoncad/pythoncad-1.37-r1.ebuild
96 +++ /dev/null
97 @@ -1,48 +0,0 @@
98 -# Copyright 1999-2015 Gentoo Foundation
99 -# Distributed under the terms of the GNU General Public License v2
100 -
101 -EAPI="5"
102 -
103 -PYTHON_COMPAT=( python2_7 )
104 -inherit eutils distutils-r1 versionator
105 -
106 -MY_PN="PythonCAD"
107 -MY_PV="DS$(get_major_version)-R$(get_after_major_version)"
108 -MY_P="${MY_PN}-${MY_PV}"
109 -
110 -DESCRIPTION="CAD program written in PyGTK"
111 -HOMEPAGE="https://sourceforge.net/projects/pythoncad"
112 -SRC_URI="mirror://sourceforge/pythoncad/${MY_P}.tar.gz"
113 -
114 -LICENSE="GPL-2"
115 -SLOT="0"
116 -KEYWORDS="~amd64 ~x86"
117 -
118 -RDEPEND="dev-python/pygtk:2[${PYTHON_USEDEP}]"
119 -DEPEND=""
120 -
121 -S="${WORKDIR}/${MY_P}"
122 -
123 -PATCHES=( "${FILESDIR}/${P}-png.patch" )
124 -
125 -python_prepare_all() {
126 - distutils-r1_python_prepare_all
127 - sed -i \
128 - -e "s/gtkpycad.png/pythoncad.png/" \
129 - -e "s/gtkpycad.py/pythoncad/" \
130 - "${PN}.desktop" || die "sed failed"
131 -}
132 -
133 -python_install() {
134 - distutils-r1_python_install
135 - python_newscript gtkpycad.py pythoncad
136 -}
137 -
138 -src_install() {
139 - distutils-r1_src_install
140 -
141 - insinto /etc/"${PN}"
142 - doins prefs.py
143 - domenu "${PN}".desktop
144 - newicon gtkpycad.png "${PN}".png
145 -}