commit:     935497894b037935742e9630c1bad511d8dddca5
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 29 01:07:44 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sat Feb 29 01:12:26 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=93549789

games-puzzle/londonlaw: remove package

Python 2.7 only package.
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>

 games-puzzle/londonlaw/files/londonlaw.confd       |   2 -
 games-puzzle/londonlaw/files/londonlaw.rc          |  21 -----
 games-puzzle/londonlaw/londonlaw-0.3.0_pre2.ebuild |   1 -
 games-puzzle/londonlaw/londonlaw-9999.ebuild       | 104 ---------------------
 4 files changed, 128 deletions(-)

diff --git a/games-puzzle/londonlaw/files/londonlaw.confd 
b/games-puzzle/londonlaw/files/londonlaw.confd
deleted file mode 100644
index 083798b..0000000
--- a/games-puzzle/londonlaw/files/londonlaw.confd
+++ /dev/null
@@ -1,2 +0,0 @@
-#run londonlaw on port 7921 (default)
-LONDONLAW_PORT="7921"

diff --git a/games-puzzle/londonlaw/files/londonlaw.rc 
b/games-puzzle/londonlaw/files/londonlaw.rc
deleted file mode 100644
index fbc185c..0000000
--- a/games-puzzle/londonlaw/files/londonlaw.rc
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/runscript
-
-depend() {
-       need net
-}
-
-start() {
-       ebegin "Starting londonlaw server"
-       start-stop-daemon --start --pidfile /var/run/london-server.pid \
-               --user GAMES_USER_DED --background --stdout GAMES_LOGDIR/PN.log 
\
-               --stderr GAMES_LOGDIR/PN.log --make-pidfile \
-               --exec GAMES_BINDIR/london-server -- -p $LONDONLAW_PORT
-       eend $?
-}
-
-stop() {
-       ebegin "Stopping londonlaw server"
-       start-stop-daemon --stop --pidfile /var/run/london-server.pid \
-               --exec GAMES_BINDIR/london-server
-       eend $?
-}

diff --git a/games-puzzle/londonlaw/londonlaw-0.3.0_pre2.ebuild 
b/games-puzzle/londonlaw/londonlaw-0.3.0_pre2.ebuild
deleted file mode 120000
index e058002..0000000
--- a/games-puzzle/londonlaw/londonlaw-0.3.0_pre2.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-londonlaw-9999.ebuild
\ No newline at end of file

diff --git a/games-puzzle/londonlaw/londonlaw-9999.ebuild 
b/games-puzzle/londonlaw/londonlaw-9999.ebuild
deleted file mode 100644
index abf7dc5..0000000
--- a/games-puzzle/londonlaw/londonlaw-9999.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-if [ "${PV}" == "9999" ]; then
-       MY_INHERIT=git-r3
-fi
-
-inherit eutils python-single-r1 games $MY_INHERIT
-
-DESCRIPTION="Clone of the famous Scotland Yard board game"
-HOMEPAGE="http://pessimization.com/software/londonlaw/";
-if [ "${PV}" == "9999" ]; then
-       EGIT_REPO_URI=https://github.com/anyc/londonlaw.git
-else
-       SRC_URI="https://github.com/anyc/londonlaw/archive/v${PV}.tar.gz";
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="dedicated"
-
-DEPEND="dev-python/twisted-core[${PYTHON_USEDEP}]
-       dev-python/zope-interface[${PYTHON_USEDEP}]
-
-       !dedicated? ( dev-python/wxpython:3.0[${PYTHON_USEDEP}] )
-       ${PYTHON_DEPS}"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-       if use dedicated ; then
-               local f
-               rm -r londonlaw/{london-client,london-client.py,guiclient/}
-               sed -i \
-                       -e "s:'londonlaw.guiclient',::" \
-                       -e "s:'londonlaw/london-client',::" \
-                       setup.py \
-                       || die "sed failed"
-       fi
-
-       for f in londonlaw.rc londonlaw.confd
-       do
-               sed \
-                       -e "s/GAMES_USER_DED/${GAMES_USER_DED}/" \
-                       -e "s:GAMES_BINDIR:${GAMES_BINDIR}:" \
-                       -e "s:GAMES_LOGDIR:${GAMES_LOGDIR}:" \
-                       -e "s:PN:${PN}:" \
-                       "${FILESDIR}/${f}" > "${T}/${f}" \
-                       || die "sed failed"
-       done
-
-       sed -i \
-               -e 
"s:^LONDONLAW_DBDIR=.*$:LONDONLAW_DBDIR=${GAMES_STATEDIR}/${PN}:" \
-               "${T}/londonlaw.confd" \
-               || die "sed failed"
-
-       python_fix_shebang .
-}
-
-src_install() {
-       "${PYTHON}" setup.py install \
-               --root="${D}" \
-               --prefix="${GAMES_PREFIX}" \
-               --install-lib=$(python_get_sitedir) \
-               --install-data="${GAMES_DATADIR}" \
-               || die "install failed"
-
-       dodoc doc/ChangeLog README.md doc/TODO doc/manual.tex 
doc/readme.protocol
-       dohtml doc/manual.html
-
-       newinitd "${T}/londonlaw.rc" londonlaw
-       newconfd "${T}/londonlaw.confd" londonlaw
-
-       dodir "${GAMES_LOGDIR}"
-       touch "${D}/${GAMES_LOGDIR}"/${PN}.log
-
-       keepdir "${GAMES_STATEDIR}/${PN}"
-       fowners ${GAMES_USER_DED}:${GAMES_GROUP} \
-               "${GAMES_STATEDIR}/${PN}" "${GAMES_LOGDIR}"/${PN}.log
-
-       fperms ug+rwx "${GAMES_STATEDIR}/${PN}"
-       fperms ug+rw "${GAMES_LOGDIR}"/${PN}.log
-
-       prepgamesdirs
-}
-
-pkg_setup() {
-       python-single-r1_pkg_setup
-       games_pkg_setup
-}
-
-pkg_postinst() {
-       games_pkg_postinst
-       if ! use dedicated ; then
-               echo
-               elog "To play, first start the server (london-server), then 
connect"
-               elog "with the client (london-client)."
-               echo
-       fi
-}

Reply via email to