1 |
commit: 71e6e18c8a84c6aa24c62329a771da6dc6bfd1ca |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 30 08:02:56 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 30 08:08:43 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71e6e18c |
7 |
|
8 |
dev-lua/luasocket: drop 3.0.0-r1 |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
|
12 |
dev-lua/luasocket/Manifest | 1 - |
13 |
dev-lua/luasocket/luasocket-3.0.0-r1.ebuild | 93 ----------------------------- |
14 |
2 files changed, 94 deletions(-) |
15 |
|
16 |
diff --git a/dev-lua/luasocket/Manifest b/dev-lua/luasocket/Manifest |
17 |
index 072cf68d52db..224c295616e1 100644 |
18 |
--- a/dev-lua/luasocket/Manifest |
19 |
+++ b/dev-lua/luasocket/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST luasocket-3.0.0.tar.gz 336231 BLAKE2B 71b87041a1edb2616ba269160382ac5cea6ba9b623281e8069e8adf97b6898d7836add7eff949010a1bc890bff8d2e4797a2ff5c619b45f8ee3adee5d6633843 SHA512 4f93d6c0b602333df50ee4f939cd0419243f6de333472ffebf99334e301143e8cdee3bc1655c29f81608622d6e7850a9bcf6929a6d4748210a70cdb8218a1ec6 |
22 |
DIST luasocket-3.1.0.tar.gz 336542 BLAKE2B 64d3ab7028050a93a93db444a4d1757f579f111e79c2f84629d0eb9558fc594918614a48cd1cb522d573b84bb4096537fb7950834adeacfffb3e060721402f71 SHA512 1e9e98484740ec6538fe3d2b0dab74d31f052956ecf9ee3b60e229f2d0b13fcc6d4aaf74cd2a3e2ee330333dabb316fe6a43c60baaea26f0cc01069b6aa4519b |
23 |
|
24 |
diff --git a/dev-lua/luasocket/luasocket-3.0.0-r1.ebuild b/dev-lua/luasocket/luasocket-3.0.0-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index f89c5c8c85b8..000000000000 |
27 |
--- a/dev-lua/luasocket/luasocket-3.0.0-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,93 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-LUA_COMPAT=( lua5-{1..4} luajit ) |
36 |
-MY_P="${PN}-${EGIT_COMMIT}" |
37 |
- |
38 |
-inherit lua toolchain-funcs |
39 |
- |
40 |
-DESCRIPTION="Networking support for the Lua language" |
41 |
-HOMEPAGE=" |
42 |
- http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/ |
43 |
- https://github.com/lunarmodules/luasocket |
44 |
-" |
45 |
-SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="MIT" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" |
50 |
-REQUIRED_USE="${LUA_REQUIRED_USE}" |
51 |
-RESTRICT="test" |
52 |
- |
53 |
-RDEPEND="${LUA_DEPS}" |
54 |
-DEPEND="${RDEPEND}" |
55 |
-BDEPEND="virtual/pkgconfig" |
56 |
- |
57 |
-HTML_DOCS="docs/." |
58 |
- |
59 |
-PATCHES=( |
60 |
- "${FILESDIR}/${PN}-3.0_rc1_p20200328_publish_API.patch" |
61 |
- "${FILESDIR}/${PN}-3.0.0_makefile.patch" |
62 |
-) |
63 |
- |
64 |
-src_prepare() { |
65 |
- default |
66 |
- |
67 |
- # Set correct version, as upstream shows wrongly '-rc1'. |
68 |
- # This has been already changed by upstream, but no new release. |
69 |
- sed -e 's/-rc1/.0/g' -i src/luasocket.h || die |
70 |
- |
71 |
- lua_copy_sources |
72 |
-} |
73 |
- |
74 |
-lua_src_compile() { |
75 |
- pushd "${BUILD_DIR}" || die |
76 |
- |
77 |
- local myemakeargs=( |
78 |
- "CC=$(tc-getCC)" |
79 |
- "LD=$(tc-getCC)" |
80 |
- "LUAINC_linux=$(lua_get_include_dir)" |
81 |
- "LUAV=${ELUA}" |
82 |
- "MIME_V=1.0.3-${ELUA}" |
83 |
- "MYCFLAGS=${CFLAGS}" |
84 |
- "MYLDFLAGS=${LDFLAGS}" |
85 |
- "SOCKET_V=3.0.0-${ELUA}" |
86 |
- ) |
87 |
- |
88 |
- emake "${myemakeargs[@]}" all |
89 |
- |
90 |
- popd |
91 |
-} |
92 |
- |
93 |
-src_compile() { |
94 |
- lua_foreach_impl lua_src_compile |
95 |
-} |
96 |
- |
97 |
-lua_src_install() { |
98 |
- pushd "${BUILD_DIR}" || die |
99 |
- |
100 |
- local myemakeargs=( |
101 |
- "CDIR=$(lua_get_cmod_dir)" |
102 |
- "DESTDIR=${ED}" |
103 |
- "LDIR=$(lua_get_lmod_dir)" |
104 |
- "LUAPREFIX_linux=" |
105 |
- "MIME_V=1.0.3-${ELUA}" |
106 |
- "SOCKET_V=3.0.0-${ELUA}" |
107 |
- ) |
108 |
- |
109 |
- emake "${myemakeargs[@]}" install |
110 |
- emake "${myemakeargs[@]}" install-unix |
111 |
- |
112 |
- insinto "$(lua_get_include_dir)"/luasocket |
113 |
- doins src/*.h |
114 |
- |
115 |
- popd |
116 |
-} |
117 |
- |
118 |
-src_install() { |
119 |
- lua_foreach_impl lua_src_install |
120 |
- |
121 |
- einstalldocs |
122 |
-} |