diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /sci-misc/pythoncad | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'sci-misc/pythoncad')
-rw-r--r-- | sci-misc/pythoncad/Manifest | 4 | ||||
-rw-r--r-- | sci-misc/pythoncad/files/pythoncad-1.37-png.patch | 24 | ||||
-rw-r--r-- | sci-misc/pythoncad/metadata.xml | 9 | ||||
-rw-r--r-- | sci-misc/pythoncad/pythoncad-1.37-r1.ebuild | 48 |
4 files changed, 0 insertions, 85 deletions
diff --git a/sci-misc/pythoncad/Manifest b/sci-misc/pythoncad/Manifest deleted file mode 100644 index 41aab53b9d44..000000000000 --- a/sci-misc/pythoncad/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX pythoncad-1.37-png.patch 1535 BLAKE2B b4113a6ac0524284c4d00b9fd3a7462fceb23026fb54c077a55df759fa7df8ed4cd9ae2d69e3286910be81d20e6168ddf0c840d7c629f9be880adb67eebe2e5a SHA512 642932e86ea12454c6e1d00820d21200cbde5653ebb6145c73790c7685bb8885022067bc3c9e12f3dc3b2f036c80896775acf8ba3e490b1df35b666e2ec1959e -DIST PythonCAD-DS1-R37.tar.gz 504053 BLAKE2B 09e8ce415eb9af57a53d516e0bf8046e04a78861f1cb97d8bca7d27c87938dda6c27f5b5e8a3bd5aafcda91caf5ab203f933df3717d781b4b7994376544b6647 SHA512 dfc0dd3272f447202c0cf12e60c39d877390ccf6696529f6bcce9a4442db4f09b735d718bc5611d6c33fbedf2190c496fb7a737001eb73a38fbce1ae80eadc81 -EBUILD pythoncad-1.37-r1.ebuild 1029 BLAKE2B 28d45bf71b920d5ea6c95db16967a04b63a17edbac105abff191a7fba07e628cbc99eacd7d13142be146797add5199f6760f1eea82443a46fabdcae55a2a8528 SHA512 d93b193239c09bdb05982df873fabc0d0a657be5f3d477e716cd5ecfc5e427a71e1481fc129c128690e787dfe7ec371bf7e8cfa806f99aacb94bfcfdd8070e23 -MISC metadata.xml 331 BLAKE2B 7799e1decb3b94d019d74aba17fcc70708ca9973817354f3342910a6accf2db93ea8f82ba8f9877e78529ee282bc0264026bb4ff3dc7f0d2c8eaccc25b5f111a SHA512 31803480a3e8c99757e97e9b55885edbe54f1a2f448529d852f0e432b8cc264b62bd615a725ca48fa013513030b0d72c5a0ba9628f67537b5f1c9d17db7e9df6 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 7d36625e21a8..000000000000 --- 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 ab9c765c0261..000000000000 --- 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 d7d06a472e13..000000000000 --- 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 -} |