1 |
commit: 79580bac1382aa10ef091c1b01f5da5b69c2aee2 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 28 23:57:38 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 28 23:59:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79580bac |
7 |
|
8 |
dev-lua/lua-utf8: drop old version |
9 |
|
10 |
Closes: https://bugs.gentoo.org/730464 |
11 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
dev-lua/lua-utf8/Manifest | 1 - |
15 |
dev-lua/lua-utf8/files/lua-utf8.Makefile | 42 ------------------------------ |
16 |
dev-lua/lua-utf8/lua-utf8-0.1.1.ebuild | 44 -------------------------------- |
17 |
3 files changed, 87 deletions(-) |
18 |
|
19 |
diff --git a/dev-lua/lua-utf8/Manifest b/dev-lua/lua-utf8/Manifest |
20 |
index b31cd98e6e8..922b0276858 100644 |
21 |
--- a/dev-lua/lua-utf8/Manifest |
22 |
+++ b/dev-lua/lua-utf8/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST lua-utf8-0.1.1.tar.gz 35475 BLAKE2B 99ffece901878fc966e0314886ca20255834c76b9266b1806acda7afb84d6a358c556b9a88c10497d2874d7902fac5905907ab25fefb4ba38544d46e3bae1471 SHA512 e0a8632b9391c7e7b35e371f4e95899ec58adb4988f1fe5a7101310f7c774c3a3e88073f156cf7799c57f69c0fc53aff4486beb1e7006bfaa96d86e248e38897 |
25 |
DIST lua-utf8-0.1.3.tar.gz 41830 BLAKE2B 72982c7ec8d8837e391fa6bfb689c1e9f4a7746d0cbc058556f06027b4af00c936036f87baf58f45e1169fd3ea7e6d8174629d5a7279205622cf0710971ca29c SHA512 d0abe73fecbfeba36083c135d77962d953ad9e431721a2557669c912a2703e31c46f84f2ee9ee4ac966a5bcc88d4daef930f8d2d8e72106fa61010509c183e29 |
26 |
|
27 |
diff --git a/dev-lua/lua-utf8/files/lua-utf8.Makefile b/dev-lua/lua-utf8/files/lua-utf8.Makefile |
28 |
deleted file mode 100644 |
29 |
index 456c52f4aaa..00000000000 |
30 |
--- a/dev-lua/lua-utf8/files/lua-utf8.Makefile |
31 |
+++ /dev/null |
32 |
@@ -1,42 +0,0 @@ |
33 |
-# this file builds lua-utf8 |
34 |
- |
35 |
-MY_USE_LUA?=luajit |
36 |
-PKG_CONFIG?=pkg-config |
37 |
-PREFIX?=/usr/local |
38 |
-DESTDIR?=/ |
39 |
- |
40 |
-LUA_LIBDIR := $(shell $(PKG_CONFIG) --variable INSTALL_CMOD $(MY_USE_LUA)) |
41 |
-LUA_INC := $(shell $(PKG_CONFIG) --variable INSTALL_INC $(MY_USE_LUA)) |
42 |
-LUA_SHARE := $(shell $(PKG_CONFIG) --variable INSTALL_LMOD $(MY_USE_LUA)) |
43 |
-CWARNS := -Wall -pedantic |
44 |
-CFLAGS += -I$(LUA_INC) -fPIC $(CWARNS) |
45 |
-LIB_OPTION := -shared |
46 |
-LDFLAGS += $(LIB_OPTION) |
47 |
- |
48 |
-SONAME := lua-utf8.so |
49 |
-SONAMEV := $(SONAME).0 |
50 |
-LIBRARY := $(SONAMEV).1.1 |
51 |
-SRC := lutf8lib.c |
52 |
-OBJ := $(patsubst %.c, %.o, $(SRC)) |
53 |
- |
54 |
-FILES := parseucd.lua |
55 |
- |
56 |
-all: $(LIBRARY) $(SONAMEV) $(SONAME) |
57 |
- |
58 |
-$(SONAMEV): |
59 |
- ln -s $(LIBRARY) $@ |
60 |
- |
61 |
-$(SONAME): |
62 |
- ln -s $(SONAMEV) $@ |
63 |
- |
64 |
-$(LIBRARY): $(OBJ) |
65 |
- $(CC) $(CFLAGS) $(LDFLAGS) -o $(LIBRARY) $(OBJ) -lc |
66 |
- |
67 |
-install: |
68 |
- install -d $(DESTDIR)$(LUA_LIBDIR) |
69 |
- install $(SONAME) $(DESTDIR)$(LUA_LIBDIR) |
70 |
- install -d $(DESTDIR)$(LUA_SHARE) |
71 |
- install --mode=0444 $(FILES) $(DESTDIR)$(LUA_SHARE) |
72 |
- |
73 |
-clean: |
74 |
- rm -rf $(LIBRARY) $(SONAMEV) $(SONAME) *.o |
75 |
|
76 |
diff --git a/dev-lua/lua-utf8/lua-utf8-0.1.1.ebuild b/dev-lua/lua-utf8/lua-utf8-0.1.1.ebuild |
77 |
deleted file mode 100644 |
78 |
index d3dffeb9e9f..00000000000 |
79 |
--- a/dev-lua/lua-utf8/lua-utf8-0.1.1.ebuild |
80 |
+++ /dev/null |
81 |
@@ -1,44 +0,0 @@ |
82 |
-# Copyright 2020 Gentoo Authors |
83 |
-# Distributed under the terms of the GNU General Public License v2 |
84 |
- |
85 |
-EAPI=7 |
86 |
-inherit toolchain-funcs |
87 |
- |
88 |
-DESCRIPTION="UTF-8 support for Lua" |
89 |
-HOMEPAGE="https://github.com/starwing/luautf8" |
90 |
-SRC_URI="https://github.com/starwing/luautf8/archive/${PV}.tar.gz -> ${P}.tar.gz" |
91 |
- |
92 |
-LICENSE="MIT" |
93 |
-SLOT="0" |
94 |
-KEYWORDS="~amd64 ~arm ~ppc64" |
95 |
-IUSE="luajit test" |
96 |
- |
97 |
-RESTRICT="!test? ( test )" |
98 |
- |
99 |
-BDEPEND="virtual/pkgconfig" |
100 |
-RDEPEND=" |
101 |
- !luajit? ( >=dev-lang/lua-5.1:= ) |
102 |
- luajit? ( dev-lang/luajit:2 )" |
103 |
-DEPEND="${RDEPEND}" |
104 |
- |
105 |
-S="${WORKDIR}/${PN//-/}-${PV}" |
106 |
- |
107 |
-src_prepare() { |
108 |
- default |
109 |
- |
110 |
- cp -v "${FILESDIR}/${PN}".Makefile "${S}"/Makefile || die |
111 |
-} |
112 |
- |
113 |
-src_compile() { |
114 |
- tc-export CC |
115 |
- emake DESTDIR="${D}" PREFIX="${EPREFIX}" MY_USE_LUA="$(usex luajit 'luajit' 'lua')" PKG_CONFIG="$(tc-getPKG_CONFIG)" |
116 |
-} |
117 |
- |
118 |
-src_install() { |
119 |
- emake DESTDIR="${D}" PREFIX="${EPREFIX}" MY_USE_LUA="$(usex luajit 'luajit' 'lua')" PKG_CONFIG="$(tc-getPKG_CONFIG)" install |
120 |
- einstalldocs |
121 |
-} |
122 |
- |
123 |
-src_test() { |
124 |
- LUA_CPATH=./?.so $(usex luajit 'luajit' 'lua') test.lua || die |
125 |
-} |