From ba98e36d33fdab81251c6270e7acccbd75a512f9 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 21 Feb 2020 21:20:19 +0100 Subject: app-misc/gourmet: Remove last-rited pkg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/706030 Signed-off-by: Michał Górny --- app-misc/gourmet/Manifest | 1 - app-misc/gourmet/files/gourmet-0.17.4-pyglet.patch | 56 ------------------- app-misc/gourmet/files/no-docs-0.17.0.patch | 10 ---- app-misc/gourmet/files/tostring-to-tobytes.patch | 26 --------- app-misc/gourmet/gourmet-0.17.4-r2.ebuild | 62 ---------------------- app-misc/gourmet/metadata.xml | 45 ---------------- 6 files changed, 200 deletions(-) delete mode 100644 app-misc/gourmet/Manifest delete mode 100644 app-misc/gourmet/files/gourmet-0.17.4-pyglet.patch delete mode 100644 app-misc/gourmet/files/no-docs-0.17.0.patch delete mode 100644 app-misc/gourmet/files/tostring-to-tobytes.patch delete mode 100644 app-misc/gourmet/gourmet-0.17.4-r2.ebuild delete mode 100644 app-misc/gourmet/metadata.xml (limited to 'app-misc') diff --git a/app-misc/gourmet/Manifest b/app-misc/gourmet/Manifest deleted file mode 100644 index 7400ec6c1c4f..000000000000 --- a/app-misc/gourmet/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gourmet-0.17.4.tar.gz 8487830 BLAKE2B 511da1ae85a788fdce622cb9eb1822e6f264daffc76f25ceb8148de0a4658d9a2307278e6e981073d1aed0fa6e96d543386ed7357e0c9a3c1b511bd107dee62d SHA512 54010a5527f33e08b38d0fdf143cc4528e8ccc65ccad3253074135212751c3bc4385ba5f721327268f455bf85ff6f248e56ebfa1b98933a4ee061983eb9daa4e diff --git a/app-misc/gourmet/files/gourmet-0.17.4-pyglet.patch b/app-misc/gourmet/files/gourmet-0.17.4-pyglet.patch deleted file mode 100644 index 1547cde8f00d..000000000000 --- a/app-misc/gourmet/files/gourmet-0.17.4-pyglet.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff --git a/gourmet/sound.py b/gourmet/sound.py -index 2dea6bb7..c232d258 100644 ---- a/gourmet/sound.py -+++ b/gourmet/sound.py -@@ -1,15 +1,19 @@ - try: -- from sound_gst import Player -+ from sound_pyglet import Player - except ImportError: -- print 'No gst player' -+ print 'No pyglet player' - try: -- from sound_windows import Player -+ from sound_gst import Player - except ImportError: -- print 'No windows player' -- import sys -- class Player: -- """Fallback player""" -- def play_file (self,path): -- print 'No player installed -- beeping instead' -- for n in range(5): sys.stdout.write('\a'); sys.stdout.flush() -+ print 'No gst player' -+ try: -+ from sound_windows import Player -+ except ImportError: -+ print 'No windows player' -+ import sys -+ class Player: -+ """Fallback player""" -+ def play_file (self,path): -+ print 'No player installed -- beeping instead' -+ for n in range(5): sys.stdout.write('\a'); sys.stdout.flush() - -diff --git a/gourmet/sound_pyglet.py b/gourmet/sound_pyglet.py -new file mode 100644 -index 00000000..41da613a ---- /dev/null -+++ b/gourmet/sound_pyglet.py -@@ -0,0 +1,16 @@ -+import pyglet -+ -+class Player: -+ def __init__ (self): -+ pass -+ -+ def play_file (self,path): -+ self.source = pyglet.media.load(path,streaming=False) -+ self.source.play() -+ -+ def stop_play (self,path): -+ pass -+ -+if __name__ == '__main__': -+ p = Player() -+ p.play_file('../data/sound/phone.wav') diff --git a/app-misc/gourmet/files/no-docs-0.17.0.patch b/app-misc/gourmet/files/no-docs-0.17.0.patch deleted file mode 100644 index 9002a2ef3384..000000000000 --- a/app-misc/gourmet/files/no-docs-0.17.0.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- setup.py 2014-03-02 14:56:56.090600468 -0500 -+++ setup.py 2014-03-02 14:57:00.184465687 -0500 -@@ -141,7 +141,6 @@ - - files.extend(data_files) - files.extend([(os.path.join(base,'ui'), glob.glob(os.path.join('ui','*.ui')))]) -- files.extend([(os.path.join('share','doc','gourmet'), ['FAQ', 'LICENSE'])]) - - return files - diff --git a/app-misc/gourmet/files/tostring-to-tobytes.patch b/app-misc/gourmet/files/tostring-to-tobytes.patch deleted file mode 100644 index e42c59403d51..000000000000 --- a/app-misc/gourmet/files/tostring-to-tobytes.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/gourmet/gtk_extras/ratingWidget.py b/gourmet/gtk_extras/ratingWidget.py -index 0e01735..efa6463 100644 ---- a/gourmet/gtk_extras/ratingWidget.py -+++ b/gourmet/gtk_extras/ratingWidget.py -@@ -135,7 +135,7 @@ class StarGenerator: - if is_rgba: rowstride = 4 - else: rowstride = 3 - pb=gtk.gdk.pixbuf_new_from_data( -- image.tostring(), -+ image.tobytes(), - gtk.gdk.COLORSPACE_RGB, - is_rgba, - 8, -diff --git a/gourmet/plugins/browse_recipes/icon_helpers.py b/gourmet/plugins/browse_recipes/icon_helpers.py -index 61c772c..2e7b08b 100644 ---- a/gourmet/plugins/browse_recipes/icon_helpers.py -+++ b/gourmet/plugins/browse_recipes/icon_helpers.py -@@ -38,7 +38,7 @@ def get_pixbuf_from_image (image): - if is_rgba: rowstride = 4 - else: rowstride = 3 - pb=gtk.gdk.pixbuf_new_from_data( -- image.tostring(), -+ image.tobytes(), - gtk.gdk.COLORSPACE_RGB, - is_rgba, - 8, diff --git a/app-misc/gourmet/gourmet-0.17.4-r2.ebuild b/app-misc/gourmet/gourmet-0.17.4-r2.ebuild deleted file mode 100644 index 0e0dd28ffa97..000000000000 --- a/app-misc/gourmet/gourmet-0.17.4-r2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="Recipe Organizer and Shopping List Generator for Gnome" -HOMEPAGE="https://thinkle.github.com/gourmet/" -SRC_URI="https://github.com/thinkle/gourmet/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="-i18n -ipython pdf print spell sound web" - -RDEPEND=">=dev-python/pygtk-2.22.0:2[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-0.7.9-r1[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - i18n? ( dev-python/elib-intl[${PYTHON_USEDEP}] ) - ipython? ( >=dev-python/ipython-0.13.2[${PYTHON_USEDEP}] ) - pdf? ( - >=dev-python/reportlab-2.6[${PYTHON_USEDEP}] - >=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}] - ) - print? ( - >=dev-python/reportlab-2.6[${PYTHON_USEDEP}] - >=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}] - ) - spell? ( >=dev-python/gtkspell-python-2.25.3-r1[${PYTHON_USEDEP}] ) - sound? ( dev-python/pyglet[${PYTHON_USEDEP}] ) - web? ( >=dev-python/beautifulsoup-3.2.1-r1:python-2[${PYTHON_USEDEP}] )" -DEPEND="${RDEPEND} - dev-util/intltool - >=dev-python/python-distutils-extra-2.37-r1[${PYTHON_USEDEP}]" - -PATCHES=( ${FILESDIR}/no-docs-0.17.0.patch \ - ${FILESDIR}/tostring-to-tobytes.patch \ - ${FILESDIR}/${PN}-${PV}-pyglet.patch ) -DOCS=( ChangeLog CODING.md FAQ README.md TESTS TODO.md ) - -python_prepare_all() { - # Modify these lines before copying them out - sed -i "s:base_dir = '..':base_dir = '/usr/share':" gourmet/settings.py || die - sed -i 's:data_dir = os.path.join(base_dir, "gourmet", "data"):data_dir = os.path.join(base_dir, "gourmet"):' gourmet/settings.py || die - sed -i 's:\(icon_base = os.path.join(data_dir,\) "icons",:\1 "gourmet",:' gourmet/settings.py || die - sed -i 's:\(locale_base = os.path.join(base_dir, "gourmet",\) "build",:\1:' gourmet/settings.py || die - sed -i 's:\(plugin_base = os.path.join(base_dir,\) "gourmet", "build", "share",:\1:' gourmet/settings.py || die - distutils-r1_python_prepare_all -} - -python_prepare() { - distutils-r1_python_prepare - sed -i "s:\(lib_dir = \)'../gourmet':\1'$(python_get_sitedir)':" gourmet/settings.py || die -} - -python_install_all() { - distutils-r1_python_install_all - doman gourmet.1 -} diff --git a/app-misc/gourmet/metadata.xml b/app-misc/gourmet/metadata.xml deleted file mode 100644 index 78a34f757c57..000000000000 --- a/app-misc/gourmet/metadata.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - Gourmet Recipe Manager is an application to store, organize - and search recipes. Gourmet also makes it easy to create - shopping lists from recipes. Gourmet imports recipes from a - number of sources, including MealMaster and MasterCook - archives and several popular websites. Gourmet can export - recipes as text, MealMaster files, HTML web pages, PDF, and - a custom XML format for exchange with other Gourmet users. - Gourmet supports linking images with recipes. - - - - Thomas_Hinkle@alumni.brown.edu - Thomas Mills Hinkle - - - ockham@raz.or.at - Bernhard Reiter - - https://github.com/thinkle/gourmet/issues - thinkle/gourmet - - - - Enable support for i18n through elib.intl - - - Enable support for the interactive Python console plugin - - Enable export to PDF - - Enable pretty Python printing - - - Enable support for the spell check plugin - - - Enable support for the web import plugin - - - -- cgit v1.2.3-65-gdbad