From: Michael Sterrett Date: Thu, 1 Jan 2015 01:49:57 +0000 (+0000) Subject: convert to python-single-r1; EAPI=5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=69162aa86d7cde9e46f297c378749a16f205d24e;p=gentoo.git convert to python-single-r1; EAPI=5 Package-Manager: portage-2.2.14/cvs/Linux x86_64 --- diff --git a/games-simulation/qct/ChangeLog b/games-simulation/qct/ChangeLog index f890da60d08a..7159db4406f1 100644 --- a/games-simulation/qct/ChangeLog +++ b/games-simulation/qct/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-simulation/qct -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/qct/ChangeLog,v 1.8 2010/04/08 08:48:11 tupone Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/qct/ChangeLog,v 1.9 2015/01/01 01:49:51 mr_bones_ Exp $ + +*qct-0.7-r1 (01 Jan 2015) + + 01 Jan 2015; Michael Sterrett +qct-0.7-r1.ebuild: + convert to python-single-r1; EAPI=5 08 Apr 2010; Tupone Alfredo qct-0.7.ebuild: Force use of python2 . Bug #312281 by arfrever@gentoo.org @@ -26,4 +31,3 @@ 01 Apr 2004; Michael Sterrett metadata.xml, qct-0.7.ebuild: initial commit; ebuild submitted by Alexandru Toma via bug #46472 - diff --git a/games-simulation/qct/Manifest b/games-simulation/qct/Manifest index 567999ba5788..a3170e9643fd 100644 --- a/games-simulation/qct/Manifest +++ b/games-simulation/qct/Manifest @@ -1,5 +1,6 @@ -AUX qct-0.7-constant.patch 712 RMD160 a4bf5200410f16a94f4052342b0931450692b06e SHA1 fa65246d52a6e33aa268ced37a66002575f93ddc SHA256 50f477b294d68f83ae0aad7338e8cacf71d3f020bc49f1b6aeb793e77b03560b -DIST qct-0.7.tar.gz 98126 RMD160 23a3cb58215d3ba8787337fa9797c989dcbea69d SHA1 2ef52174a487d57df4a4ed1152a33b05d358a17f SHA256 d24d72c594e0af188876622aa2f9ce46e5e288bb66826aedb3ee3244fe8dd87b -EBUILD qct-0.7.ebuild 963 RMD160 43b26aa9c86b84b1c5f0c59380ca947014cf046d SHA1 b501b1c62d75d4228ed31377f48b58f0e5037d18 SHA256 f9d9c30b6c3ae38cb2162f586d0f8a1f3dcc551b9e4ab304c6b8da3eca387881 -MISC ChangeLog 1069 RMD160 d0bf91153b989371536157aec21604cc7848f589 SHA1 3bd7c850eb30bd0e8e033375b0b3a97f94243c1c SHA256 6ee39638f393c3b0f0c9db3b256f11b3fea1065d4b27d07ba9c2a0354b95139b -MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +AUX qct-0.7-constant.patch 712 SHA256 50f477b294d68f83ae0aad7338e8cacf71d3f020bc49f1b6aeb793e77b03560b SHA512 5a5bb780ab8bff1fb7039b75eac7ae17d1036b2127cc9689de7167b517aa2f971c0c4782744c1b57e10910d0ebc81b3fdca0dc0224d3ca67c14f9a4fc3d92cc2 WHIRLPOOL 4d66360a22c9e085d32616fca2ce0dbe0c4cadb6c54ff21d84644b16611d42064d1639a414bd65bcc9f72453cf6f24d0a5290e1f41af9ec6f47344d5c90ad233 +DIST qct-0.7.tar.gz 98126 SHA256 d24d72c594e0af188876622aa2f9ce46e5e288bb66826aedb3ee3244fe8dd87b SHA512 89784607be3420f62ee1c94610f0df1e2ef57e237aa24ca2bf6583c17470ded91e8b5eff4171d93471a35c99951a98721eba2e9facb0757461c4343fbffe8bac WHIRLPOOL 21f27e3590edecbcdeb40a3dcc0c72a2cfc7413d0f27f508387590429b3920344f5fc581b6cecc671fa4e4382ff231cf4e13a29da754a986685216d782d07faa +EBUILD qct-0.7-r1.ebuild 1203 SHA256 7c1a0521423e9cd0092b99f28340f8a9a6ed08b98fa0e21cfa0368740aa284ff SHA512 ab167b8647e065af966b2c3e32af9a6d00d6caba15c104b26f79dee43aac2329b3efd5dcdd0db5a9294ca023ce63eb3e40a555ec9b8efd43e1c8297cb9d3af14 WHIRLPOOL b80588b230b1e60325245b277e7074074b2ab3d7e685fd8d09573afc223278216b5101830814af92bf794153381c9a2d40434d78c53a1255860f100e9aa54cc6 +EBUILD qct-0.7.ebuild 963 SHA256 f9d9c30b6c3ae38cb2162f586d0f8a1f3dcc551b9e4ab304c6b8da3eca387881 SHA512 d459b9419ff97d05317a76b90d092f48a3279dd9aa94f14addc5d9e35536c954366af2ac4942f59e98b8ee9a5af07a87124a38c95ddfefac3967c82b6c5e3660 WHIRLPOOL 2bd3b6d2064bdfe6fbd106b86658abc6666b23378a2f7df951b2c4d4ec9388acfce80012da5e05a57a117e630fb3f4cb6af68f5426fadbe9c7ecb3b05c14d651 +MISC ChangeLog 1212 SHA256 2438661c4027599614b8ee601143f355a97403d03506d8745e62c0c7fde9cc53 SHA512 75a031dd660006f245c1d6b955513490ee9ef977566b72fdb92c9a2c820d081db55c95070b4ffd45b320b5452dcc54782be25ee87609fcadc9ad95c6bdde3c44 WHIRLPOOL eba348243200212a482db8f851e611ac0ad225235b6bc5c4de43fb127a549a699214739d1157c3da8d0c154da6e29a5615a4a643215bb2e28d7bf8ea4261e19b +MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada diff --git a/games-simulation/qct/qct-0.7-r1.ebuild b/games-simulation/qct/qct-0.7-r1.ebuild new file mode 100644 index 000000000000..ed36fc4c937b --- /dev/null +++ b/games-simulation/qct/qct-0.7-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/qct/qct-0.7-r1.ebuild,v 1.1 2015/01/01 01:49:51 mr_bones_ Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit eutils python-single-r1 games + +DESCRIPTION="Quiet Console Town puts you in the place of the mayor of a budding new console RPG city" +HOMEPAGE="http://packages.gentoo.org/package/games-simulation/qct" +SRC_URI="http://www.sourcefiles.org/Games/Role_Play/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=">=dev-python/pygame-1.5.5[${PYTHON_USEDEP}]" +RDEPEND=${RDEPEND} +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-constant.patch + python_fix_shebang . +} + +src_install() { + # Ug. Someone fix this to install in $(games_get_libdir)/${PN} instead + local destdir="${GAMES_DATADIR}/${PN}" + insinto "${destdir}" + exeinto "${destdir}" + + dodoc README + doins *.py *.png + doexe qct.py + + python_optimize "${D}${GAMES_DATADIR}/${PN}" + + games_make_wrapper qct "./qct.py" "${destdir}" + + prepgamesdirs +} + +pkg_setup() { + python-single-r1_pkg_setup + games_pkg_setup +}