[gentoo-commits] repo/gentoo:master commit in: games-strategy/crimson/

2019-12-06 Thread David Seifert
commit: eab6df745993e6f943eb460452025b233a08a16c
Author: Wim Muskee  gmail  com>
AuthorDate: Fri Dec  6 16:02:30 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Dec  6 20:32:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eab6df74

games-strategy/crimson: fix MissingTestRestrict

Signed-off-by: Wim Muskee  gmail.com>
Signed-off-by: David Seifert  gentoo.org>

 games-strategy/crimson/crimson-0.5.3-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-strategy/crimson/crimson-0.5.3-r1.ebuild 
b/games-strategy/crimson/crimson-0.5.3-r1.ebuild
index ad228438eb3..3479d4caac6 100644
--- a/games-strategy/crimson/crimson-0.5.3-r1.ebuild
+++ b/games-strategy/crimson/crimson-0.5.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,6 +12,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="test zlib"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
media-libs/libsdl[sound,video]



[gentoo-commits] repo/gentoo:master commit in: games-strategy/crimson/

2018-05-01 Thread Pacho Ramos
commit: be0919e950aa596d2ca2e7984f7d89bc08bba1f4
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue May  1 18:51:49 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue May  1 19:35:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be0919e9

games-strategy/crimson: Stop using games.eclass

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-strategy/crimson/crimson-0.5.3-r1.ebuild | 49 ++
 1 file changed, 49 insertions(+)

diff --git a/games-strategy/crimson/crimson-0.5.3-r1.ebuild 
b/games-strategy/crimson/crimson-0.5.3-r1.ebuild
new file mode 100644
index 000..ad228438eb3
--- /dev/null
+++ b/games-strategy/crimson/crimson-0.5.3-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop
+
+DESCRIPTION="Tactical war game in the tradition of Battle Isle"
+HOMEPAGE="http://crimson.seul.org/;
+SRC_URI="http://crimson.seul.org/files/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test zlib"
+
+RDEPEND="
+   media-libs/libsdl[sound,video]
+   media-libs/sdl-mixer
+   media-libs/sdl-ttf
+   media-libs/sdl-net
+   zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+   dev-libs/libxslt
+   test? (
+   app-text/docbook-xml-dtd:4.2
+   dev-libs/libxml2
+   )
+"
+
+src_configure() {
+   econf \
+   --enable-sound \
+   --enable-network \
+   $(use_with zlib) \
+   --enable-cfed \
+   --enable-bi2cf \
+   --enable-comet \
+   --enable-cf2bmp
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   pixmapsdir="/usr/share/pixmaps" \
+   install
+   einstalldocs
+   rm -rf "${ED}/usr/share/applications"
+   make_desktop_entry crimson "Crimson Fields"
+}



[gentoo-commits] repo/gentoo:master commit in: games-strategy/crimson/

2018-05-01 Thread Pacho Ramos
commit: f0ef135fa2e5e25318e7a9301cf387b7119c2a0f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue May  1 18:51:58 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue May  1 19:35:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0ef135f

games-strategy/crimson: Drop old

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-strategy/crimson/crimson-0.5.3.ebuild | 58 -
 1 file changed, 58 deletions(-)

diff --git a/games-strategy/crimson/crimson-0.5.3.ebuild 
b/games-strategy/crimson/crimson-0.5.3.ebuild
deleted file mode 100644
index 0cec24d6a05..000
--- a/games-strategy/crimson/crimson-0.5.3.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-DESCRIPTION="Tactical war game in the tradition of Battle Isle"
-HOMEPAGE="http://crimson.seul.org/;
-SRC_URI="http://crimson.seul.org/files/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test zlib"
-
-RDEPEND="media-libs/libsdl[sound,video]
-   media-libs/sdl-mixer
-   media-libs/sdl-ttf
-   media-libs/sdl-net
-   zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}
-   dev-libs/libxslt
-   test? (
-   =app-text/docbook-xml-dtd-4.2*
-   dev-libs/libxml2
-   )"
-
-src_configure() {
-   egamesconf \
-   --enable-sound \
-   --enable-network \
-   $(use_with zlib) \
-   --enable-cfed \
-   --enable-bi2cf \
-   --enable-comet \
-   --enable-cf2bmp
-}
-
-src_install() {
-   emake \
-   DESTDIR="${D}" \
-   pixmapsdir="/usr/share/pixmaps" \
-   install
-   dodoc NEWS README* THANKS TODO
-   rm -rf "${D}/${GAMES_DATADIR}/applications"
-   make_desktop_entry crimson "Crimson Fields"
-   prepgamesdirs
-}
-
-pkg_postinst() {
-   games_pkg_postinst
-   echo
-   ewarn "Crimson Fields ${PV} is not necessarily save-game compatible 
with previous versions."
-   echo
-   elog "If you have older save files and you wish to continue those 
games,"
-   elog "you'll need to remerge the version with which you started"
-   elog "those save-games."
-}