From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/teeworlds/
Date: Wed, 1 Jul 2020 10:28:09 +0000 (UTC) [thread overview]
Message-ID: <1593599225.756334db7d87f8a52c2d48302b88c39b613d51f4.asturm@gentoo> (raw)
commit: 756334db7d87f8a52c2d48302b88c39b613d51f4
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 1 10:19:06 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jul 1 10:27:05 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=756334db
games-action/teeworlds: Up to speed with 2020: cmake.eclass, py38+39
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
games-action/teeworlds/teeworlds-0.7.5.ebuild | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/games-action/teeworlds/teeworlds-0.7.5.ebuild b/games-action/teeworlds/teeworlds-0.7.5.ebuild
index f2e0b2da85e..7e5532fed00 100644
--- a/games-action/teeworlds/teeworlds-0.7.5.ebuild
+++ b/games-action/teeworlds/teeworlds-0.7.5.ebuild
@@ -3,12 +3,11 @@
EAPI=7
-PYTHON_COMPAT=( python3_{5,6,7} )
-
-inherit cmake-utils desktop python-any-r1 xdg-utils
+PYTHON_COMPAT=( python3_{6,7,8,9} )
COMMIT_LANG="4ba6f824e9c34565e61340d25bc8c3cc004d40fb"
COMMIT_MAPS="1d3401a37a3334e311faf18a22aeff0e0ac9ee65"
+inherit cmake desktop python-any-r1 xdg-utils
DESCRIPTION="Online multi-player platform 2D shooter"
HOMEPAGE="https://www.teeworlds.com/"
@@ -17,7 +16,7 @@ SRC_URI="
https://github.com/teeworlds/teeworlds/archive/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/teeworlds/teeworlds-maps/archive/${COMMIT_MAPS}.tar.gz -> ${P}-maps.tar.gz
https://github.com/teeworlds/teeworlds-translation/archive/${COMMIT_LANG}.tar.gz -> ${P}-translation.tar.gz
- "
+"
LICENSE="ZLIB"
SLOT="0"
@@ -26,7 +25,7 @@ IUSE="debug dedicated"
RDEPEND="
!dedicated? (
- app-arch/bzip2
+ app-arch/bzip2:=
media-libs/freetype
media-libs/libsdl[X,sound,opengl,video]
media-libs/pnglite
@@ -41,13 +40,13 @@ RDEPEND="
DEPEND="${RDEPEND} ${PYTHON_DEPS}"
src_prepare() {
+ cmake_src_prepare
rm -r "${S}/datasrc/languages" || die
rm -r "${S}/datasrc/maps" || die
mv "${WORKDIR}/${PN}-translation-${COMMIT_LANG}" "${S}/datasrc/languages" || die
mv "${WORKDIR}/${PN}-maps-${COMMIT_MAPS}" "${S}/datasrc/maps" || die
cp "${DISTDIR}/${PN}.png" "${S}/" || die
python_fix_shebang scripts/
- cmake-utils_src_prepare
}
src_configure() {
@@ -57,11 +56,11 @@ src_configure() {
-DPYTHON_EXECUTABLE="${PYTHON}"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
doicon -s 256 "${PN}.png"
domenu other/teeworlds.desktop
newinitd "${FILESDIR}"/${PN}-init.d ${PN}
next reply other threads:[~2020-07-01 10:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-01 10:28 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-16 10:59 [gentoo-commits] repo/gentoo:master commit in: games-action/teeworlds/ Ionen Wolkens
2024-05-05 23:44 Ionen Wolkens
2023-01-18 15:15 Ionen Wolkens
2023-01-18 15:15 Ionen Wolkens
2021-11-17 2:19 Sam James
2021-07-03 4:00 Ionen Wolkens
2021-05-14 0:22 Sam James
2021-05-13 20:33 Sam James
2021-05-13 20:33 Sam James
2020-07-01 10:28 Andreas Sturmlechner
2018-04-15 11:34 David Seifert
2017-05-06 19:54 James Le Cuirot
2017-05-06 17:20 Agostino Sarubbo
2017-05-05 14:10 Agostino Sarubbo
2017-05-04 21:21 James Le Cuirot
2017-01-30 23:09 Austin English
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1593599225.756334db7d87f8a52c2d48302b88c39b613d51f4.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox