summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-27 00:28:25 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-27 00:33:46 +0100
commit2fa705d977cf4baa6f48405d9944bf5ae9931607 (patch)
tree7b9339dd34168051522c2caa0c1647b4e3692f46 /sci-misc
parentsci-electronics/gresistor: Remove last-rited package (diff)
downloadgentoo-2fa705d977cf4baa6f48405d9944bf5ae9931607.tar.gz
gentoo-2fa705d977cf4baa6f48405d9944bf5ae9931607.tar.bz2
gentoo-2fa705d977cf4baa6f48405d9944bf5ae9931607.zip
sci-misc/pythoncad: Remove last-rited package
Closes: https://bugs.gentoo.org/710162 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/pythoncad/Manifest1
-rw-r--r--sci-misc/pythoncad/files/pythoncad-1.37-png.patch24
-rw-r--r--sci-misc/pythoncad/metadata.xml9
-rw-r--r--sci-misc/pythoncad/pythoncad-1.37-r1.ebuild48
4 files changed, 0 insertions, 82 deletions
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
-}