summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLearath <learath2@gmail.com>2017-04-09 19:45:07 +0200
committerJames Le Cuirot <chewi@gentoo.org>2017-05-04 22:20:49 +0100
commit47bc7066f75bc1a3be09802e65cd128eedb92360 (patch)
treecf311e747650b16a13f204a47988e943ee8b9a93 /games-action/teeworlds/teeworlds-0.6.3.ebuild
parentsys-devel/gcc: Add ~ keywords to 6.3.0 (diff)
downloadgentoo-47bc7066f75bc1a3be09802e65cd128eedb92360.tar.gz
gentoo-47bc7066f75bc1a3be09802e65cd128eedb92360.tar.bz2
gentoo-47bc7066f75bc1a3be09802e65cd128eedb92360.zip
games-action/teeworlds: Version bump to 0.6.4
Gentoo-Bug: https://bugs.gentoo.org/600178 Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/4400
Diffstat (limited to 'games-action/teeworlds/teeworlds-0.6.3.ebuild')
-rw-r--r--games-action/teeworlds/teeworlds-0.6.3.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/games-action/teeworlds/teeworlds-0.6.3.ebuild b/games-action/teeworlds/teeworlds-0.6.3.ebuild
index 6ec2bfd5c05b..791c9d00e077 100644
--- a/games-action/teeworlds/teeworlds-0.6.3.ebuild
+++ b/games-action/teeworlds/teeworlds-0.6.3.ebuild
@@ -3,7 +3,7 @@
EAPI=5
PYTHON_COMPAT=( python2_7 )
-inherit eutils multiprocessing python-any-r1 toolchain-funcs games
+inherit eutils multiprocessing python-any-r1 toolchain-funcs games versionator
REVISION="b177-r50edfd37"
@@ -31,6 +31,7 @@ DEPEND="${RDEPEND}
~dev-util/bam-0.4.0"
S=${WORKDIR}/${P}-src
+MY_PV=$(get_version_component_range 1-2)
pkg_setup() {
python-any-r1_pkg_setup
@@ -41,7 +42,7 @@ src_prepare() {
rm -r src/engine/external/* || die
# 01 & 02 from pull request: https://github.com/oy/teeworlds/pull/493
- EPATCH_SOURCE="${FILESDIR}/${PV}" EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
+ EPATCH_SOURCE="${FILESDIR}/${MY_PV}" EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
epatch
cat <<- __EOF__ > "${S}/gentoo.lua"