* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2019-09-05 18:45 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2019-09-05 18:45 UTC (permalink / raw
To: gentoo-commits
commit: 9189264db54c0f6a85adfcf5c055d5d5752fda82
Author: Bernardo Meurer <bernardo <AT> standard <DOT> ai>
AuthorDate: Thu Sep 5 08:15:50 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Sep 5 18:45:03 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9189264d
dev-libs/libluv: new package (1.30.1_p0)
Bare libuv bindings for lua
Closes: https://bugs.gentoo.org/691878
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Bernardo Meurer <bernardo <AT> standard.ai>
Closes: https://github.com/gentoo/gentoo/pull/12864
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-lua/luv/Manifest | 2 ++
dev-lua/luv/luv-1.30.1_p0.ebuild | 62 ++++++++++++++++++++++++++++++++++++++++
dev-lua/luv/metadata.xml | 21 ++++++++++++++
3 files changed, 85 insertions(+)
diff --git a/dev-lua/luv/Manifest b/dev-lua/luv/Manifest
new file mode 100644
index 00000000000..0b154193b78
--- /dev/null
+++ b/dev-lua/luv/Manifest
@@ -0,0 +1,2 @@
+DIST luv-1.30.1_p0.tar.gz 88560 BLAKE2B 9eb32f4e13921899a80dfba143508d26ef0bee3ce0186b62b31ee9da508aa434ac01dcdbd5654f03fd18798791b71e310739e2d9a879f03bf6c48475cc6e0b46 SHA512 c7f613e72d5e5e93035597fcb6a3868d60e61811d4858ced1c2087f31ed0720c11fe436af51d6626c0d77ed448989520b220d6a150b49f6ec0fe557472dd66c7
+DIST luv-lua-compat-1.30.1_p0.zip 62515 BLAKE2B 173dbe43a1f1f4e440c1e40b0a0b22b4ca580568e754a44fbcf57370a53340ebe247de18ae8e98e68cf0f85ae2fa6ec41d5acfb9a433e4bdc717a1e80a2480b6 SHA512 7e66b059aecdb4de630fd305fdcc439cccac94b44101c8b74d61f0f40a1e01e8e68c811a96bddcf5bb0ae09f369d9524f0ec9b009e31d89aef2a1115becba056
diff --git a/dev-lua/luv/luv-1.30.1_p0.ebuild b/dev-lua/luv/luv-1.30.1_p0.ebuild
new file mode 100644
index 00000000000..50c64f2bb52
--- /dev/null
+++ b/dev-lua/luv/luv-1.30.1_p0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils unpacker
+
+MY_PV="${PV/_p/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Bare libuv bindings for lua"
+HOMEPAGE="https://github.com/luvit/luv"
+# XXX: Remember to check this hash between bumps!
+# https://github.com/luvit/luv/tree/master/deps
+LUA_COMPAT_HASH="daebe77a2f498817713df37f0bb316db1d82222f"
+SRC_URI="
+ https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/keplerproject/lua-compat-5.3/archive/${LUA_COMPAT_HASH}.zip -> ${PN}-lua-compat-${PV}.zip
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="luajit test"
+
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( dev-lang/lua:0 )
+ )
+"
+DEPEND="dev-libs/libuv:="
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # Fix libdir
+ # Match '/lib/' and '/lib"' without capturing / or ", replacing with libdir
+ sed -i -r "s/\/lib(\"|\/)/\/$(get_libdir)\1/g" CMakeLists.txt || die "Failed to sed CMakeLists.txt"
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ lua_compat_dir="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_HASH}"
+ local mycmakeargs=(
+ -DBUILD_MODULE=OFF
+ -DLUA_BUILD_TYPE=System
+ -DLUA_COMPAT53_DIR="${lua_compat_dir}"
+ -DWITH_LUA_ENGINE=$(usex luajit LuaJIT Lua)
+ -DWITH_SHARED_LIBUV=ON
+ )
+ cmake-utils_src_configure
+}
+
+src_test() {
+ local elua="$(usex luajit luajit lua)"
+ # We need to copy the library back so that the tests see it
+ cp "${BUILD_DIR}/libluv.so" "./luv.so" || die "Failed to copy library for tests"
+ ${elua} "tests/run.lua" || die "Tests failed"
+}
diff --git a/dev-lua/luv/metadata.xml b/dev-lua/luv/metadata.xml
new file mode 100644
index 00000000000..b860177b333
--- /dev/null
+++ b/dev-lua/luv/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>bernardo@standard.ai</email>
+ <name>Bernardo Meurer</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Gentoo Proxy Maintainers Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ libuv bindings for luajit and lua 5.1/ 5.2/ 5.3.
+
+ This library makes libuv available to lua scripts. It was made for the
+ luvit project but should usable from nearly any lua project.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">luvit/luv</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2019-09-07 19:42 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2019-09-07 19:42 UTC (permalink / raw
To: gentoo-commits
commit: 14d7c3ce2e2f08f5c52cf5457c172ffbc7f4088c
Author: Bernardo Meurer <bernardo <AT> standard <DOT> ai>
AuthorDate: Fri Sep 6 21:36:43 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 19:42:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d7c3ce
dev-lua/luv: Fix lack of dev-lang/lua in DEPEND
Closes: https://bugs.gentoo.org/693614
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Bernardo Meurer <bernardo <AT> standard.ai>
Closes: https://github.com/gentoo/gentoo/pull/12879
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-lua/luv/luv-1.30.1_p0.ebuild | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/dev-lua/luv/luv-1.30.1_p0.ebuild b/dev-lua/luv/luv-1.30.1_p0.ebuild
index 50c64f2bb52..70dc438f362 100644
--- a/dev-lua/luv/luv-1.30.1_p0.ebuild
+++ b/dev-lua/luv/luv-1.30.1_p0.ebuild
@@ -23,14 +23,12 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="luajit test"
-BDEPEND="
- virtual/pkgconfig
- test? (
- luajit? ( dev-lang/luajit:2 )
- !luajit? ( dev-lang/lua:0 )
- )
+BDEPEND="virtual/pkgconfig"
+DEPEND="
+ dev-libs/libuv:=
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( dev-lang/lua:0 )
"
-DEPEND="dev-libs/libuv:="
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2019-09-17 19:31 Michał Górny
0 siblings, 0 replies; 33+ messages in thread
From: Michał Górny @ 2019-09-17 19:31 UTC (permalink / raw
To: gentoo-commits
commit: 10339d0ae4fe3153ea63c90f98210d5e21d03a12
Author: Bernardo Meurer <bernardo <AT> standard <DOT> ai>
AuthorDate: Tue Sep 17 17:51:21 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 17 19:31:08 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10339d0a
dev-lua/luv: use tar.gz instead of zip
Closes: https://bugs.gentoo.org/694630
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Bernardo Meurer <bernardo <AT> standard.ai>
Closes: https://github.com/gentoo/gentoo/pull/12953
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-lua/luv/Manifest | 2 +-
dev-lua/luv/luv-1.30.1_p0.ebuild | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dev-lua/luv/Manifest b/dev-lua/luv/Manifest
index 0b154193b78..671bdf23131 100644
--- a/dev-lua/luv/Manifest
+++ b/dev-lua/luv/Manifest
@@ -1,2 +1,2 @@
DIST luv-1.30.1_p0.tar.gz 88560 BLAKE2B 9eb32f4e13921899a80dfba143508d26ef0bee3ce0186b62b31ee9da508aa434ac01dcdbd5654f03fd18798791b71e310739e2d9a879f03bf6c48475cc6e0b46 SHA512 c7f613e72d5e5e93035597fcb6a3868d60e61811d4858ced1c2087f31ed0720c11fe436af51d6626c0d77ed448989520b220d6a150b49f6ec0fe557472dd66c7
-DIST luv-lua-compat-1.30.1_p0.zip 62515 BLAKE2B 173dbe43a1f1f4e440c1e40b0a0b22b4ca580568e754a44fbcf57370a53340ebe247de18ae8e98e68cf0f85ae2fa6ec41d5acfb9a433e4bdc717a1e80a2480b6 SHA512 7e66b059aecdb4de630fd305fdcc439cccac94b44101c8b74d61f0f40a1e01e8e68c811a96bddcf5bb0ae09f369d9524f0ec9b009e31d89aef2a1115becba056
+DIST luv-lua-compat-1.30.1_p0.tar.gz 51418 BLAKE2B 1d04684e6b6d850bdf6bd3165a90c6a08bd93b757d91e387da152bcb3fc4756db5c16f3cc12ecf33bcdd647742c7923cc2e72627beb5527c5e9dfbfd63c147ba SHA512 60ec9ecfc4e4ad47b6a8189ffb1e7c83fe8b9e9df13cb91bf33725905ab72bff3d3009e8ad04fb73fd7255facdbb8279f20bfd160aee89b12c25431786eaca14
diff --git a/dev-lua/luv/luv-1.30.1_p0.ebuild b/dev-lua/luv/luv-1.30.1_p0.ebuild
index 70dc438f362..502da31838e 100644
--- a/dev-lua/luv/luv-1.30.1_p0.ebuild
+++ b/dev-lua/luv/luv-1.30.1_p0.ebuild
@@ -15,13 +15,14 @@ HOMEPAGE="https://github.com/luvit/luv"
LUA_COMPAT_HASH="daebe77a2f498817713df37f0bb316db1d82222f"
SRC_URI="
https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
- https://github.com/keplerproject/lua-compat-5.3/archive/${LUA_COMPAT_HASH}.zip -> ${PN}-lua-compat-${PV}.zip
+ https://github.com/keplerproject/lua-compat-5.3/archive/${LUA_COMPAT_HASH}.tar.gz -> ${PN}-lua-compat-${PV}.tar.gz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="luajit test"
+RESTRICT="!test? ( test )"
BDEPEND="virtual/pkgconfig"
DEPEND="
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2019-09-19 12:46 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2019-09-19 12:46 UTC (permalink / raw
To: gentoo-commits
commit: 114da9636427cc1bbda35e8eef047e6158afe93e
Author: Bernardo Meurer <bernardo <AT> standard <DOT> ai>
AuthorDate: Wed Sep 18 22:33:11 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Sep 19 12:46:39 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=114da963
dev-lua/luv: yank 1.30.1_p0
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Bernardo Meurer <bernardo <AT> standard.ai>
Closes: https://github.com/gentoo/gentoo/pull/12966
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-lua/luv/Manifest | 2 --
dev-lua/luv/luv-1.30.1_p0.ebuild | 61 ----------------------------------------
2 files changed, 63 deletions(-)
diff --git a/dev-lua/luv/Manifest b/dev-lua/luv/Manifest
index 1802df308f0..c1c8d348e6b 100644
--- a/dev-lua/luv/Manifest
+++ b/dev-lua/luv/Manifest
@@ -1,4 +1,2 @@
DIST luv-1.30.1.1.tar.gz 88948 BLAKE2B 8b6da2ac0c63222a508f9f37b6a724edab21285f21ff1fa95fe334ae800bf76a49114e41531d7584bc8ce171e4c373167cb713cf70bef6ac2c822b88398bbe17 SHA512 c9001cbea2f58a867b6ddf11ac54d16bfaa15f37f3453758d303c58b960177c7c1a65e8c5636ce07161711c898af7dfda0ed9cb4cfb8d7d6430b3843fd0acfa2
-DIST luv-1.30.1_p0.tar.gz 88560 BLAKE2B 9eb32f4e13921899a80dfba143508d26ef0bee3ce0186b62b31ee9da508aa434ac01dcdbd5654f03fd18798791b71e310739e2d9a879f03bf6c48475cc6e0b46 SHA512 c7f613e72d5e5e93035597fcb6a3868d60e61811d4858ced1c2087f31ed0720c11fe436af51d6626c0d77ed448989520b220d6a150b49f6ec0fe557472dd66c7
-DIST luv-lua-compat-1.30.1_p0.tar.gz 51418 BLAKE2B 1d04684e6b6d850bdf6bd3165a90c6a08bd93b757d91e387da152bcb3fc4756db5c16f3cc12ecf33bcdd647742c7923cc2e72627beb5527c5e9dfbfd63c147ba SHA512 60ec9ecfc4e4ad47b6a8189ffb1e7c83fe8b9e9df13cb91bf33725905ab72bff3d3009e8ad04fb73fd7255facdbb8279f20bfd160aee89b12c25431786eaca14
DIST luv-lua-compat-0.7.tar.gz 51383 BLAKE2B ae86f314de971fcd7d8706009d59d684c035fb661ecf392c581a3c317cc1a396321ef7af0418d8f23151c52c66613a0749e8fa9ac889a183c2ffe749091dae35 SHA512 665ece98422a105b818cffd96eea5788696fbb854d2ba41d2d387e8bd25c1fa9de601468e55e22e9e749979a66d4d2e0f7dfd656e5bf27b489d37bb07c96f48d
diff --git a/dev-lua/luv/luv-1.30.1_p0.ebuild b/dev-lua/luv/luv-1.30.1_p0.ebuild
deleted file mode 100644
index 502da31838e..00000000000
--- a/dev-lua/luv/luv-1.30.1_p0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils unpacker
-
-MY_PV="${PV/_p/-}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Bare libuv bindings for lua"
-HOMEPAGE="https://github.com/luvit/luv"
-# XXX: Remember to check this hash between bumps!
-# https://github.com/luvit/luv/tree/master/deps
-LUA_COMPAT_HASH="daebe77a2f498817713df37f0bb316db1d82222f"
-SRC_URI="
- https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
- https://github.com/keplerproject/lua-compat-5.3/archive/${LUA_COMPAT_HASH}.tar.gz -> ${PN}-lua-compat-${PV}.tar.gz
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="luajit test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="
- dev-libs/libuv:=
- luajit? ( dev-lang/luajit:2 )
- !luajit? ( dev-lang/lua:0 )
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- # Fix libdir
- # Match '/lib/' and '/lib"' without capturing / or ", replacing with libdir
- sed -i -r "s/\/lib(\"|\/)/\/$(get_libdir)\1/g" CMakeLists.txt || die "Failed to sed CMakeLists.txt"
- cmake-utils_src_prepare
-}
-
-src_configure() {
- lua_compat_dir="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_HASH}"
- local mycmakeargs=(
- -DBUILD_MODULE=OFF
- -DLUA_BUILD_TYPE=System
- -DLUA_COMPAT53_DIR="${lua_compat_dir}"
- -DWITH_LUA_ENGINE=$(usex luajit LuaJIT Lua)
- -DWITH_SHARED_LIBUV=ON
- )
- cmake-utils_src_configure
-}
-
-src_test() {
- local elua="$(usex luajit luajit lua)"
- # We need to copy the library back so that the tests see it
- cp "${BUILD_DIR}/libluv.so" "./luv.so" || die "Failed to copy library for tests"
- ${elua} "tests/run.lua" || die "Tests failed"
-}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2019-09-19 12:46 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2019-09-19 12:46 UTC (permalink / raw
To: gentoo-commits
commit: b717698212fa65ab2aea4300a41aabd257c7e05a
Author: Bernardo Meurer <bernardo <AT> standard <DOT> ai>
AuthorDate: Wed Sep 18 22:32:19 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Sep 19 12:46:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7176982
dev-lua/luv: bump 1.30.1.1
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Bernardo Meurer <bernardo <AT> standard.ai>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-lua/luv/Manifest | 2 ++
dev-lua/luv/luv-1.30.1.1.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
diff --git a/dev-lua/luv/Manifest b/dev-lua/luv/Manifest
index 671bdf23131..1802df308f0 100644
--- a/dev-lua/luv/Manifest
+++ b/dev-lua/luv/Manifest
@@ -1,2 +1,4 @@
+DIST luv-1.30.1.1.tar.gz 88948 BLAKE2B 8b6da2ac0c63222a508f9f37b6a724edab21285f21ff1fa95fe334ae800bf76a49114e41531d7584bc8ce171e4c373167cb713cf70bef6ac2c822b88398bbe17 SHA512 c9001cbea2f58a867b6ddf11ac54d16bfaa15f37f3453758d303c58b960177c7c1a65e8c5636ce07161711c898af7dfda0ed9cb4cfb8d7d6430b3843fd0acfa2
DIST luv-1.30.1_p0.tar.gz 88560 BLAKE2B 9eb32f4e13921899a80dfba143508d26ef0bee3ce0186b62b31ee9da508aa434ac01dcdbd5654f03fd18798791b71e310739e2d9a879f03bf6c48475cc6e0b46 SHA512 c7f613e72d5e5e93035597fcb6a3868d60e61811d4858ced1c2087f31ed0720c11fe436af51d6626c0d77ed448989520b220d6a150b49f6ec0fe557472dd66c7
DIST luv-lua-compat-1.30.1_p0.tar.gz 51418 BLAKE2B 1d04684e6b6d850bdf6bd3165a90c6a08bd93b757d91e387da152bcb3fc4756db5c16f3cc12ecf33bcdd647742c7923cc2e72627beb5527c5e9dfbfd63c147ba SHA512 60ec9ecfc4e4ad47b6a8189ffb1e7c83fe8b9e9df13cb91bf33725905ab72bff3d3009e8ad04fb73fd7255facdbb8279f20bfd160aee89b12c25431786eaca14
+DIST luv-lua-compat-0.7.tar.gz 51383 BLAKE2B ae86f314de971fcd7d8706009d59d684c035fb661ecf392c581a3c317cc1a396321ef7af0418d8f23151c52c66613a0749e8fa9ac889a183c2ffe749091dae35 SHA512 665ece98422a105b818cffd96eea5788696fbb854d2ba41d2d387e8bd25c1fa9de601468e55e22e9e749979a66d4d2e0f7dfd656e5bf27b489d37bb07c96f48d
diff --git a/dev-lua/luv/luv-1.30.1.1.ebuild b/dev-lua/luv/luv-1.30.1.1.ebuild
new file mode 100644
index 00000000000..1309efa30fe
--- /dev/null
+++ b/dev-lua/luv/luv-1.30.1.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils unpacker
+
+# e.g. MY_PV = a.b.c-d
+MY_PV="$(ver_rs 3 -)"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Bare libuv bindings for lua"
+HOMEPAGE="https://github.com/luvit/luv"
+
+LUA_COMPAT_PV="0.7"
+SRC_URI="
+ https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/keplerproject/lua-compat-5.3/archive/v${LUA_COMPAT_PV}.tar.gz -> ${PN}-lua-compat-${LUA_COMPAT_PV}.tar.gz
+"
+
+LICENSE="Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="luajit test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="
+ dev-libs/libuv:=
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( dev-lang/lua:0 )
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # Fix libdir
+ # Match '/lib/' and '/lib"' without capturing / or ", replacing with libdir
+ sed -i -r "s/\/lib(\"|\/)/\/$(get_libdir)\1/g" CMakeLists.txt || die "Failed to sed CMakeLists.txt"
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ lua_compat_dir="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_PV}"
+ local mycmakeargs=(
+ -DBUILD_MODULE=OFF
+ -DLUA_BUILD_TYPE=System
+ -DLUA_COMPAT53_DIR="${lua_compat_dir}"
+ -DWITH_LUA_ENGINE=$(usex luajit LuaJIT Lua)
+ -DWITH_SHARED_LIBUV=ON
+ )
+ cmake-utils_src_configure
+}
+
+src_test() {
+ local elua="$(usex luajit luajit lua)"
+ # We need to copy the library back so that the tests see it
+ cp "${BUILD_DIR}/libluv.so" "./luv.so" || die "Failed to copy library for tests"
+ ${elua} "tests/run.lua" || die "Tests failed"
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2019-10-31 15:45 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2019-10-31 15:45 UTC (permalink / raw
To: gentoo-commits
commit: 35028a7c03f8cb673c5123e61a00fc6bb68d2dcc
Author: Bernardo Meurer <meurerbernardo <AT> gmail <DOT> com>
AuthorDate: Mon Oct 28 05:24:12 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Oct 31 15:45:45 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35028a7c
dev-lua/luv: bump 1.32.0.0
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Bernardo Meurer <bernardo <AT> standard.ai>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-lua/luv/Manifest | 1 +
dev-lua/luv/luv-1.32.0.0.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/dev-lua/luv/Manifest b/dev-lua/luv/Manifest
index c1c8d348e6b..9ae02938e73 100644
--- a/dev-lua/luv/Manifest
+++ b/dev-lua/luv/Manifest
@@ -1,2 +1,3 @@
DIST luv-1.30.1.1.tar.gz 88948 BLAKE2B 8b6da2ac0c63222a508f9f37b6a724edab21285f21ff1fa95fe334ae800bf76a49114e41531d7584bc8ce171e4c373167cb713cf70bef6ac2c822b88398bbe17 SHA512 c9001cbea2f58a867b6ddf11ac54d16bfaa15f37f3453758d303c58b960177c7c1a65e8c5636ce07161711c898af7dfda0ed9cb4cfb8d7d6430b3843fd0acfa2
+DIST luv-1.32.0.0.tar.gz 91349 BLAKE2B e4a90b3241e2fe650f62e34439ed75f9ba53168d6bd96b8685fc5600d6f9cbb1bb598a7d40d918ab9123cf4bad99f872a79d0664056d35caba52d1eda9046020 SHA512 7db52afc1ca79052e349be7a37deb67066ee9005f8d7f7d0dae62bd83a93b4140103ee6dddeca2e02a3fc37b3880a5c18904429886af1d441f8de0cfabf5bd8c
DIST luv-lua-compat-0.7.tar.gz 51383 BLAKE2B ae86f314de971fcd7d8706009d59d684c035fb661ecf392c581a3c317cc1a396321ef7af0418d8f23151c52c66613a0749e8fa9ac889a183c2ffe749091dae35 SHA512 665ece98422a105b818cffd96eea5788696fbb854d2ba41d2d387e8bd25c1fa9de601468e55e22e9e749979a66d4d2e0f7dfd656e5bf27b489d37bb07c96f48d
diff --git a/dev-lua/luv/luv-1.32.0.0.ebuild b/dev-lua/luv/luv-1.32.0.0.ebuild
new file mode 100644
index 00000000000..7b036e6da7f
--- /dev/null
+++ b/dev-lua/luv/luv-1.32.0.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils unpacker
+
+# e.g. MY_PV = a.b.c-d
+MY_PV="$(ver_rs 3 -)"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Bare libuv bindings for lua"
+HOMEPAGE="https://github.com/luvit/luv"
+
+LUA_COMPAT_PV="0.7"
+SRC_URI="
+ https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/keplerproject/lua-compat-5.3/archive/v${LUA_COMPAT_PV}.tar.gz -> ${PN}-lua-compat-${LUA_COMPAT_PV}.tar.gz
+"
+
+LICENSE="Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="luajit test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="
+ >=dev-libs/libuv-1.32.0:=
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( dev-lang/lua:0 )
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # Fix libdir
+ # Match '/lib/' and '/lib"' without capturing / or ", replacing with libdir
+ sed -i -r "s/\/lib(\"|\/)/\/$(get_libdir)\1/g" CMakeLists.txt || die "Failed to sed CMakeLists.txt"
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ lua_compat_dir="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_PV}"
+ local mycmakeargs=(
+ -DBUILD_MODULE=OFF
+ -DLUA_BUILD_TYPE=System
+ -DLUA_COMPAT53_DIR="${lua_compat_dir}"
+ -DWITH_LUA_ENGINE=$(usex luajit LuaJIT Lua)
+ -DWITH_SHARED_LIBUV=ON
+ )
+ cmake-utils_src_configure
+}
+
+src_test() {
+ local elua="$(usex luajit luajit lua)"
+ # We need to copy the library back so that the tests see it
+ ln -s "${BUILD_DIR}/libluv.so" "./luv.so" || die "Failed to symlink library for tests"
+ ${elua} "tests/run.lua" || die "Tests failed"
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2019-10-31 15:45 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2019-10-31 15:45 UTC (permalink / raw
To: gentoo-commits
commit: a899bcd18b6bfafd563e735e17b33b9764eb9588
Author: Bernardo Meurer <meurerbernardo <AT> gmail <DOT> com>
AuthorDate: Mon Oct 28 05:24:36 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Oct 31 15:45:45 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a899bcd1
dev-lua/luv: yank 1.30.1.1
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Bernardo Meurer <bernardo <AT> standard.ai>
Closes: https://github.com/gentoo/gentoo/pull/13475
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-lua/luv/Manifest | 1 -
dev-lua/luv/luv-1.30.1.1.ebuild | 61 -----------------------------------------
2 files changed, 62 deletions(-)
diff --git a/dev-lua/luv/Manifest b/dev-lua/luv/Manifest
index 9ae02938e73..291426571d2 100644
--- a/dev-lua/luv/Manifest
+++ b/dev-lua/luv/Manifest
@@ -1,3 +1,2 @@
-DIST luv-1.30.1.1.tar.gz 88948 BLAKE2B 8b6da2ac0c63222a508f9f37b6a724edab21285f21ff1fa95fe334ae800bf76a49114e41531d7584bc8ce171e4c373167cb713cf70bef6ac2c822b88398bbe17 SHA512 c9001cbea2f58a867b6ddf11ac54d16bfaa15f37f3453758d303c58b960177c7c1a65e8c5636ce07161711c898af7dfda0ed9cb4cfb8d7d6430b3843fd0acfa2
DIST luv-1.32.0.0.tar.gz 91349 BLAKE2B e4a90b3241e2fe650f62e34439ed75f9ba53168d6bd96b8685fc5600d6f9cbb1bb598a7d40d918ab9123cf4bad99f872a79d0664056d35caba52d1eda9046020 SHA512 7db52afc1ca79052e349be7a37deb67066ee9005f8d7f7d0dae62bd83a93b4140103ee6dddeca2e02a3fc37b3880a5c18904429886af1d441f8de0cfabf5bd8c
DIST luv-lua-compat-0.7.tar.gz 51383 BLAKE2B ae86f314de971fcd7d8706009d59d684c035fb661ecf392c581a3c317cc1a396321ef7af0418d8f23151c52c66613a0749e8fa9ac889a183c2ffe749091dae35 SHA512 665ece98422a105b818cffd96eea5788696fbb854d2ba41d2d387e8bd25c1fa9de601468e55e22e9e749979a66d4d2e0f7dfd656e5bf27b489d37bb07c96f48d
diff --git a/dev-lua/luv/luv-1.30.1.1.ebuild b/dev-lua/luv/luv-1.30.1.1.ebuild
deleted file mode 100644
index 1309efa30fe..00000000000
--- a/dev-lua/luv/luv-1.30.1.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils unpacker
-
-# e.g. MY_PV = a.b.c-d
-MY_PV="$(ver_rs 3 -)"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Bare libuv bindings for lua"
-HOMEPAGE="https://github.com/luvit/luv"
-
-LUA_COMPAT_PV="0.7"
-SRC_URI="
- https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
- https://github.com/keplerproject/lua-compat-5.3/archive/v${LUA_COMPAT_PV}.tar.gz -> ${PN}-lua-compat-${LUA_COMPAT_PV}.tar.gz
-"
-
-LICENSE="Apache-2.0 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="luajit test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="
- dev-libs/libuv:=
- luajit? ( dev-lang/luajit:2 )
- !luajit? ( dev-lang/lua:0 )
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- # Fix libdir
- # Match '/lib/' and '/lib"' without capturing / or ", replacing with libdir
- sed -i -r "s/\/lib(\"|\/)/\/$(get_libdir)\1/g" CMakeLists.txt || die "Failed to sed CMakeLists.txt"
- cmake-utils_src_prepare
-}
-
-src_configure() {
- lua_compat_dir="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_PV}"
- local mycmakeargs=(
- -DBUILD_MODULE=OFF
- -DLUA_BUILD_TYPE=System
- -DLUA_COMPAT53_DIR="${lua_compat_dir}"
- -DWITH_LUA_ENGINE=$(usex luajit LuaJIT Lua)
- -DWITH_SHARED_LIBUV=ON
- )
- cmake-utils_src_configure
-}
-
-src_test() {
- local elua="$(usex luajit luajit lua)"
- # We need to copy the library back so that the tests see it
- cp "${BUILD_DIR}/libluv.so" "./luv.so" || die "Failed to copy library for tests"
- ${elua} "tests/run.lua" || die "Tests failed"
-}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2019-11-03 14:01 Mikle Kolyada
0 siblings, 0 replies; 33+ messages in thread
From: Mikle Kolyada @ 2019-11-03 14:01 UTC (permalink / raw
To: gentoo-commits
commit: 3a345648ac35aa10f6761474246671a55ce253c2
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 3 14:01:38 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Nov 3 14:01:54 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a345648
dev-lua/luv: Add ~arm keyword wrt bug #695024
Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
dev-lua/luv/luv-1.32.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.32.0.0.ebuild b/dev-lua/luv/luv-1.32.0.0.ebuild
index 7b036e6da7f..b684cb17f6b 100644
--- a/dev-lua/luv/luv-1.32.0.0.ebuild
+++ b/dev-lua/luv/luv-1.32.0.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~x86"
IUSE="luajit test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2019-11-04 3:56 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2019-11-04 3:56 UTC (permalink / raw
To: gentoo-commits
commit: 6cc69169c28f37e7a706d7e875a78636630f8cd0
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 4 03:55:34 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Nov 4 03:55:34 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cc69169
dev-lua/luv: add ~arm64 for 1.32.0
Tested-by: Roy Bamford <neddyseagoon <AT> gentoo.org>
Closes: https://bugs.gentoo.org/695024
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-lua/luv/luv-1.32.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.32.0.0.ebuild b/dev-lua/luv/luv-1.32.0.0.ebuild
index b684cb17f6b..5333e5fd0ac 100644
--- a/dev-lua/luv/luv-1.32.0.0.ebuild
+++ b/dev-lua/luv/luv-1.32.0.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="luajit test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2019-12-29 9:20 Mikle Kolyada
0 siblings, 0 replies; 33+ messages in thread
From: Mikle Kolyada @ 2019-12-29 9:20 UTC (permalink / raw
To: gentoo-commits
commit: 634b17046b7109bac04d10958a3a8a31a88f090b
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 29 09:20:21 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Dec 29 09:20:21 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=634b1704
dev-lua/luv: mark stable
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
dev-lua/luv/luv-1.32.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.32.0.0.ebuild b/dev-lua/luv/luv-1.32.0.0.ebuild
index 5333e5fd0ac..41098ce6bbc 100644
--- a/dev-lua/luv/luv-1.32.0.0.ebuild
+++ b/dev-lua/luv/luv-1.32.0.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="luajit test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2020-10-15 12:05 Marek Szuba
0 siblings, 0 replies; 33+ messages in thread
From: Marek Szuba @ 2020-10-15 12:05 UTC (permalink / raw
To: gentoo-commits
commit: f12b6a56bef830507569b5c1a54baf234b861fa1
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 15 12:01:33 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Oct 15 12:05:11 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f12b6a56
dev-lua/luv: support multiple Lua implementations
Will likely need changes to revdeps.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-lua/luv/luv-1.32.0.0-r101.ebuild | 113 +++++++++++++++++++++++++++++++++++
1 file changed, 113 insertions(+)
diff --git a/dev-lua/luv/luv-1.32.0.0-r101.ebuild b/dev-lua/luv/luv-1.32.0.0-r101.ebuild
new file mode 100644
index 00000000000..57253364377
--- /dev/null
+++ b/dev-lua/luv/luv-1.32.0.0-r101.ebuild
@@ -0,0 +1,113 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..3} luajit )
+
+inherit cmake lua unpacker
+
+# e.g. MY_PV = a.b.c-d
+MY_PV="$(ver_rs 3 -)"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Bare libuv bindings for lua"
+HOMEPAGE="https://github.com/luvit/luv"
+
+LUA_COMPAT_PV="0.7"
+SRC_URI="
+ https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/keplerproject/lua-compat-5.3/archive/v${LUA_COMPAT_PV}.tar.gz -> ${PN}-lua-compat-${LUA_COMPAT_PV}.tar.gz
+"
+
+LICENSE="Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="${LUA_DEPS}
+ >=dev-libs/libuv-1.32.0:="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.32.0.0-cmake_lua_version.patch
+)
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # Fix libdir
+ # Match '/lib/' and '/lib"' without capturing / or ", replacing with libdir
+ sed -i -r "s/\/lib(\"|\/)/\/$(get_libdir)\1/g" CMakeLists.txt || die "Failed to sed CMakeLists.txt"
+ cmake_src_prepare
+}
+
+lua_src_configure() {
+ lua_compat_dir="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_PV}"
+
+ local mycmakeargs=(
+ -DINSTALL_LIB_DIR="$(lua_get_cmod_dir)"
+ -DBUILD_MODULE=OFF
+ -DLUA_BUILD_TYPE=System
+ -DLUA_COMPAT53_DIR="${lua_compat_dir}"
+ -DWITH_SHARED_LIBUV=ON
+ )
+ if [[ ${ELUA} == luajit ]]; then
+ mycmakeargs+=(
+ -DWITH_LUA_ENGINE=LuaJIT
+ )
+ else
+ mycmakeargs+=(
+ -DWITH_LUA_ENGINE=Lua
+ -DLUA_VERSION=$(ver_cut 1-2 $(lua_get_version))
+ )
+ fi
+
+ cmake_src_configure
+}
+
+lua_src_test() {
+ # We need to copy the implementation-specific library back so that the tests see it
+ rm -f ./luv.so
+ ln -s "${BUILD_DIR}/libluv.so" "./luv.so" || die "Failed to symlink library for tests"
+ ${ELUA} "tests/run.lua" || die "Tests failed"
+}
+
+lua_src_install() {
+ cmake_src_install
+ mkdir -p "${ED}"/usr/$(get_libdir)/pkgconfig && \
+ mv "${ED}$(lua_get_cmod_dir)"/pkgconfig/libluv.pc \
+ "${ED}"/usr/$(get_libdir)/pkgconfig/libluv-${ELUA}.pc || \
+ die "Failed make pkgconfig file for ${ELUA} implementation-specific"
+ rmdir "${ED}$(lua_get_cmod_dir)"/pkgconfig || die
+}
+
+src_configure() {
+ lua_foreach_impl lua_src_configure
+}
+
+src_compile() {
+ lua_foreach_impl cmake_src_compile
+}
+
+src_test() {
+ lua_foreach_impl lua_src_test
+}
+
+src_install() {
+ lua_foreach_impl lua_src_install
+}
+
+pkg_postinst() {
+ ewarn "Please note that in order to properly support multiple Lua implementations,"
+ ewarn "this ebuild of ${PN} installs its library files into implementation-specific"
+ ewarn "module directories, as well as multiple .pc files named after implementations"
+ ewarn "(e.g. 'libluv-lua5.3.pc'). Since upstream by default only supports a single"
+ ewarn "Lua implementation at a time and thus only provides a single, unversioned"
+ ewarn ".pc file, projects depending on ${PN} might require changes in order to"
+ ewarn "support the multi-implementation approach."
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2020-11-13 23:08 Marek Szuba
0 siblings, 0 replies; 33+ messages in thread
From: Marek Szuba @ 2020-11-13 23:08 UTC (permalink / raw
To: gentoo-commits
commit: 3d7a21155571a2bf2a36df0ef1aeb527782f5d6a
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 13 23:06:07 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Nov 13 23:08:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d7a2115
dev-lua/luv: remove the lua-single prototype
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-lua/luv/luv-1.32.0.0-r100.ebuild | 79 ------------------------------------
1 file changed, 79 deletions(-)
diff --git a/dev-lua/luv/luv-1.32.0.0-r100.ebuild b/dev-lua/luv/luv-1.32.0.0-r100.ebuild
deleted file mode 100644
index 793fb2104a0..00000000000
--- a/dev-lua/luv/luv-1.32.0.0-r100.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 2019-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..3} luajit )
-
-inherit cmake lua-single unpacker
-
-# e.g. MY_PV = a.b.c-d
-MY_PV="$(ver_rs 3 -)"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Bare libuv bindings for lua"
-HOMEPAGE="https://github.com/luvit/luv"
-
-LUA_COMPAT_PV="0.7"
-SRC_URI="
- https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
- https://github.com/keplerproject/lua-compat-5.3/archive/v${LUA_COMPAT_PV}.tar.gz -> ${PN}-lua-compat-${LUA_COMPAT_PV}.tar.gz
-"
-
-LICENSE="Apache-2.0 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="${LUA_DEPS}
- >=dev-libs/libuv-1.32.0:="
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.32.0.0-cmake_lua_version.patch
-)
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- # Fix libdir
- # Match '/lib/' and '/lib"' without capturing / or ", replacing with libdir
- sed -i -r "s/\/lib(\"|\/)/\/$(get_libdir)\1/g" CMakeLists.txt || die "Failed to sed CMakeLists.txt"
- cmake_src_prepare
-}
-
-# TODO: try to make this multi-impl. Will need at least:
-# - per-implementation install dirs for headers and the library
-# - versioned .pc files (which may or may not break revdeps)
-src_configure() {
- lua_compat_dir="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_PV}"
-
- local mycmakeargs=(
- -DBUILD_MODULE=OFF
- -DLUA_BUILD_TYPE=System
- -DLUA_COMPAT53_DIR="${lua_compat_dir}"
- -DWITH_SHARED_LIBUV=ON
- )
- if [[ ${ELUA} == luajit ]]; then
- mycmakeargs+=(
- -DWITH_LUA_ENGINE=LuaJIT
- )
- else
- mycmakeargs+=(
- -DWITH_LUA_ENGINE=Lua
- -DLUA_VERSION=$(ver_cut 1-2 $(lua_get_version))
- )
- fi
-
- cmake_src_configure
-}
-
-src_test() {
- # We need to copy the library back so that the tests see it
- ln -s "${BUILD_DIR}/libluv.so" "./luv.so" || die "Failed to symlink library for tests"
- ${ELUA} "tests/run.lua" || die "Tests failed"
-}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2020-11-16 13:18 Marek Szuba
0 siblings, 0 replies; 33+ messages in thread
From: Marek Szuba @ 2020-11-16 13:18 UTC (permalink / raw
To: gentoo-commits
commit: 89bcfabb327aaccb162614fc20c753fc6460e95d
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 16 12:46:10 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 13:18:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89bcfabb
dev-lua/luv-1.32.0.0-r101: bump lua-compat-5.3 version to 0.10
With this version, luv builds and tests fine for lua5.4 - as well as all
the previously supported implementations, of course.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-lua/luv/Manifest | 1 +
dev-lua/luv/luv-1.32.0.0-r101.ebuild | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-lua/luv/Manifest b/dev-lua/luv/Manifest
index 291426571d2..0aa57f799cf 100644
--- a/dev-lua/luv/Manifest
+++ b/dev-lua/luv/Manifest
@@ -1,2 +1,3 @@
DIST luv-1.32.0.0.tar.gz 91349 BLAKE2B e4a90b3241e2fe650f62e34439ed75f9ba53168d6bd96b8685fc5600d6f9cbb1bb598a7d40d918ab9123cf4bad99f872a79d0664056d35caba52d1eda9046020 SHA512 7db52afc1ca79052e349be7a37deb67066ee9005f8d7f7d0dae62bd83a93b4140103ee6dddeca2e02a3fc37b3880a5c18904429886af1d441f8de0cfabf5bd8c
+DIST luv-lua-compat-0.10.tar.gz 53695 BLAKE2B e570aedb23b8ed7ca38c4316ffab25b93a0f9f6f0fae79af563ca8a81dd6453ac273e1f9e70674c484a2dec68749e7d53a1c1736a72616c210b8e38a31b3f191 SHA512 f7f39085f4f6b16095f41e635b4c5477b3dab5e42b5b65a9d522941a3807ea521d4a27a77293a3c9d0ecea78a1f6c2a2497394b2d220f4d7d65e23510563d46d
DIST luv-lua-compat-0.7.tar.gz 51383 BLAKE2B ae86f314de971fcd7d8706009d59d684c035fb661ecf392c581a3c317cc1a396321ef7af0418d8f23151c52c66613a0749e8fa9ac889a183c2ffe749091dae35 SHA512 665ece98422a105b818cffd96eea5788696fbb854d2ba41d2d387e8bd25c1fa9de601468e55e22e9e749979a66d4d2e0f7dfd656e5bf27b489d37bb07c96f48d
diff --git a/dev-lua/luv/luv-1.32.0.0-r101.ebuild b/dev-lua/luv/luv-1.32.0.0-r101.ebuild
index 57253364377..ce6b238a718 100644
--- a/dev-lua/luv/luv-1.32.0.0-r101.ebuild
+++ b/dev-lua/luv/luv-1.32.0.0-r101.ebuild
@@ -14,7 +14,7 @@ MY_P="${PN}-${MY_PV}"
DESCRIPTION="Bare libuv bindings for lua"
HOMEPAGE="https://github.com/luvit/luv"
-LUA_COMPAT_PV="0.7"
+LUA_COMPAT_PV="0.10"
SRC_URI="
https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
https://github.com/keplerproject/lua-compat-5.3/archive/v${LUA_COMPAT_PV}.tar.gz -> ${PN}-lua-compat-${LUA_COMPAT_PV}.tar.gz
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2020-11-16 15:01 Marek Szuba
0 siblings, 0 replies; 33+ messages in thread
From: Marek Szuba @ 2020-11-16 15:01 UTC (permalink / raw
To: gentoo-commits
commit: f4089f156d8be47af0895927135a817f22209031
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 16 15:01:07 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 15:01:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4089f15
dev-lua/luv-1.32.0.0-r101: support lua5-4
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-lua/luv/luv-1.32.0.0-r101.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.32.0.0-r101.ebuild b/dev-lua/luv/luv-1.32.0.0-r101.ebuild
index ce6b238a718..f45e0eee282 100644
--- a/dev-lua/luv/luv-1.32.0.0-r101.ebuild
+++ b/dev-lua/luv/luv-1.32.0.0-r101.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-LUA_COMPAT=( lua5-{1..3} luajit )
+LUA_COMPAT=( lua5-{1..4} luajit )
inherit cmake lua unpacker
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2020-12-22 15:08 Marek Szuba
0 siblings, 0 replies; 33+ messages in thread
From: Marek Szuba @ 2020-12-22 15:08 UTC (permalink / raw
To: gentoo-commits
commit: a01ac96b8f18c783c97ab7a25b9c5914f1250077
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 22 14:24:25 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Dec 22 15:08:04 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a01ac96b
dev-lua/luv: go back to single-impl mode
The only revdep currently in the tree, app-editors/neovim, actually links
against luv instead of loading it as a module. Between that and upstream
not actually supporting multi-impl installations, why bother.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
...32.0.0-r101.ebuild => luv-1.32.0.0-r102.ebuild} | 51 +++++-----------------
1 file changed, 10 insertions(+), 41 deletions(-)
diff --git a/dev-lua/luv/luv-1.32.0.0-r101.ebuild b/dev-lua/luv/luv-1.32.0.0-r102.ebuild
similarity index 56%
rename from dev-lua/luv/luv-1.32.0.0-r101.ebuild
rename to dev-lua/luv/luv-1.32.0.0-r102.ebuild
index f45e0eee282..7b4e0feb5b7 100644
--- a/dev-lua/luv/luv-1.32.0.0-r101.ebuild
+++ b/dev-lua/luv/luv-1.32.0.0-r102.ebuild
@@ -5,7 +5,7 @@ EAPI=7
LUA_COMPAT=( lua5-{1..4} luajit )
-inherit cmake lua unpacker
+inherit cmake lua-single unpacker
# e.g. MY_PV = a.b.c-d
MY_PV="$(ver_rs 3 -)"
@@ -46,11 +46,16 @@ src_prepare() {
cmake_src_prepare
}
-lua_src_configure() {
+# This could in theory be multi-impl (and we have an ebuild in git history,
+# 1.32.0.0-r101, which implements it) - the only revdep currently in the tree,
+# app-editors/neovim, actually links against luv instead of trying to load it
+# as a module. We could probably implement some sort of a hack for this
+# - but given how messy it would be, don't bother unless someone actually requests
+# luv multi-impl support.
+src_configure() {
lua_compat_dir="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_PV}"
local mycmakeargs=(
- -DINSTALL_LIB_DIR="$(lua_get_cmod_dir)"
-DBUILD_MODULE=OFF
-DLUA_BUILD_TYPE=System
-DLUA_COMPAT53_DIR="${lua_compat_dir}"
@@ -70,44 +75,8 @@ lua_src_configure() {
cmake_src_configure
}
-lua_src_test() {
- # We need to copy the implementation-specific library back so that the tests see it
- rm -f ./luv.so
+src_test() {
+ # We need to copy the library back so that the tests see it
ln -s "${BUILD_DIR}/libluv.so" "./luv.so" || die "Failed to symlink library for tests"
${ELUA} "tests/run.lua" || die "Tests failed"
}
-
-lua_src_install() {
- cmake_src_install
- mkdir -p "${ED}"/usr/$(get_libdir)/pkgconfig && \
- mv "${ED}$(lua_get_cmod_dir)"/pkgconfig/libluv.pc \
- "${ED}"/usr/$(get_libdir)/pkgconfig/libluv-${ELUA}.pc || \
- die "Failed make pkgconfig file for ${ELUA} implementation-specific"
- rmdir "${ED}$(lua_get_cmod_dir)"/pkgconfig || die
-}
-
-src_configure() {
- lua_foreach_impl lua_src_configure
-}
-
-src_compile() {
- lua_foreach_impl cmake_src_compile
-}
-
-src_test() {
- lua_foreach_impl lua_src_test
-}
-
-src_install() {
- lua_foreach_impl lua_src_install
-}
-
-pkg_postinst() {
- ewarn "Please note that in order to properly support multiple Lua implementations,"
- ewarn "this ebuild of ${PN} installs its library files into implementation-specific"
- ewarn "module directories, as well as multiple .pc files named after implementations"
- ewarn "(e.g. 'libluv-lua5.3.pc'). Since upstream by default only supports a single"
- ewarn "Lua implementation at a time and thus only provides a single, unversioned"
- ewarn ".pc file, projects depending on ${PN} might require changes in order to"
- ewarn "support the multi-implementation approach."
-}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2021-01-25 17:38 Marek Szuba
0 siblings, 0 replies; 33+ messages in thread
From: Marek Szuba @ 2021-01-25 17:38 UTC (permalink / raw
To: gentoo-commits
commit: 515f05e2f4b4220cca2d02ce7d820ec4f066814b
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 25 14:34:15 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Jan 25 17:37:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=515f05e2
dev-lua/luv: remove old
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-lua/luv/Manifest | 1 -
dev-lua/luv/luv-1.32.0.0.ebuild | 61 -----------------------------------------
2 files changed, 62 deletions(-)
diff --git a/dev-lua/luv/Manifest b/dev-lua/luv/Manifest
index 0aa57f799cf..d5445635f8b 100644
--- a/dev-lua/luv/Manifest
+++ b/dev-lua/luv/Manifest
@@ -1,3 +1,2 @@
DIST luv-1.32.0.0.tar.gz 91349 BLAKE2B e4a90b3241e2fe650f62e34439ed75f9ba53168d6bd96b8685fc5600d6f9cbb1bb598a7d40d918ab9123cf4bad99f872a79d0664056d35caba52d1eda9046020 SHA512 7db52afc1ca79052e349be7a37deb67066ee9005f8d7f7d0dae62bd83a93b4140103ee6dddeca2e02a3fc37b3880a5c18904429886af1d441f8de0cfabf5bd8c
DIST luv-lua-compat-0.10.tar.gz 53695 BLAKE2B e570aedb23b8ed7ca38c4316ffab25b93a0f9f6f0fae79af563ca8a81dd6453ac273e1f9e70674c484a2dec68749e7d53a1c1736a72616c210b8e38a31b3f191 SHA512 f7f39085f4f6b16095f41e635b4c5477b3dab5e42b5b65a9d522941a3807ea521d4a27a77293a3c9d0ecea78a1f6c2a2497394b2d220f4d7d65e23510563d46d
-DIST luv-lua-compat-0.7.tar.gz 51383 BLAKE2B ae86f314de971fcd7d8706009d59d684c035fb661ecf392c581a3c317cc1a396321ef7af0418d8f23151c52c66613a0749e8fa9ac889a183c2ffe749091dae35 SHA512 665ece98422a105b818cffd96eea5788696fbb854d2ba41d2d387e8bd25c1fa9de601468e55e22e9e749979a66d4d2e0f7dfd656e5bf27b489d37bb07c96f48d
diff --git a/dev-lua/luv/luv-1.32.0.0.ebuild b/dev-lua/luv/luv-1.32.0.0.ebuild
deleted file mode 100644
index 3d5ee15c180..00000000000
--- a/dev-lua/luv/luv-1.32.0.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake unpacker
-
-# e.g. MY_PV = a.b.c-d
-MY_PV="$(ver_rs 3 -)"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Bare libuv bindings for lua"
-HOMEPAGE="https://github.com/luvit/luv"
-
-LUA_COMPAT_PV="0.7"
-SRC_URI="
- https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
- https://github.com/keplerproject/lua-compat-5.3/archive/v${LUA_COMPAT_PV}.tar.gz -> ${PN}-lua-compat-${LUA_COMPAT_PV}.tar.gz
-"
-
-LICENSE="Apache-2.0 MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-IUSE="luajit test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="
- >=dev-libs/libuv-1.32.0:=
- luajit? ( dev-lang/luajit:2 )
- !luajit? ( dev-lang/lua:0 )
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- # Fix libdir
- # Match '/lib/' and '/lib"' without capturing / or ", replacing with libdir
- sed -i -r "s/\/lib(\"|\/)/\/$(get_libdir)\1/g" CMakeLists.txt || die "Failed to sed CMakeLists.txt"
- cmake_src_prepare
-}
-
-src_configure() {
- lua_compat_dir="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_PV}"
- local mycmakeargs=(
- -DBUILD_MODULE=OFF
- -DLUA_BUILD_TYPE=System
- -DLUA_COMPAT53_DIR="${lua_compat_dir}"
- -DWITH_LUA_ENGINE=$(usex luajit LuaJIT Lua)
- -DWITH_SHARED_LIBUV=ON
- )
- cmake_src_configure
-}
-
-src_test() {
- local elua="$(usex luajit luajit lua)"
- # We need to copy the library back so that the tests see it
- ln -s "${BUILD_DIR}/libluv.so" "./luv.so" || die "Failed to symlink library for tests"
- ${elua} "tests/run.lua" || die "Tests failed"
-}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2021-03-09 16:22 Aaron Bauman
0 siblings, 0 replies; 33+ messages in thread
From: Aaron Bauman @ 2021-03-09 16:22 UTC (permalink / raw
To: gentoo-commits
commit: 1749aae9b0f5dde83dcd49a4c397ac7ba2288e95
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 9 16:21:27 2021 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Tue Mar 9 16:21:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1749aae9
dev-lua/luv: bump to 1.36.0.0; fix build on Darwin; keyword x64-macos
Suggested-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
dev-lua/luv/Manifest | 1 +
dev-lua/luv/luv-1.36.0.0.ebuild | 86 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
diff --git a/dev-lua/luv/Manifest b/dev-lua/luv/Manifest
index d5445635f8b..41bb93c952b 100644
--- a/dev-lua/luv/Manifest
+++ b/dev-lua/luv/Manifest
@@ -1,2 +1,3 @@
DIST luv-1.32.0.0.tar.gz 91349 BLAKE2B e4a90b3241e2fe650f62e34439ed75f9ba53168d6bd96b8685fc5600d6f9cbb1bb598a7d40d918ab9123cf4bad99f872a79d0664056d35caba52d1eda9046020 SHA512 7db52afc1ca79052e349be7a37deb67066ee9005f8d7f7d0dae62bd83a93b4140103ee6dddeca2e02a3fc37b3880a5c18904429886af1d441f8de0cfabf5bd8c
+DIST luv-1.36.0.0.tar.gz 107196 BLAKE2B 31a02c3e928559037355186810187299a3cb1420265a27756b0613781621c78c18edc272072cc29c46336787b040453cc9a06195264c0a72a985e49c48202022 SHA512 3119c1450a8317725d59cc1ab6afccfbde752b0c32b38909dfdd31bf88ea0751920dc68750da52cf17a6430637cf1094f4d5500e4c50d1145eca48bb12728ba1
DIST luv-lua-compat-0.10.tar.gz 53695 BLAKE2B e570aedb23b8ed7ca38c4316ffab25b93a0f9f6f0fae79af563ca8a81dd6453ac273e1f9e70674c484a2dec68749e7d53a1c1736a72616c210b8e38a31b3f191 SHA512 f7f39085f4f6b16095f41e635b4c5477b3dab5e42b5b65a9d522941a3807ea521d4a27a77293a3c9d0ecea78a1f6c2a2497394b2d220f4d7d65e23510563d46d
diff --git a/dev-lua/luv/luv-1.36.0.0.ebuild b/dev-lua/luv/luv-1.36.0.0.ebuild
new file mode 100644
index 00000000000..74f83948638
--- /dev/null
+++ b/dev-lua/luv/luv-1.36.0.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit cmake flag-o-matic lua-single unpacker
+
+# e.g. MY_PV = a.b.c-d
+MY_PV="$(ver_rs 3 -)"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Bare libuv bindings for lua"
+HOMEPAGE="https://github.com/luvit/luv"
+
+LUA_COMPAT_PV="0.10"
+SRC_URI="
+ https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/keplerproject/lua-compat-5.3/archive/v${LUA_COMPAT_PV}.tar.gz -> ${PN}-lua-compat-${LUA_COMPAT_PV}.tar.gz
+"
+
+LICENSE="Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 x86 ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="${LUA_DEPS}
+ >=dev-libs/libuv-1.32.0:="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.32.0.0-cmake_lua_version.patch
+)
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # Fix libdir
+ # Match '/lib/' and '/lib"' without capturing / or ", replacing with libdir
+ sed -i -r "s/\/lib(\"|\/)/\/$(get_libdir)\1/g" CMakeLists.txt || die "Failed to sed CMakeLists.txt"
+ cmake_src_prepare
+}
+
+# This could in theory be multi-impl (and we have an ebuild in git history,
+# 1.32.0.0-r101, which implements it) - the only revdep currently in the tree,
+# app-editors/neovim, actually links against luv instead of trying to load it
+# as a module. We could probably implement some sort of a hack for this
+# - but given how messy it would be, don't bother unless someone actually requests
+# luv multi-impl support.
+src_configure() {
+ lua_compat_dir="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_PV}"
+
+ local mycmakeargs=(
+ -DBUILD_MODULE=OFF
+ -DLUA_BUILD_TYPE=System
+ -DLUA_COMPAT53_DIR="${lua_compat_dir}"
+ -DWITH_SHARED_LIBUV=ON
+ )
+ if [[ ${ELUA} == luajit ]]; then
+ mycmakeargs+=(
+ -DWITH_LUA_ENGINE=LuaJIT
+ )
+ else
+ mycmakeargs+=(
+ -DWITH_LUA_ENGINE=Lua
+ -DLUA_VERSION=$(ver_cut 1-2 $(lua_get_version))
+ )
+ fi
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ append-ldflags "-undefined dynamic_lookup"
+ fi
+
+ cmake_src_configure
+}
+
+src_test() {
+ # We need to copy the library back so that the tests see it
+ ln -s "${BUILD_DIR}/libluv.so" "./luv.so" || die "Failed to symlink library for tests"
+ ${ELUA} "tests/run.lua" || die "Tests failed"
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2021-03-16 17:37 Conrad Kostecki
0 siblings, 0 replies; 33+ messages in thread
From: Conrad Kostecki @ 2021-03-16 17:37 UTC (permalink / raw
To: gentoo-commits
commit: 0fcd949585f8db374d625da087f971fa1f8bffe7
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 16 17:26:58 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Mar 16 17:28:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fcd9495
dev-lua/luv: drop old version
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/luv/Manifest | 1 -
dev-lua/luv/luv-1.32.0.0-r102.ebuild | 82 ------------------------------------
2 files changed, 83 deletions(-)
diff --git a/dev-lua/luv/Manifest b/dev-lua/luv/Manifest
index 41bb93c952b..338dcf0a606 100644
--- a/dev-lua/luv/Manifest
+++ b/dev-lua/luv/Manifest
@@ -1,3 +1,2 @@
-DIST luv-1.32.0.0.tar.gz 91349 BLAKE2B e4a90b3241e2fe650f62e34439ed75f9ba53168d6bd96b8685fc5600d6f9cbb1bb598a7d40d918ab9123cf4bad99f872a79d0664056d35caba52d1eda9046020 SHA512 7db52afc1ca79052e349be7a37deb67066ee9005f8d7f7d0dae62bd83a93b4140103ee6dddeca2e02a3fc37b3880a5c18904429886af1d441f8de0cfabf5bd8c
DIST luv-1.36.0.0.tar.gz 107196 BLAKE2B 31a02c3e928559037355186810187299a3cb1420265a27756b0613781621c78c18edc272072cc29c46336787b040453cc9a06195264c0a72a985e49c48202022 SHA512 3119c1450a8317725d59cc1ab6afccfbde752b0c32b38909dfdd31bf88ea0751920dc68750da52cf17a6430637cf1094f4d5500e4c50d1145eca48bb12728ba1
DIST luv-lua-compat-0.10.tar.gz 53695 BLAKE2B e570aedb23b8ed7ca38c4316ffab25b93a0f9f6f0fae79af563ca8a81dd6453ac273e1f9e70674c484a2dec68749e7d53a1c1736a72616c210b8e38a31b3f191 SHA512 f7f39085f4f6b16095f41e635b4c5477b3dab5e42b5b65a9d522941a3807ea521d4a27a77293a3c9d0ecea78a1f6c2a2497394b2d220f4d7d65e23510563d46d
diff --git a/dev-lua/luv/luv-1.32.0.0-r102.ebuild b/dev-lua/luv/luv-1.32.0.0-r102.ebuild
deleted file mode 100644
index ee469f396b9..00000000000
--- a/dev-lua/luv/luv-1.32.0.0-r102.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit cmake lua-single unpacker
-
-# e.g. MY_PV = a.b.c-d
-MY_PV="$(ver_rs 3 -)"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Bare libuv bindings for lua"
-HOMEPAGE="https://github.com/luvit/luv"
-
-LUA_COMPAT_PV="0.10"
-SRC_URI="
- https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
- https://github.com/keplerproject/lua-compat-5.3/archive/v${LUA_COMPAT_PV}.tar.gz -> ${PN}-lua-compat-${LUA_COMPAT_PV}.tar.gz
-"
-
-LICENSE="Apache-2.0 MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="${LUA_DEPS}
- >=dev-libs/libuv-1.32.0:="
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.32.0.0-cmake_lua_version.patch
-)
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- # Fix libdir
- # Match '/lib/' and '/lib"' without capturing / or ", replacing with libdir
- sed -i -r "s/\/lib(\"|\/)/\/$(get_libdir)\1/g" CMakeLists.txt || die "Failed to sed CMakeLists.txt"
- cmake_src_prepare
-}
-
-# This could in theory be multi-impl (and we have an ebuild in git history,
-# 1.32.0.0-r101, which implements it) - the only revdep currently in the tree,
-# app-editors/neovim, actually links against luv instead of trying to load it
-# as a module. We could probably implement some sort of a hack for this
-# - but given how messy it would be, don't bother unless someone actually requests
-# luv multi-impl support.
-src_configure() {
- lua_compat_dir="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_PV}"
-
- local mycmakeargs=(
- -DBUILD_MODULE=OFF
- -DLUA_BUILD_TYPE=System
- -DLUA_COMPAT53_DIR="${lua_compat_dir}"
- -DWITH_SHARED_LIBUV=ON
- )
- if [[ ${ELUA} == luajit ]]; then
- mycmakeargs+=(
- -DWITH_LUA_ENGINE=LuaJIT
- )
- else
- mycmakeargs+=(
- -DWITH_LUA_ENGINE=Lua
- -DLUA_VERSION=$(ver_cut 1-2 $(lua_get_version))
- )
- fi
-
- cmake_src_configure
-}
-
-src_test() {
- # We need to copy the library back so that the tests see it
- ln -s "${BUILD_DIR}/libluv.so" "./luv.so" || die "Failed to symlink library for tests"
- ${ELUA} "tests/run.lua" || die "Tests failed"
-}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2021-03-16 17:37 Conrad Kostecki
0 siblings, 0 replies; 33+ messages in thread
From: Conrad Kostecki @ 2021-03-16 17:37 UTC (permalink / raw
To: gentoo-commits
commit: f476343466c7d03f3aa49e3c2078e5fca9006e49
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 16 17:23:56 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Mar 16 17:28:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4763434
dev-lua/luv: update metadata.xml
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/luv/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/metadata.xml b/dev-lua/luv/metadata.xml
index d48a9a305da..63b1acc6856 100644
--- a/dev-lua/luv/metadata.xml
+++ b/dev-lua/luv/metadata.xml
@@ -3,7 +3,7 @@
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription lang="en">
- libuv bindings for luajit and lua 5.1/ 5.2/ 5.3.
+ libuv bindings for luajit and lua 5.1/ 5.2/ 5.3/ 5.4.
This library makes libuv available to lua scripts. It was made for the
luvit project but should usable from nearly any lua project.
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2021-10-11 13:47 Yixun Lan
0 siblings, 0 replies; 33+ messages in thread
From: Yixun Lan @ 2021-10-11 13:47 UTC (permalink / raw
To: gentoo-commits
commit: 4f54eaef4bbc986e2d3e083e8445f501ba6a8f9c
Author: Yongxiang Liang <tanekliang <AT> gmail <DOT> com>
AuthorDate: Sun Oct 10 15:11:03 2021 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Mon Oct 11 13:46:15 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f54eaef
dev-lua/luv: keyword ~riscv
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Yongxiang Liang <tanekliang <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
dev-lua/luv/luv-1.36.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.36.0.0.ebuild b/dev-lua/luv/luv-1.36.0.0.ebuild
index 74f83948638..676af8b3f60 100644
--- a/dev-lua/luv/luv-1.36.0.0.ebuild
+++ b/dev-lua/luv/luv-1.36.0.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86 ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2022-03-31 18:45 Jakov Smolić
0 siblings, 0 replies; 33+ messages in thread
From: Jakov Smolić @ 2022-03-31 18:45 UTC (permalink / raw
To: gentoo-commits
commit: 8614e9920509c0f8377144426109dc5f8fad246d
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 18:44:34 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Mar 31 18:44:34 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8614e992
dev-lua/luv: Stabilize 1.43.0.0 amd64, #834128
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-lua/luv/luv-1.43.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.43.0.0.ebuild b/dev-lua/luv/luv-1.43.0.0.ebuild
index 9c3fb9018539..1e4e53ced722 100644
--- a/dev-lua/luv/luv-1.43.0.0.ebuild
+++ b/dev-lua/luv/luv-1.43.0.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2022-03-31 18:45 Jakov Smolić
0 siblings, 0 replies; 33+ messages in thread
From: Jakov Smolić @ 2022-03-31 18:45 UTC (permalink / raw
To: gentoo-commits
commit: 4ca2f3d9f3f072f8743c032ad0c8430debc41a51
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 18:44:49 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Mar 31 18:44:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ca2f3d9
dev-lua/luv: Stabilize 1.43.0.0 x86, #834128
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-lua/luv/luv-1.43.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.43.0.0.ebuild b/dev-lua/luv/luv-1.43.0.0.ebuild
index 1e4e53ced722..c54805a8ba66 100644
--- a/dev-lua/luv/luv-1.43.0.0.ebuild
+++ b/dev-lua/luv/luv-1.43.0.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2022-07-15 7:40 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2022-07-15 7:40 UTC (permalink / raw
To: gentoo-commits
commit: 05d64c565175605004a5e04e53810869acf0820f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 15 07:40:03 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 07:40:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d64c56
dev-lua/luv: Stabilize 1.43.0.0 arm64, #857978
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lua/luv/luv-1.43.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.43.0.0.ebuild b/dev-lua/luv/luv-1.43.0.0.ebuild
index c54805a8ba66..ecf9d1005400 100644
--- a/dev-lua/luv/luv-1.43.0.0.ebuild
+++ b/dev-lua/luv/luv-1.43.0.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2022-10-01 1:29 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2022-10-01 1:29 UTC (permalink / raw
To: gentoo-commits
commit: 5585578e9959d72df22cd6572d6434a6dae1bcc1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 1 01:29:14 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 1 01:29:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5585578e
dev-lua/luv: add 1.44.2.0
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lua/luv/Manifest | 1 +
dev-lua/luv/luv-1.44.2.0.ebuild | 86 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
diff --git a/dev-lua/luv/Manifest b/dev-lua/luv/Manifest
index 51e54f591dde..9ce5a28f6deb 100644
--- a/dev-lua/luv/Manifest
+++ b/dev-lua/luv/Manifest
@@ -1,3 +1,4 @@
DIST luv-1.36.0.0.tar.gz 107196 BLAKE2B 31a02c3e928559037355186810187299a3cb1420265a27756b0613781621c78c18edc272072cc29c46336787b040453cc9a06195264c0a72a985e49c48202022 SHA512 3119c1450a8317725d59cc1ab6afccfbde752b0c32b38909dfdd31bf88ea0751920dc68750da52cf17a6430637cf1094f4d5500e4c50d1145eca48bb12728ba1
DIST luv-1.43.0.0.tar.gz 122337 BLAKE2B 435334d869487de38215ce9b551f586d4017c7f83497bc90637fc8acb8e63d1c36f6678a3f2c4d5b24b76fd904b2fa8c364a31bc1bd544416f60f2b8290903d3 SHA512 f51d9b3c733dd5617fca49534fdd77dbb6a3d6f58263f453db8dcde21679f4a471e15d6f5b05bcb22a2552455df8beb238d33b0999306bf2a5ad6755da4044ff
+DIST luv-1.44.2.0.tar.gz 124180 BLAKE2B 0a46ffccd67bf04fb60c7aa3685fef328da1323437640a04b36748680aaf4074300097c53206915d8a1133defc61a359cd88062f1661899dfa8c394c183f0d0d SHA512 0744590de941ec67e23e04811ed28de5e5ed8b6dd0d45e52e8e0efe0551d007f28cdada8e0d69e0d59bd37d4026102271a8ef977b12cfac1e84f6c8b57e6adce
DIST luv-lua-compat-0.10.tar.gz 53695 BLAKE2B e570aedb23b8ed7ca38c4316ffab25b93a0f9f6f0fae79af563ca8a81dd6453ac273e1f9e70674c484a2dec68749e7d53a1c1736a72616c210b8e38a31b3f191 SHA512 f7f39085f4f6b16095f41e635b4c5477b3dab5e42b5b65a9d522941a3807ea521d4a27a77293a3c9d0ecea78a1f6c2a2497394b2d220f4d7d65e23510563d46d
diff --git a/dev-lua/luv/luv-1.44.2.0.ebuild b/dev-lua/luv/luv-1.44.2.0.ebuild
new file mode 100644
index 000000000000..44e933cb5b2b
--- /dev/null
+++ b/dev-lua/luv/luv-1.44.2.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit cmake flag-o-matic lua-single unpacker
+
+# e.g. MY_PV = a.b.c-d
+MY_PV="$(ver_rs 3 -)"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Bare libuv bindings for lua"
+HOMEPAGE="https://github.com/luvit/luv"
+
+LUA_COMPAT_PV="0.10"
+SRC_URI="
+ https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/keplerproject/lua-compat-5.3/archive/v${LUA_COMPAT_PV}.tar.gz -> ${PN}-lua-compat-${LUA_COMPAT_PV}.tar.gz
+"
+
+LICENSE="Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="${LUA_DEPS}
+ >=dev-libs/libuv-$(ver_cut 1-2):="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.43.0.0-cmake_lua_version.patch
+)
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # Fix libdir
+ # Match '/lib/' and '/lib"' without capturing / or ", replacing with libdir
+ sed -i -r "s/\/lib(\"|\/)/\/$(get_libdir)\1/g" CMakeLists.txt || die "Failed to sed CMakeLists.txt"
+ cmake_src_prepare
+}
+
+# This could in theory be multi-impl (and we have an ebuild in git history,
+# 1.32.0.0-r101, which implements it) - the only revdep currently in the tree,
+# app-editors/neovim, actually links against luv instead of trying to load it
+# as a module. We could probably implement some sort of a hack for this
+# - but given how messy it would be, don't bother unless someone actually requests
+# luv multi-impl support.
+src_configure() {
+ lua_compat_dir="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_PV}"
+
+ local mycmakeargs=(
+ -DBUILD_MODULE=OFF
+ -DLUA_BUILD_TYPE=System
+ -DLUA_COMPAT53_DIR="${lua_compat_dir}"
+ -DWITH_SHARED_LIBUV=ON
+ )
+ if [[ ${ELUA} == luajit ]]; then
+ mycmakeargs+=(
+ -DWITH_LUA_ENGINE=LuaJIT
+ )
+ else
+ mycmakeargs+=(
+ -DWITH_LUA_ENGINE=Lua
+ -DLUA_VERSION=$(ver_cut 1-2 $(lua_get_version))
+ )
+ fi
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ append-ldflags "-undefined dynamic_lookup"
+ fi
+
+ cmake_src_configure
+}
+
+src_test() {
+ # We need to copy the library back so that the tests see it
+ ln -s "${BUILD_DIR}/libluv.so" "./luv.so" || die "Failed to symlink library for tests"
+ ${ELUA} "tests/run.lua" || die "Tests failed"
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2022-11-07 17:27 Arthur Zamarin
0 siblings, 0 replies; 33+ messages in thread
From: Arthur Zamarin @ 2022-11-07 17:27 UTC (permalink / raw
To: gentoo-commits
commit: 23d13f1d0c31d48985a86b48fdd47cb4078b14d3
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 7 17:26:33 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 7 17:26:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d13f1d
dev-lua/luv: Stabilize 1.44.2.0 arm64, #879961
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-lua/luv/luv-1.44.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.44.2.0.ebuild b/dev-lua/luv/luv-1.44.2.0.ebuild
index 44e933cb5b2b..342ec1bd595e 100644
--- a/dev-lua/luv/luv-1.44.2.0.ebuild
+++ b/dev-lua/luv/luv-1.44.2.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos"
+KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2022-11-08 4:54 Jakov Smolić
0 siblings, 0 replies; 33+ messages in thread
From: Jakov Smolić @ 2022-11-08 4:54 UTC (permalink / raw
To: gentoo-commits
commit: 550c85d47ce40b88c60fd4b757dc5320b92bca0a
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 8 04:54:16 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Nov 8 04:54:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=550c85d4
dev-lua/luv: Stabilize 1.44.2.0 amd64, #879961
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-lua/luv/luv-1.44.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.44.2.0.ebuild b/dev-lua/luv/luv-1.44.2.0.ebuild
index 342ec1bd595e..e06521727af7 100644
--- a/dev-lua/luv/luv-1.44.2.0.ebuild
+++ b/dev-lua/luv/luv-1.44.2.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~riscv ~x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2022-12-02 12:01 Arthur Zamarin
0 siblings, 0 replies; 33+ messages in thread
From: Arthur Zamarin @ 2022-12-02 12:01 UTC (permalink / raw
To: gentoo-commits
commit: 17eece4d399535a46be4082962430ee4a4bd4374
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 2 12:00:51 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 2 12:00:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17eece4d
dev-lua/luv: Stabilize 1.44.2.0 x86, #879961
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-lua/luv/luv-1.44.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.44.2.0.ebuild b/dev-lua/luv/luv-1.44.2.0.ebuild
index e06521727af7..fea9d7538325 100644
--- a/dev-lua/luv/luv-1.44.2.0.ebuild
+++ b/dev-lua/luv/luv-1.44.2.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~riscv ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2023-04-08 13:42 Luca Barbato
0 siblings, 0 replies; 33+ messages in thread
From: Luca Barbato @ 2023-04-08 13:42 UTC (permalink / raw
To: gentoo-commits
commit: 1afca29df08c03a296935b30b9c0b4607dbbe631
Author: Luca Barbato <lu_zero <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 8 13:34:25 2023 +0000
Commit: Luca Barbato <lu_zero <AT> gentoo <DOT> org>
CommitDate: Sat Apr 8 13:41:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1afca29d
dev-lua/luv: keyword 1.44.2.0 for ~ppc64
Signed-off-by: Luca Barbato <lu_zero <AT> gentoo.org>
dev-lua/luv/luv-1.44.2.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-lua/luv/luv-1.44.2.0.ebuild b/dev-lua/luv/luv-1.44.2.0.ebuild
index fea9d7538325..307ba522d9fb 100644
--- a/dev-lua/luv/luv-1.44.2.0.ebuild
+++ b/dev-lua/luv/luv-1.44.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2022 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2023-09-11 0:54 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2023-09-11 0:54 UTC (permalink / raw
To: gentoo-commits
commit: 7bf83654350af110e595e6a392981dcedfc7a216
Author: Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Sun Sep 10 12:55:45 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 11 00:53:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bf83654
dev-lua/luv: add 1.45.0.0
Needed for new neovim.
Bug: https://bugs.gentoo.org/913912
Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32709
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lua/luv/Manifest | 1 +
dev-lua/luv/luv-1.45.0.0.ebuild | 86 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
diff --git a/dev-lua/luv/Manifest b/dev-lua/luv/Manifest
index 1c197e845855..05e4070c4e16 100644
--- a/dev-lua/luv/Manifest
+++ b/dev-lua/luv/Manifest
@@ -1,2 +1,3 @@
DIST luv-1.44.2.0.tar.gz 124180 BLAKE2B 0a46ffccd67bf04fb60c7aa3685fef328da1323437640a04b36748680aaf4074300097c53206915d8a1133defc61a359cd88062f1661899dfa8c394c183f0d0d SHA512 0744590de941ec67e23e04811ed28de5e5ed8b6dd0d45e52e8e0efe0551d007f28cdada8e0d69e0d59bd37d4026102271a8ef977b12cfac1e84f6c8b57e6adce
+DIST luv-1.45.0.0.tar.gz 130334 BLAKE2B f22f6705204db567de7943707b499897fbd51cf33c6bc571612e0682f3b6022d6dd56606df0ff850e72bde398f00c4db00c026f1b8de5182458b39095716cbd7 SHA512 50460573377bc9386a90aa75f7d4938571b04f74ca6f63e32fa2b2f8951e799465abb78b4270f22be511c4d328ce582c38ec3e3da1061310fcfee630b647854d
DIST luv-lua-compat-0.10.tar.gz 53695 BLAKE2B e570aedb23b8ed7ca38c4316ffab25b93a0f9f6f0fae79af563ca8a81dd6453ac273e1f9e70674c484a2dec68749e7d53a1c1736a72616c210b8e38a31b3f191 SHA512 f7f39085f4f6b16095f41e635b4c5477b3dab5e42b5b65a9d522941a3807ea521d4a27a77293a3c9d0ecea78a1f6c2a2497394b2d220f4d7d65e23510563d46d
diff --git a/dev-lua/luv/luv-1.45.0.0.ebuild b/dev-lua/luv/luv-1.45.0.0.ebuild
new file mode 100644
index 000000000000..8d24ac375d6d
--- /dev/null
+++ b/dev-lua/luv/luv-1.45.0.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 2019-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit cmake flag-o-matic lua-single unpacker
+
+# e.g. MY_PV = a.b.c-d
+MY_PV="$(ver_rs 3 -)"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Bare libuv bindings for lua"
+HOMEPAGE="https://github.com/luvit/luv"
+
+LUA_COMPAT_PV="0.10"
+SRC_URI="
+ https://github.com/luvit/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/keplerproject/lua-compat-5.3/archive/v${LUA_COMPAT_PV}.tar.gz -> ${PN}-lua-compat-${LUA_COMPAT_PV}.tar.gz
+"
+
+LICENSE="Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="${LUA_DEPS}
+ >=dev-libs/libuv-$(ver_cut 1-2):="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.43.0.0-cmake_lua_version.patch
+)
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # Fix libdir
+ # Match '/lib/' and '/lib"' without capturing / or ", replacing with libdir
+ sed -i -r "s/\/lib(\"|\/)/\/$(get_libdir)\1/g" CMakeLists.txt || die "Failed to sed CMakeLists.txt"
+ cmake_src_prepare
+}
+
+# This could in theory be multi-impl (and we have an ebuild in git history,
+# 1.32.0.0-r101, which implements it) - the only revdep currently in the tree,
+# app-editors/neovim, actually links against luv instead of trying to load it
+# as a module. We could probably implement some sort of a hack for this
+# - but given how messy it would be, don't bother unless someone actually requests
+# luv multi-impl support.
+src_configure() {
+ lua_compat_dir="${WORKDIR}/lua-compat-5.3-${LUA_COMPAT_PV}"
+
+ local mycmakeargs=(
+ -DBUILD_MODULE=OFF
+ -DLUA_BUILD_TYPE=System
+ -DLUA_COMPAT53_DIR="${lua_compat_dir}"
+ -DWITH_SHARED_LIBUV=ON
+ )
+ if [[ ${ELUA} == luajit ]]; then
+ mycmakeargs+=(
+ -DWITH_LUA_ENGINE=LuaJIT
+ )
+ else
+ mycmakeargs+=(
+ -DWITH_LUA_ENGINE=Lua
+ -DLUA_VERSION=$(ver_cut 1-2 $(lua_get_version))
+ )
+ fi
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ append-ldflags "-undefined dynamic_lookup"
+ fi
+
+ cmake_src_configure
+}
+
+src_test() {
+ # We need to copy the library back so that the tests see it
+ ln -s "${BUILD_DIR}/libluv.so" "./luv.so" || die "Failed to symlink library for tests"
+ ${ELUA} "tests/run.lua" || die "Tests failed"
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2023-10-19 6:16 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2023-10-19 6:16 UTC (permalink / raw
To: gentoo-commits
commit: bf08679cc88f5f26a541b421f77c9ca1e9a2e9f1
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 19 06:15:26 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 06:15:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf08679c
dev-lua/luv: Stabilize 1.45.0.0 amd64, #915796
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-lua/luv/luv-1.45.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.45.0.0.ebuild b/dev-lua/luv/luv-1.45.0.0.ebuild
index 8d24ac375d6d..c71ec2137edc 100644
--- a/dev-lua/luv/luv-1.45.0.0.ebuild
+++ b/dev-lua/luv/luv-1.45.0.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2023-10-19 6:16 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2023-10-19 6:16 UTC (permalink / raw
To: gentoo-commits
commit: dcd9096dd807b6aa6e2b43a70c863a8340b299e9
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 19 06:15:57 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 06:15:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcd9096d
dev-lua/luv: Stabilize 1.45.0.0 x86, #915796
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-lua/luv/luv-1.45.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.45.0.0.ebuild b/dev-lua/luv/luv-1.45.0.0.ebuild
index c71ec2137edc..6ac56eb16406 100644
--- a/dev-lua/luv/luv-1.45.0.0.ebuild
+++ b/dev-lua/luv/luv-1.45.0.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2023-10-19 12:17 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2023-10-19 12:17 UTC (permalink / raw
To: gentoo-commits
commit: 3c6cf6afccd8ec7a2b3b236029263db070bd36e5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 19 12:16:33 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 12:16:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c6cf6af
dev-lua/luv: Stabilize 1.45.0.0 arm64, #915796
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lua/luv/luv-1.45.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.45.0.0.ebuild b/dev-lua/luv/luv-1.45.0.0.ebuild
index 6ac56eb16406..307ba522d9fb 100644
--- a/dev-lua/luv/luv-1.45.0.0.ebuild
+++ b/dev-lua/luv/luv-1.45.0.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/
@ 2023-12-01 20:57 Arthur Zamarin
0 siblings, 0 replies; 33+ messages in thread
From: Arthur Zamarin @ 2023-12-01 20:57 UTC (permalink / raw
To: gentoo-commits
commit: 95e4bacabc98f4e9f59dbabd666db6f620a08ad6
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 1 20:56:53 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 1 20:56:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95e4baca
dev-lua/luv: Keyword 1.45.0.0 ppc, #916309
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-lua/luv/luv-1.45.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luv/luv-1.45.0.0.ebuild b/dev-lua/luv/luv-1.45.0.0.ebuild
index 307ba522d9fb..cc0ce4cbc780 100644
--- a/dev-lua/luv/luv-1.45.0.0.ebuild
+++ b/dev-lua/luv/luv-1.45.0.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="Apache-2.0 MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
end of thread, other threads:[~2023-12-01 20:57 UTC | newest]
Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-31 18:45 [gentoo-commits] repo/gentoo:master commit in: dev-lua/luv/ Jakov Smolić
-- strict thread matches above, loose matches on Subject: below --
2023-12-01 20:57 Arthur Zamarin
2023-10-19 12:17 Sam James
2023-10-19 6:16 Joonas Niilola
2023-10-19 6:16 Joonas Niilola
2023-09-11 0:54 Sam James
2023-04-08 13:42 Luca Barbato
2022-12-02 12:01 Arthur Zamarin
2022-11-08 4:54 Jakov Smolić
2022-11-07 17:27 Arthur Zamarin
2022-10-01 1:29 Sam James
2022-07-15 7:40 Sam James
2022-03-31 18:45 Jakov Smolić
2021-10-11 13:47 Yixun Lan
2021-03-16 17:37 Conrad Kostecki
2021-03-16 17:37 Conrad Kostecki
2021-03-09 16:22 Aaron Bauman
2021-01-25 17:38 Marek Szuba
2020-12-22 15:08 Marek Szuba
2020-11-16 15:01 Marek Szuba
2020-11-16 13:18 Marek Szuba
2020-11-13 23:08 Marek Szuba
2020-10-15 12:05 Marek Szuba
2019-12-29 9:20 Mikle Kolyada
2019-11-04 3:56 Joonas Niilola
2019-11-03 14:01 Mikle Kolyada
2019-10-31 15:45 Joonas Niilola
2019-10-31 15:45 Joonas Niilola
2019-09-19 12:46 Joonas Niilola
2019-09-19 12:46 Joonas Niilola
2019-09-17 19:31 Michał Górny
2019-09-07 19:42 Joonas Niilola
2019-09-05 18:45 Joonas Niilola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox