From 6ad6570fd0484357f9f9f0f2f50dea6ff89dac12 Mon Sep 17 00:00:00 2001 From: David Leverton Date: Sun, 26 Feb 2017 14:06:41 +0000 Subject: [PATCH] games-util/grotesque: bump to 0.9.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Convert to distutils-r1.eclass, Gentoo bug #609864 by Michał Górny (using https://wiki.gentoo.org/wiki/Project:Python/Python.eclass_conversion) Also bump to EAPI 6 and remove games.eclass usage, as per https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Policies#Games --- games-util/grotesque/Manifest | 6 ++--- games-util/grotesque/grotesque-0.9.3.ebuild | 38 --------------------------- games-util/grotesque/grotesque-0.9.5.1.ebuild | 35 ++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 41 deletions(-) rewrite games-util/grotesque/Manifest (100%) delete mode 100644 games-util/grotesque/grotesque-0.9.3.ebuild create mode 100644 games-util/grotesque/grotesque-0.9.5.1.ebuild diff --git a/games-util/grotesque/Manifest b/games-util/grotesque/Manifest dissimilarity index 100% index 5d61ae5..46f5351 100644 --- a/games-util/grotesque/Manifest +++ b/games-util/grotesque/Manifest @@ -1,3 +1,3 @@ -DIST grotesque-0.9.3-gtk2.tar.gz 74377 RMD160 08b5c34c833ec9b39a68c4c9995ce2fcf90bc390 SHA1 990a4fcbf8a7d86f21ff2a591ccedecae92baf53 SHA256 1f41d815db6b92df96011ead18757a182bdabef83104c8029a83e920498183c3 -EBUILD grotesque-0.9.3.ebuild 887 RMD160 125f59d55e2bda1839286a846970985291c81f2c SHA1 a745675671fcceb967baf3830bc3297a1050093e SHA256 134f65962a13e90e6cdac5544acbef922b29a906cd1f7264d0c65ee92d62001b -MISC metadata.xml 221 RMD160 5834ac96cd3f026bad9d821895a7650a650484c4 SHA1 6dc9a2418a128a2cd02e58bf8e64c3c1cc848d49 SHA256 a88f8553d78fd85c95935c88b46dbb85285e8a2005540b3c647b7d8ef380b81e +DIST grotesque-0.9.5.1.tar.gz 62901 SHA256 35e0e28250f70f64db4968ea0c2230a49862f41fb51ed0a34620669a2db78473 SHA512 b683c8a4d7668a0a234d2a9ad767ede84018a5992a86b29678cac9b4e1f8dacc4c41031146d8e9a069fdcfc463fb265a3f15d6802822bfc4fe3671bb6dc5b6c0 WHIRLPOOL 353f1a96f8430793d8dbeeab91f8e8d371e7db6992e2b4bd86a689b3f4f9c622e055e6999a06d1e98384189f8b8eec8f57a53d003c0b8d4f50170508f0299b9c +EBUILD grotesque-0.9.5.1.ebuild 947 SHA256 4dd2d4427d1a3e803a5d0e5b3cc6a6060e565a6af8387783cebc573fd8a66b99 SHA512 8bd9fbfbc795f377c57df9a787d43bcfb133c8530844752cf8eb0cd7b961ae913564a4c839b4addd83f7ae16752aa8250ddff26b98b8c08dca4dbc4825884c07 WHIRLPOOL 6006ad3a21393b2a94d53e13a7eb6bfe399a893d6d39c04aea9bab945d99e5f5677cee57866c051a52680b8b1de65b57e542619d72e8c04af72dc3b900e7ef0c +MISC metadata.xml 221 SHA256 a88f8553d78fd85c95935c88b46dbb85285e8a2005540b3c647b7d8ef380b81e SHA512 529d2f6f33c411adb4450b9bec1898234f3cfb9e98c129782e86dc2fe5714c79ef303703dddb47fe3a136ad258dfd807436bf440c40455ba2a291c92fde52cca WHIRLPOOL d23973f82cfd0d299c53a59e57b887c776c4265b3688cfaf86e91f136b57347f440a2694de969facbe6747991b084c3d9da910f191ea728ed91f23301bb8b38a diff --git a/games-util/grotesque/grotesque-0.9.3.ebuild b/games-util/grotesque/grotesque-0.9.3.ebuild deleted file mode 100644 index fd83023..0000000 --- a/games-util/grotesque/grotesque-0.9.3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="3" -PYTHON_DEPEND="2:2.6" - -inherit eutils python games distutils - -DESCRIPTION="Interactive Fiction library manager" -HOMEPAGE="http://grotesque.sourceforge.net" -SRC_URI="mirror://sourceforge/grotesque/${P}-gtk2.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="dev-python/pygtk" -RDEPEND="${DEPEND}" - -src_prepare() { - python_convert_shebangs -r 2 . -} - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - games_pkg_setup -} - -src_install() { - distutils_src_install --install-data="/usr/share/doc/${PF}" --install-scripts="${GAMES_BINDIR}" - rm "${D}/usr/share/doc/${PF}/COPYING" - doicon src/grotesque/data/grotesque_icon.png - make_desktop_entry grotesque Grotesque grotesque_icon Game "GenericName=IF Library Manager" - prepgamesdirs -} diff --git a/games-util/grotesque/grotesque-0.9.5.1.ebuild b/games-util/grotesque/grotesque-0.9.5.1.ebuild new file mode 100644 index 0000000..ceba8c2 --- /dev/null +++ b/games-util/grotesque/grotesque-0.9.5.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="6" +PYTHON_COMPAT=( python2_7 ) +DISTUTILS_SINGLE_IMPL=yes + +inherit eutils distutils-r1 + +DESCRIPTION="Interactive Fiction library manager" +HOMEPAGE="http://grotesque.invergo.net/" +SRC_URI="http://grotesque.invergo.net/download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/pyifbabel[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + x11-libs/gtk+:3" + +python_prepare() { + python_fix_shebang . + sed -i -e "s,doc_dir = .*,doc_dir = '/usr/share/doc/${PF}'," setup.py || die "sed failed" +} + +python_install_all() { + distutils-r1_python_install_all + rm "${D}/usr/share/doc/${PF}/COPYING" || die "rm COPYING failed" + doicon src/grotesque/data/grotesque_icon.png + make_desktop_entry grotesque Grotesque grotesque_icon Game "GenericName=IF Library Manager" +} -- 2.11.4.GIT