summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-03-19 10:28:21 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-03-19 10:28:21 +0300
commit8efc20cfd27cc823451b085da0888acbba9bea4e (patch)
treedf93dad38664b021e1d34d47200626f9284c10d1 /games-strategy
parentgames-strategy/lightyears: remove last-rited pkg (diff)
downloadgentoo-8efc20cfd27cc823451b085da0888acbba9bea4e.tar.gz
gentoo-8efc20cfd27cc823451b085da0888acbba9bea4e.tar.bz2
gentoo-8efc20cfd27cc823451b085da0888acbba9bea4e.zip
games-strategy/outerspace: remove last-rited pkg
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/outerspace/Manifest2
-rw-r--r--games-strategy/outerspace/files/outerspace9
-rw-r--r--games-strategy/outerspace/files/outerspace-0.5.68-setup.patch83
-rw-r--r--games-strategy/outerspace/metadata.xml20
-rw-r--r--games-strategy/outerspace/outerspace-0.5.68-r1.ebuild72
5 files changed, 0 insertions, 186 deletions
diff --git a/games-strategy/outerspace/Manifest b/games-strategy/outerspace/Manifest
deleted file mode 100644
index eecab4f65957..000000000000
--- a/games-strategy/outerspace/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST outerspace-0.5.68.tar.gz 2249703 BLAKE2B 16b8c2d6c4e0516867d9a07a2762112da39f9a1074dffad9a9a3c343dd75662cba74d50f2a028b530013f320ffd7481317d061a3ebb449e9acf2f41bf56312a3 SHA512 dc2cbebf16fefabcc3356efb496766b90a5eabbf218f085fdc83cf956ca9503e99ef3154e0905c2432a3bf7caabd1f2af585a43397ba368581cd66546fcddc6b
-DIST outerspace_0.5.68-0ubuntu1_all.deb 2634188 BLAKE2B fd1667ae130e9a0ed603c369e9751d0b83414f20dd06c2f7e9941e2c465bdad0ff050ca41a928906bc5cc755eb05c0a5dfa18a8c35c868650c3fec6cf2e4f1f8 SHA512 9520cf1207a59497d6253b42bc34d580f9b805cf4ae55a5c921082e965892aa67921c4624ea94a5145c911dc2b24a1cca2806c06770ef8d1ded10855fb42666c
diff --git a/games-strategy/outerspace/files/outerspace b/games-strategy/outerspace/files/outerspace
deleted file mode 100644
index 2a6bbe26dafb..000000000000
--- a/games-strategy/outerspace/files/outerspace
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-mkdir -p ~/.outerspace
-cd ~/.outerspace || exit 1
-
-ln -sf "@GENTOO_LIBDIR@"/{osc.py,lib,libsrvr} .
-ln -sf "@GENTOO_DATADIR@"/res .
-
-exec python osc.py "$@"
diff --git a/games-strategy/outerspace/files/outerspace-0.5.68-setup.patch b/games-strategy/outerspace/files/outerspace-0.5.68-setup.patch
deleted file mode 100644
index c95852dca3dc..000000000000
--- a/games-strategy/outerspace/files/outerspace-0.5.68-setup.patch
+++ /dev/null
@@ -1,83 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -42,12 +42,7 @@
-
- # collect data files
- data_files = []
--data_files.append(
-- (
-- ".",
-- ["../ChangeLog.txt", "../COPYING", "../README", "../README_CZ"]
-- )
--)
-+
-
- # resources
- for root, dirs, files in os.walk('res'):
-@@ -57,16 +52,6 @@
- pass
- if files:
- data_files.append((root, [os.path.join(root, file) for file in files]))
--
--data_files.append(
-- (
-- "res/techspec",
-- [
-- "../server/lib/ige/ospace/Rules/techs.spf",
-- "../server/lib/ige/ospace/Rules/Tech.spf",
-- ]
-- )
--)
-
- if havePy2Exe:
- data_files.append((".", ["../updater/update.exe"]))
-@@ -114,10 +99,3 @@
- **extraArgs
- )
-
--# cleanup
--def onerror(func, path, err):
-- if func is os.remove:
-- os.chmod(path, stat.S_IWRITE)
-- os.remove(path)
--
--shutil.rmtree("libsrvr", onerror = onerror)
---- a/osc.py
-+++ b/osc.py
-@@ -23,12 +23,36 @@
- # tweak PYTHONPATH
- import sys
- import os
-+import errno
- sys.path.insert(0, "lib")
-
- for item in ("libsrvr", "../server/lib"):
- if os.path.exists(item):
- sys.path.insert(0, item)
- break
-+
-+userdir=os.path.expanduser("~/.outerspace")
-+resdir=os.path.join(userdir, "res")
-+rootresdir="@GENTOO_DATADIR@/res"
-+
-+if not (os.path.isdir(userdir)):
-+ try:
-+ os.makedirs(userdir)
-+ except:
-+ sys.exit("unable to create %s" % userdir)
-+
-+try:
-+ os.symlink(rootresdir, resdir)
-+except OSError, e:
-+ if e.errno == errno.EEXIST:
-+ os.remove(resdir)
-+ os.symlink(rootresdir, resdir)
-+
-+try:
-+ os.chdir(userdir)
-+except:
-+ sys.exit("unable to cd into %s" % userdir)
-+
-
- #configure gc
- #import gc
diff --git a/games-strategy/outerspace/metadata.xml b/games-strategy/outerspace/metadata.xml
deleted file mode 100644
index 8868ccd042b9..000000000000
--- a/games-strategy/outerspace/metadata.xml
+++ /dev/null
@@ -1,20 +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>
- <longdescription lang="en">
-Outer Space is an on-line strategy game which takes place in the dangerous
-universe. You will become powerful commander of many stars, planets, and great
-fleets and will struggle for survival with other commanders.
-
-Outer Space communicates with the server in the same way as your browser, but
-you will need a special client to play it. Using this client you can create an
-account on the server and you can start to explore the world of the Outer Space.
-</longdescription>
- <upstream>
- <remote-id type="sourceforge">ospace</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/games-strategy/outerspace/outerspace-0.5.68-r1.ebuild b/games-strategy/outerspace/outerspace-0.5.68-r1.ebuild
deleted file mode 100644
index ca9da045166c..000000000000
--- a/games-strategy/outerspace/outerspace-0.5.68-r1.ebuild
+++ /dev/null
@@ -1,72 +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 gnome2-utils distutils-r1
-
-MY_PN="${PN/outerspace/Outer Space}"
-DESCRIPTION="On-line strategy game taking place in the dangerous universe"
-HOMEPAGE="https://www.ospace.net/ https://sourceforge.net/projects/ospace/"
-SRC_URI="mirror://sourceforge/ospace/Client/${PV}/Outer%20Space-${PV}.tar.gz -> ${P}.tar.gz
- mirror://sourceforge/ospace/Client/${PV}/outerspace_${PV}-0ubuntu1_all.deb"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=dev-python/pygame-1.7"
-DEPEND=""
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_unpack() {
- default
- unpack ./data.tar.gz
-}
-
-python_install() {
- distutils-r1_python_install \
- --install-scripts="/usr/bin" \
- --install-data="/usr/share/${PN}" \
- --install-lib="$(python_get_sitedir)"
-
- # source tarball is missing files
- # get them from ubuntu.deb
- python_moduleinto ige.ospace.Rules
- python_domodule "${WORKDIR}"/usr/share/games/outerspace/libsrvr/ige/ospace/Rules/{Tech,techs}.spf
-}
-
-src_prepare() {
- default
-
- # fix setup script
- # rework python start script to avoid shell-wrapper script
- eapply "${FILESDIR}"/${P}-setup.patch
-
- sed -i\
- -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \
- osc.py || die "sed failed"
-
- distutils-r1_src_prepare
-}
-
-src_install() {
- distutils-r1_src_install
- newicon res/logo-login.png ${PN}.png
- make_desktop_entry "osc.py" "${MY_PN}"
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}