Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/luajit/
Date: Sat, 26 May 2018 20:31:42
Message-Id: 1527366687.1ec97ef326d674c6e45c8ea8a38dcd4e3832c852.bman@gentoo
1 commit: 1ec97ef326d674c6e45c8ea8a38dcd4e3832c852
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 26 19:27:00 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sat May 26 20:31:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ec97ef3
7
8 dev-lang/luajit: drop EAPI=2
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 dev-lang/luajit/Manifest | 1 -
13 dev-lang/luajit/luajit-1.1.6.ebuild | 54 -------------------------------------
14 2 files changed, 55 deletions(-)
15
16 diff --git a/dev-lang/luajit/Manifest b/dev-lang/luajit/Manifest
17 index f52d5b141d5..b7dd96473d0 100644
18 --- a/dev-lang/luajit/Manifest
19 +++ b/dev-lang/luajit/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST LuaJIT-1.1.6.tar.gz 364447 BLAKE2B 6c9f0c8269770268a123052d63fc72ad5e44f72ded209d5e0c360d693e9867db47c31e77bbdb2452dd44e1a69181047d54874334d1d931cf25670b28c0ad6125 SHA512 5b08d0409bed23b3efd05d50007819c0023323fb0f921256fd33902b434221ebaa5ff4568813863ba3220271f7fd54720479ab8161b09d26ef5873030431592a
22 DIST LuaJIT-2.0.2.tar.gz 843031 BLAKE2B 7dbf36c1d41106bb55b4588920a79b4c68139e009cb157d0f4ca8f0c72d8f7def1edd4517237234c5833acdbda0ec3dc25edb18bc55298b139463dbb6e58476a SHA512 c1afea13ec61a59f37d1f61fc50bcac47208d9d4f0a80689b74e901ad2b34294b6c89a0b4eef54b43f3d2db411660da61b191b0bbfba4ba2f97743a9ee4484e3
23 DIST LuaJIT-2.0.3.tar.gz 844927 BLAKE2B a6ed54ef562b7af594367cbc0ed6e20295bb64781ceb6b46df81d10d7abd9fdaf902344ab7a6dfdffa6fc38b05e70648ae53c9cffdfb2a866989eba4b02fe9df SHA512 7b3e3de22ac3602299b5918b60801e45a3278e547a15c16fdae7359538d4ada27ba664935d5f97c7409f330c2f8efeaae9ea03415f5e9d5a9d81e022cd5d36e0
24 DIST LuaJIT-2.0.4.tar.gz 847615 BLAKE2B b410d06734056283655e70a53b4f1160553cc74a9d6a80d4a919f7f38589888fff339eda661ec623258a5f186f4eb2d2c9b5809b6f7e55f9e058058426e2fe74 SHA512 a72957bd85d8f457269e78bf08c19b28c5707df5d19920d61918f8a6913f55913ce13037fb9a6463c04cefde0c6644739f390e09d656e4bbc2c236927aa3f8f9
25
26 diff --git a/dev-lang/luajit/luajit-1.1.6.ebuild b/dev-lang/luajit/luajit-1.1.6.ebuild
27 deleted file mode 100644
28 index 880ea236137..00000000000
29 --- a/dev-lang/luajit/luajit-1.1.6.ebuild
30 +++ /dev/null
31 @@ -1,54 +0,0 @@
32 -# Copyright 1999-2014 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI="2"
36 -
37 -inherit pax-utils
38 -
39 -MY_P="LuaJIT-${PV}"
40 -
41 -DESCRIPTION="A Just-In-Time Compiler for the Lua programming language"
42 -HOMEPAGE="http://luajit.org/"
43 -SRC_URI="http://luajit.org/download/${MY_P}.tar.gz"
44 -
45 -LICENSE="MIT"
46 -SLOT="1"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE="readline"
49 -
50 -DEPEND="readline? ( sys-libs/readline )"
51 -RDEPEND="${DEPEND}"
52 -
53 -S="${WORKDIR}/${MY_P}"
54 -
55 -src_prepare(){
56 - # fixing prefix
57 - sed -i -e "s#/usr/local#${D}/usr#" Makefile \
58 - || die "failed to fix prefix in Makefile"
59 - sed -i -e 's#/usr/local/#/usr/#' src/luaconf.h \
60 - || die "failed to fix prefix in luaconf.h"
61 -
62 - # forcing the use of our CFLAGS
63 - sed -i -e "s/\$(MYCFLAGS)/\$(MYCFLAGS) ${CFLAGS}/" src/Makefile \
64 - || die "failed to force the use of the CFLAGS from the user"
65 -}
66 -
67 -src_compile(){
68 - if use readline; then
69 - emake linux_rl || die "emake failed."
70 - else
71 - emake linux || die "emake failed."
72 - fi
73 -}
74 -
75 -src_install(){
76 - einstall
77 -
78 - # removing empty dir that was supposed to have the man pages.
79 - # dev-lang/luajit:1 doesn't install man pages.
80 - rm -rf "${D}usr/man"
81 -
82 - mv "${D}usr/bin/luajit" "${D}usr/bin/luajit-${PV}" || die "mv failed!"
83 - pax-mark m "${D}usr/bin/luajit-${PV}"
84 - dosym "luajit-${PV}" "/usr/bin/luajit-${SLOT}"
85 -}