Diff luajit-2.0.5-r1 with a luajit-2.1.0_beta3

/usr/portage/dev-lang/luajit/luajit-2.1.0_beta3.ebuild 2019-03-22 23:09:00.000000000 +0300
1
# Copyright 1999-2018 Gentoo Foundation
1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=6
5 5

  
6 6
inherit pax-utils toolchain-funcs versionator
7 7

  
8
MY_PV="$(get_version_component_range 1-3)"
8
MY_PV="$(get_version_component_range 1-4)"
9
MY_PV="${MY_PV/_beta/-beta}"
9 10
MY_P="LuaJIT-${MY_PV}"
10
if [[ -n $(get_version_component_range 4) ]]; then
11
	HOTFIX="v${PV}"
12
	HOTFIX="${HOTFIX/_p/_hotfix}.patch"
13
fi
14 11

  
15 12
DESCRIPTION="Just-In-Time Compiler for the Lua programming language"
16 13
HOMEPAGE="http://luajit.org/"
17
SRC_URI="http://luajit.org/download/${MY_P}.tar.gz
18
	${HOTFIX:+http://luajit.org/download/${HOTFIX}}"
14
SRC_URI="http://luajit.org/download/${MY_P}.tar.gz"
19 15

  
20 16
LICENSE="MIT"
21 17
# this should probably be pkgmoved to 2.0 for sake of consistency.
22 18
SLOT="2"
23
KEYWORDS="amd64 arm ppc x86 ~amd64-linux ~x86-linux"
19
KEYWORDS=""
24 20
IUSE="lua52compat static-libs"
25 21

  
26 22
S="${WORKDIR}/${MY_P}"
27 23

  
28
src_prepare(){
29
	if [[ -n ${HOTFIX} ]]; then
30
		eapply "${DISTDIR}/${HOTFIX}"
31
	fi
32
	default
33
}
34

  
35 24
_emake() {
36 25
	emake \
37 26
		Q= \
Thank you!