summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2019-05-04 09:41:16 +0100
committerJames Le Cuirot <chewi@gentoo.org>2019-05-04 10:13:59 +0100
commit637349b151f38ffdfaa707cffcb6c56404c5e70a (patch)
treec3181aa3cf8d4e5fac4feb47ec5eb136348fc66e /games-fps/doomsday
parentgames-fps/doomsday: Switch to python-any-r1 and allow Python 3 (diff)
downloadgentoo-637349b151f38ffdfaa707cffcb6c56404c5e70a.tar.gz
gentoo-637349b151f38ffdfaa707cffcb6c56404c5e70a.tar.bz2
gentoo-637349b151f38ffdfaa707cffcb6c56404c5e70a.zip
games-fps/doomsday: EAPI 7
Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-fps/doomsday')
-rw-r--r--games-fps/doomsday/doomsday-2.1.1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games-fps/doomsday/doomsday-2.1.1.ebuild b/games-fps/doomsday/doomsday-2.1.1.ebuild
index 31b010dcafaf..5c8767fa7cf3 100644
--- a/games-fps/doomsday/doomsday-2.1.1.ebuild
+++ b/games-fps/doomsday/doomsday-2.1.1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7} )
@@ -30,8 +30,8 @@ RDEPEND="
openal? ( media-libs/openal )
tools? ( sys-libs/ncurses:0= )
"
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
${PYTHON_DEPS}
virtual/pkgconfig
"
@@ -53,7 +53,7 @@ files to be in a specific place
"
src_prepare() {
- default
+ cmake-utils_src_prepare
# Fix QA warning for "installing to one or more unexpected paths"
sed -e "10s:/texc:/${PF}:" -i tools/texc/CMakeLists.txt || die
@@ -73,7 +73,7 @@ src_install() {
cmake-utils_src_install
if use tools; then
- mv "${ED%/}"/usr/bin/md2tool "${ED%/}"/usr/bin/md2tool.doomsday || die
+ mv -v "${ED}"/usr/bin/md2tool{,.${PN}} || die
fi
readme.gentoo_create_doc