public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-misc/pythoncad/files/, profiles/, sci-misc/pythoncad/
@ 2020-03-26 23:36 Andreas Sturmlechner
  0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2020-03-26 23:36 UTC (permalink / raw
  To: gentoo-commits

commit:     2fa705d977cf4baa6f48405d9944bf5ae9931607
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 26 23:28:25 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 26 23:33:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fa705d9

sci-misc/pythoncad: Remove last-rited package

Closes: https://bugs.gentoo.org/710162
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 profiles/package.mask                             |  5 ---
 sci-misc/pythoncad/Manifest                       |  1 -
 sci-misc/pythoncad/files/pythoncad-1.37-png.patch | 24 ------------
 sci-misc/pythoncad/metadata.xml                   |  9 -----
 sci-misc/pythoncad/pythoncad-1.37-r1.ebuild       | 48 -----------------------
 5 files changed, 87 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index b1466d7b358..a2c66614f1d 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -471,11 +471,6 @@ x11-misc/revelation
 # Last release in 2011, bug #708150, masked for removal in 30 days.
 x11-misc/tintwizard
 
-# Andreas Sturmlechner <asturm@gentoo.org> (2020-02-26)
-# Unmaintained revdep on dev-python/pygtk blocking its removal, py2-only
-# Last activity in 2013, bug #710162, masked for removal in 30 days.
-sci-misc/pythoncad
-
 # Michał Górny <mgorny@gentoo.org> (2020-02-24)
 # app-admin/packagekit-base is Python 2 only and behind upstream.
 # The Portage backend is unmaintained.  Other packages are its reverse

diff --git a/sci-misc/pythoncad/Manifest b/sci-misc/pythoncad/Manifest
deleted file mode 100644
index 259c1f73c82..00000000000
--- a/sci-misc/pythoncad/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST PythonCAD-DS1-R37.tar.gz 504053 BLAKE2B 09e8ce415eb9af57a53d516e0bf8046e04a78861f1cb97d8bca7d27c87938dda6c27f5b5e8a3bd5aafcda91caf5ab203f933df3717d781b4b7994376544b6647 SHA512 dfc0dd3272f447202c0cf12e60c39d877390ccf6696529f6bcce9a4442db4f09b735d718bc5611d6c33fbedf2190c496fb7a737001eb73a38fbce1ae80eadc81

diff --git a/sci-misc/pythoncad/files/pythoncad-1.37-png.patch b/sci-misc/pythoncad/files/pythoncad-1.37-png.patch
deleted file mode 100644
index 7d36625e21a..00000000000
--- a/sci-misc/pythoncad/files/pythoncad-1.37-png.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ru PythonCAD-DS1-R37~/PythonCAD/Interface/Gtk/gtkDialog.py PythonCAD-DS1-R37/PythonCAD/Interface/Gtk/gtkDialog.py
---- PythonCAD-DS1-R37~/PythonCAD/Interface/Gtk/gtkDialog.py	2010-03-11 00:01:58.000000000 +0100
-+++ PythonCAD-DS1-R37/PythonCAD/Interface/Gtk/gtkDialog.py	2010-03-11 00:03:48.000000000 +0100
-@@ -107,7 +107,7 @@
-     _abautDialog.set_program_name("PythonCad")
-     _abautDialog.set_version("DS1-R37")
-     _abautDialog.set_comments("CAD built from Python")
--    _iconPath=os.path.join(os.getcwd(),"gtkpycad.png")
-+    _iconPath=os.path.join("/usr/share/pixmaps/pythoncad.png")
-     _pixBuf=gtk.gdk.pixbuf_new_from_file(_iconPath)
-     _abautDialog.set_logo(_pixBuf)
-     _abautDialog.set_website("http://sourceforge.net/projects/pythoncad")
-diff -ru PythonCAD-DS1-R37~/PythonCAD/Interface/Gtk/gtkimage.py PythonCAD-DS1-R37/PythonCAD/Interface/Gtk/gtkimage.py
---- PythonCAD-DS1-R37~/PythonCAD/Interface/Gtk/gtkimage.py	2010-03-11 00:01:58.000000000 +0100
-+++ PythonCAD-DS1-R37/PythonCAD/Interface/Gtk/gtkimage.py	2010-03-11 00:02:59.000000000 +0100
-@@ -154,7 +154,7 @@
-         self.__image = image
-         self.__window = gtk.Window()
-         self.__window.set_title(image.filename)
--        self.__window.set_icon_from_file("gtkpycad.png")
-+        self.__window.set_icon_from_file("/usr/share/pixmaps/pythoncad.png")
-         self.__window.connect("destroy", self.__destroyEvent)
-         self.__window.connect("event", self.__windowEvent)
-         self.__window.connect("key_press_event", self.__keyPressEvent)

diff --git a/sci-misc/pythoncad/metadata.xml b/sci-misc/pythoncad/metadata.xml
deleted file mode 100644
index ab9c765c026..00000000000
--- a/sci-misc/pythoncad/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <!-- maintainer-needed -->
-  <longdescription>a scriptable, open-source, easy to use CAD</longdescription>
-  <upstream>
-    <remote-id type="sourceforge">pythoncad</remote-id>
-  </upstream>
-</pkgmetadata>

diff --git a/sci-misc/pythoncad/pythoncad-1.37-r1.ebuild b/sci-misc/pythoncad/pythoncad-1.37-r1.ebuild
deleted file mode 100644
index d7d06a472e1..00000000000
--- a/sci-misc/pythoncad/pythoncad-1.37-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils distutils-r1 versionator
-
-MY_PN="PythonCAD"
-MY_PV="DS$(get_major_version)-R$(get_after_major_version)"
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="CAD program written in PyGTK"
-HOMEPAGE="https://sourceforge.net/projects/pythoncad"
-SRC_URI="mirror://sourceforge/pythoncad/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="dev-python/pygtk:2[${PYTHON_USEDEP}]"
-DEPEND=""
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=( "${FILESDIR}/${P}-png.patch" )
-
-python_prepare_all() {
-	distutils-r1_python_prepare_all
-	sed -i \
-		-e "s/gtkpycad.png/pythoncad.png/" \
-		-e "s/gtkpycad.py/pythoncad/" \
-		"${PN}.desktop" || die "sed failed"
-}
-
-python_install() {
-	distutils-r1_python_install
-	python_newscript gtkpycad.py pythoncad
-}
-
-src_install() {
-	distutils-r1_src_install
-
-	insinto /etc/"${PN}"
-	doins prefs.py
-	domenu "${PN}".desktop
-	newicon gtkpycad.png "${PN}".png
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-26 23:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-26 23:36 [gentoo-commits] repo/gentoo:master commit in: sci-misc/pythoncad/files/, profiles/, sci-misc/pythoncad/ Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox