diff options
author | 2017-12-20 22:30:22 +0100 | |
---|---|---|
committer | 2017-12-21 02:44:45 +0100 | |
commit | 6d23280fc8c18a62b15410ba7fc87b6cf268dbde (patch) | |
tree | 8c4584031a7a56ee1715ae97eaa5db971d920f05 /games-kids | |
parent | games-kids/lletters: Remove old (diff) | |
download | gentoo-6d23280fc8c18a62b15410ba7fc87b6cf268dbde.tar.gz gentoo-6d23280fc8c18a62b15410ba7fc87b6cf268dbde.tar.bz2 gentoo-6d23280fc8c18a62b15410ba7fc87b6cf268dbde.zip |
games-kids/pytraffic: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'games-kids')
-rw-r--r-- | games-kids/pytraffic/pytraffic-2.5.4-r1.ebuild | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/games-kids/pytraffic/pytraffic-2.5.4-r1.ebuild b/games-kids/pytraffic/pytraffic-2.5.4-r1.ebuild deleted file mode 100644 index 9e196a33ebcd..000000000000 --- a/games-kids/pytraffic/pytraffic-2.5.4-r1.ebuild +++ /dev/null @@ -1,86 +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 gnome2-utils python-utils-r1 python-r1 distutils-r1 games - -DESCRIPTION="Python version of the board game Rush Hour" -HOMEPAGE="http://freecode.com/projects/pytraffic" -SRC_URI="http://alpha.uhasselt.be/Research/Algebra/Members/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="media-libs/libsdl:0[sound] - media-libs/sdl-mixer" -RDEPEND="${DEPEND} - dev-python/pygtk" - -python_prepare_all() { - distutils-r1_python_prepare_all - - # FHS compliance - sed -i \ - -e 's#return os.path.join(exec_dir,path)#return os.path.join(os.getcwd(),path)#' \ - Misc.py || die - - sed \ - -e "s#@GAMES_DATADIR@#${GAMES_DATADIR}/${PN}#" \ - "${FILESDIR}"/${PN} > "${T}"/${PN} || die -} - -python_install() { - # install modules manually, build system broken - python_moduleinto ${PN} - python_domodule "${BUILD_DIR}"/lib/. - - # allow to import the stuff as module - touch "${D}$(python_get_sitedir)"/${PN}/__init__.py || die - - # install python wrapper script to handle multiple ABI properly - python_scriptinto "${GAMES_BINDIR}" - python_doscript "${T}"/${PN} -} - -python_install_all() { - insinto "${GAMES_DATADIR}"/${PN} - doins -r doc config.db extra_themes icons libglade music sound_test themes ttraffic.levels - - doicon -s 64 icons/64x64/${PN}.png - make_desktop_entry ${PN} PyTraffic - - dodoc AUTHORS CHANGELOG README - - prepgamesdirs -} - -src_prepare() { - distutils-r1_src_prepare -} - -src_compile() { - distutils-r1_src_compile -} - -src_install() { - distutils-r1_src_install -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} |