1 |
commit: 95508a23c884e25fa8af1b95eebc598037184f3a |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 20 21:33:46 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 20 21:33:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95508a23 |
7 |
|
8 |
dev-lua/luvit: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
dev-lua/luvit/Manifest | 1 - |
14 |
dev-lua/luvit/luvit-0.7.0.ebuild | 93 ---------------------------------------- |
15 |
2 files changed, 94 deletions(-) |
16 |
|
17 |
diff --git a/dev-lua/luvit/Manifest b/dev-lua/luvit/Manifest |
18 |
index 7313be14c39..53fa5863bb5 100644 |
19 |
--- a/dev-lua/luvit/Manifest |
20 |
+++ b/dev-lua/luvit/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST luvit-0.7.0.tar.gz 6440621 BLAKE2B 03cde753f19441bf408c3985704d9042bdbb217368d2effdb494c650038dd2f6a01acd81a73c8bd6e2ef5648d017eb27a8728f4ea568d62f9a94812cf19fe767 SHA512 9a2366d7033f685bdaed9d8fc22b74e570a6b2b5f0c2e5ecdea6b92776e12fed7ec8fa6c84ff457bdfc8849a7ee79c27803577857b3263e20c1fc53b87383b12 |
23 |
DIST luvit-0.8.2.tar.gz 7126452 BLAKE2B fc08b9964883ad0708cfeec0740171936daa8e58b43ff587eecbe3986f86e46d850a67b47e7a14880c67b9abe650b5cac3bcffab1c6fb2a42f965f38663aa292 SHA512 46ce9e99d1a002697bb777000d97849135805c3b36344880c1d5cb48c648c7252ec440af35a78eb595d7706d11dc85f76e72c72569e2b3d26e2747b870f98c2b |
24 |
|
25 |
diff --git a/dev-lua/luvit/luvit-0.7.0.ebuild b/dev-lua/luvit/luvit-0.7.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index c36395406c9..00000000000 |
28 |
--- a/dev-lua/luvit/luvit-0.7.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,93 +0,0 @@ |
31 |
-# Copyright 1999-2018 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=5 |
35 |
- |
36 |
-inherit eutils toolchain-funcs multilib |
37 |
- |
38 |
-# TODO: FHS https://github.com/luvit/luvit/issues/379 |
39 |
- |
40 |
-DESCRIPTION="Takes node.js' architecture and dependencies and fits it in the Lua language" |
41 |
-HOMEPAGE="https://luvit.io/" |
42 |
-SRC_URI="https://luvit.io/dist/latest/${P}.tar.gz" |
43 |
- |
44 |
-KEYWORDS="amd64 x86" |
45 |
-SLOT="0" |
46 |
-IUSE="bundled-libs examples" |
47 |
-# luvit Apache-2.0 |
48 |
-# luajit MIT |
49 |
-# yajl BSD |
50 |
-LICENSE="Apache-2.0 bundled-libs? ( BSD MIT )" |
51 |
- |
52 |
-# fails in portage environment |
53 |
-# succeeds if run manually |
54 |
-RESTRICT="test" |
55 |
- |
56 |
-RDEPEND=" |
57 |
- dev-libs/openssl:0 |
58 |
- sys-libs/zlib |
59 |
- !bundled-libs? ( |
60 |
- dev-lang/luajit:2[lua52compat] |
61 |
- >=dev-libs/yajl-2.0.2 |
62 |
- net-libs/http-parser:= |
63 |
- )" |
64 |
-DEPEND="${RDEPEND} |
65 |
- virtual/pkgconfig" |
66 |
- |
67 |
-src_prepare() { |
68 |
- rm -r deps/{openssl,zlib} || die |
69 |
- epatch "${FILESDIR}"/${P}-unbundle-http-parser.patch |
70 |
- if use bundled-libs ; then |
71 |
- sed -i \ |
72 |
- -e "s/-Werror//" \ |
73 |
- -e "s/-O3//" \ |
74 |
- deps/http-parser/Makefile || die "fixing flags failed!" |
75 |
- else |
76 |
- rm -r deps/{luajit,yajl,http-parser} || die |
77 |
- # TODO: no version detection for http-parser yet |
78 |
- MY_YAJL_VERSION=$($(tc-getPKG_CONFIG) --modversion yajl) |
79 |
- MY_LUAJIT_VERSION=$($(tc-getPKG_CONFIG) --modversion luajit) |
80 |
- sed -i \ |
81 |
- -e "s:^YAJL_VERSION=.*:YAJL_VERSION=${MY_YAJL_VERSION}:" \ |
82 |
- -e "s:^LUAJIT_VERSION=.*:LUAJIT_VERSION=${MY_LUAJIT_VERSION}:" \ |
83 |
- Makefile || die "setting yajl version failed" |
84 |
- fi |
85 |
- |
86 |
-} |
87 |
- |
88 |
-src_configure() { |
89 |
- # skip retarded gyp build system |
90 |
- : |
91 |
-} |
92 |
- |
93 |
-src_compile() { |
94 |
- tc-export CC AR |
95 |
- |
96 |
- emake -C deps/cares |
97 |
- |
98 |
- myemakeargs=( |
99 |
- DEBUG=0 |
100 |
- WERROR=0 |
101 |
- USE_SYSTEM_SSL=1 |
102 |
- # bundled luajit is compiled with special flags |
103 |
- USE_SYSTEM_LUAJIT=$(usex bundled-libs "0" "1") |
104 |
- USE_SYSTEM_YAJL=$(usex bundled-libs "0" "1") |
105 |
- USE_SYSTEM_HTTPPARSER=$(usex bundled-libs "0" "1") |
106 |
- USE_SYSTEM_ZLIB=1 |
107 |
- PREFIX=/usr |
108 |
- LIBDIR="${D%/}"/usr/$(get_libdir)/${PN} |
109 |
- DESTDIR="${D}" |
110 |
- ) |
111 |
- |
112 |
- emake "${myemakeargs[@]}" all |
113 |
-} |
114 |
- |
115 |
-src_install() { |
116 |
- emake "${myemakeargs[@]}" install |
117 |
- dodoc TODO ChangeLog README.markdown errors.markdown |
118 |
- |
119 |
- if use examples ; then |
120 |
- dodoc -r examples |
121 |
- docompress -x /usr/share/doc/${PF}/examples |
122 |
- fi |
123 |
-} |