summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2019-07-21 14:59:59 +0100
committerJames Le Cuirot <chewi@gentoo.org>2019-07-21 15:00:28 +0100
commit6ada94c13b6bbac129237179b66035d2fc0c341c (patch)
treec84e2bfbec9d9f0c3f5bf0b079d30cb44c05e176 /games-kids
parentdev-libs/liblazy: Remove last-rited package (diff)
downloadgentoo-6ada94c13b6bbac129237179b66035d2fc0c341c.tar.gz
gentoo-6ada94c13b6bbac129237179b66035d2fc0c341c.tar.bz2
gentoo-6ada94c13b6bbac129237179b66035d2fc0c341c.zip
games-kids/pytraffic: Remove last-rited package
Closes: https://bugs.gentoo.org/688134 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-kids')
-rw-r--r--games-kids/pytraffic/Manifest1
-rw-r--r--games-kids/pytraffic/files/pytraffic6
-rw-r--r--games-kids/pytraffic/metadata.xml11
-rw-r--r--games-kids/pytraffic/pytraffic-2.5.4-r2.ebuild82
4 files changed, 0 insertions, 100 deletions
diff --git a/games-kids/pytraffic/Manifest b/games-kids/pytraffic/Manifest
deleted file mode 100644
index 78840547ae46..000000000000
--- a/games-kids/pytraffic/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pytraffic-2.5.4.tar.gz 2474006 BLAKE2B 4a2570d52aeac340812c7d1f251b6185fc8039ec06e4178d21a5f490b10bc82961fea0423dd3a3a4ec41271037f9a343fcf770d92fe071c4e929159bbbb2373b SHA512 c34a9b783e7de998b8ebc39c2ed2bf1b9a40b090c498773297da455b182aaa5f2047fb541bb11a91e11abdeffee9f02b04a37861135c5fa946fccabfc21b44c1
diff --git a/games-kids/pytraffic/files/pytraffic b/games-kids/pytraffic/files/pytraffic
deleted file mode 100644
index 30ab25196ce7..000000000000
--- a/games-kids/pytraffic/files/pytraffic
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/env python
-
-import os
-os.chdir("@GAMES_DATADIR@")
-import pytraffic.Main
-
diff --git a/games-kids/pytraffic/metadata.xml b/games-kids/pytraffic/metadata.xml
deleted file mode 100644
index 9814659ba9cc..000000000000
--- a/games-kids/pytraffic/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <upstream>
- <remote-id type="freecode">pytraffic</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/games-kids/pytraffic/pytraffic-2.5.4-r2.ebuild b/games-kids/pytraffic/pytraffic-2.5.4-r2.ebuild
deleted file mode 100644
index c3d2b8f0a0c8..000000000000
--- a/games-kids/pytraffic/pytraffic-2.5.4-r2.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils gnome2-utils python-utils-r1 python-r1 distutils-r1
-
-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@#/usr/share/${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 /usr/bin
- python_doscript "${T}"/${PN}
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- insinto /usr/share/${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
-}
-
-src_prepare() {
- distutils-r1_src_prepare
-}
-
-src_compile() {
- distutils-r1_src_compile
-}
-
-src_install() {
- distutils-r1_src_install
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}