From fc637fb28da700da71ec2064d65ca5a7a31b9c6c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Aug 2019 18:16:17 +0100 Subject: gentoo resync : 18.08.2019 --- games-strategy/lightyears/Manifest | 2 +- games-strategy/lightyears/lightyears-1.4-r2.ebuild | 50 ------------------- games-strategy/lightyears/lightyears-1.4-r3.ebuild | 56 ++++++++++++++++++++++ 3 files changed, 57 insertions(+), 51 deletions(-) delete mode 100644 games-strategy/lightyears/lightyears-1.4-r2.ebuild create mode 100644 games-strategy/lightyears/lightyears-1.4-r3.ebuild (limited to 'games-strategy/lightyears') diff --git a/games-strategy/lightyears/Manifest b/games-strategy/lightyears/Manifest index 7cf7cebecb57..8a3e3026011e 100644 --- a/games-strategy/lightyears/Manifest +++ b/games-strategy/lightyears/Manifest @@ -1,4 +1,4 @@ AUX lightyears-1.4-gentoo.patch 1280 BLAKE2B fd247d049fe7e32264a0d86ffa06f37ca8a8ffb4fd7b5651adce2008f089b1b83758286b46e33555c61b4a62fb79e6ed93475bf51aff599117fc5eedbfe70680 SHA512 4a8770b29c7aa8b489a8afaac7ba3ec9a2efc1466f6263f35ee531a8e4498a1490080bd390a87309983d62ac0d3a722421058d671c32c7cda91bcc6a94d81be3 DIST lightyears-1.4.tar.bz2 693877 BLAKE2B 871b8f66088c3a947de50e7b47a8aeef4d06f9c7919f4f361a6719ff0dfa6b48acabb759dca6969d09255e2c89c158caa0cd560ef02567df6e46bbcda2eb9417 SHA512 68f576d820d54b353adbc504f8aa3341547e2e56474717cc59aecc2368fc0eb533458e09876b3cd2a9062914a8a58d39a35ce944256372bb9e15830210924597 -EBUILD lightyears-1.4-r2.ebuild 1020 BLAKE2B d692c8e1087689b67a62a8785869d5c66511bdfd8114e9b27378ab0c3b35418b733eb8c4d37bfcfa25a2943a035207648d0e39eb39b3ec3b318f4c3197491e9e SHA512 1721d4023d7a275d67f691e867d857200d7c9e71b871b4b7fec34302707324ebf8d88c47d03d0331e149ca9ace89daceece333415c45225f690220574cdae087 +EBUILD lightyears-1.4-r3.ebuild 1113 BLAKE2B d85187fbb3ea6e6d7a5bd03c3baa409d3ab839825ed66cf7c8b8e0577513fa9e01b72a4fac04ad5216d5a8de53c6a24b3e1a93f164001d88c6c44d9a986d0e41 SHA512 8568b59351e3a2f1fd6149b0796187d026e0a6dd42781b6a75bd6f997c46f36317d0d390f17e886382f99a85b25996d7a9b44bb4ce759b88901f8ba8e113134a MISC metadata.xml 457 BLAKE2B 7f250bdb961fe6d994ebc983f8dfaf3cbe7c4763b766fbcbc199b2db3f33ca273136e827adece324f4c00b611521882b932a1750a372258e0d52daf691a2c1bb SHA512 354fad5eed1305fc7e5ed69de92f7033b651371a1993ccd90d3d6fd9f49975e30e8b5b4c8cfcf8bb6f1284b5ef0df790adf863f76f580945ff3699ff275d5c13 diff --git a/games-strategy/lightyears/lightyears-1.4-r2.ebuild b/games-strategy/lightyears/lightyears-1.4-r2.ebuild deleted file mode 100644 index 7e7344951fc2..000000000000 --- a/games-strategy/lightyears/lightyears-1.4-r2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -inherit desktop python-single-r1 - -DESCRIPTION="A single-player game with a science-fiction theme" -HOMEPAGE="http://www.jwhitham.org/20kly/" -SRC_URI="http://www.jwhitham.org/20kly/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="" -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -RDEPEND="${PYTHON_DEPS} - dev-python/pygame[${PYTHON_USEDEP}] -" -RDEPEND="${DEPEND}" - -src_prepare() { - default - eapply "${FILESDIR}/${P}"-gentoo.patch - sed -i \ - -e "s:@GENTOO_LIBDIR@:/usr/$(get_libdir)/${PN}:" \ - -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \ - ${PN} || die - python_fix_shebang . -} - -src_install() { - dobin ${PN} - - insinto /usr/"$(get_libdir)/${PN}" - doins code/*.py - - einstalldocs - - insinto "/usr/share/${PN}" - doins -r audio data manual - - python_optimize "${ED}/usr/$(get_libdir)/${PN}" - - newicon data/32.png ${PN}.png - make_desktop_entry ${PN} "Light Years Into Space" -} diff --git a/games-strategy/lightyears/lightyears-1.4-r3.ebuild b/games-strategy/lightyears/lightyears-1.4-r3.ebuild new file mode 100644 index 000000000000..4d4cfa964e45 --- /dev/null +++ b/games-strategy/lightyears/lightyears-1.4-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) + +inherit desktop python-single-r1 xdg-utils + +DESCRIPTION="A single-player game with a science-fiction theme" +HOMEPAGE="https://www.jwhitham.org/20kly/" +SRC_URI="https://www.jwhitham.org/20kly/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/pygame[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${P}"-gentoo.patch +) + +src_prepare() { + default + + sed -i \ + -e "s:@GENTOO_LIBDIR@:/usr/$(get_libdir)/${PN}:" \ + -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \ + ${PN} || die + + python_fix_shebang . +} + +src_install() { + dobin ${PN} + + insinto /usr/"$(get_libdir)/${PN}" + doins code/*.py + + einstalldocs + + insinto "/usr/share/${PN}" + doins -r audio data manual + + python_optimize "${ED}/usr/$(get_libdir)/${PN}" + + newicon data/32.png ${PN}.png + make_desktop_entry ${PN} "Light Years Into Space" +} + +pkg_postinst() { xdg_icon_cache_update; } +pkg_postrm() { xdg_icon_cache_update; } -- cgit v1.2.3