1 |
commit: a3388b2a834bc3fbfafcc7dbb6d1f62aa0ebda3a |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 14 14:44:48 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 14 14:45:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3388b2a |
7 |
|
8 |
dev-lua/luasocket: use correct version |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
|
12 |
.../luasocket/{luasocket-3.0.0.ebuild => luasocket-3.0.0-r1.ebuild} | 5 +++++ |
13 |
1 file changed, 5 insertions(+) |
14 |
|
15 |
diff --git a/dev-lua/luasocket/luasocket-3.0.0.ebuild b/dev-lua/luasocket/luasocket-3.0.0-r1.ebuild |
16 |
similarity index 90% |
17 |
rename from dev-lua/luasocket/luasocket-3.0.0.ebuild |
18 |
rename to dev-lua/luasocket/luasocket-3.0.0-r1.ebuild |
19 |
index ebbca46770e8..f89c5c8c85b8 100644 |
20 |
--- a/dev-lua/luasocket/luasocket-3.0.0.ebuild |
21 |
+++ b/dev-lua/luasocket/luasocket-3.0.0-r1.ebuild |
22 |
@@ -34,6 +34,11 @@ PATCHES=( |
23 |
|
24 |
src_prepare() { |
25 |
default |
26 |
+ |
27 |
+ # Set correct version, as upstream shows wrongly '-rc1'. |
28 |
+ # This has been already changed by upstream, but no new release. |
29 |
+ sed -e 's/-rc1/.0/g' -i src/luasocket.h || die |
30 |
+ |
31 |
lua_copy_sources |
32 |
} |