public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2022-05-21 22:49 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2022-05-21 22:49 UTC (permalink / raw
  To: gentoo-commits

commit:     5a6e05b720f2776d1b12cb8ceacb6cb2c9f789b6
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat May 21 22:49:08 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat May 21 22:49:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a6e05b7

dev-lua/readline: drop 3.0-r1

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/Manifest               |  1 -
 dev-lua/readline/readline-3.0-r1.ebuild | 94 ---------------------------------
 2 files changed, 95 deletions(-)

diff --git a/dev-lua/readline/Manifest b/dev-lua/readline/Manifest
index 8e0008d1da86..6db4e2e620fc 100644
--- a/dev-lua/readline/Manifest
+++ b/dev-lua/readline/Manifest
@@ -1,2 +1 @@
-DIST lua-readline-3.0.tar.gz 15675 BLAKE2B 877b50cdf05610eb54fcec6063368206d68b0571e70c28abd6bdf20e0533ae76809a18f3b7cbefc79185544966e2838c8ea95b30bc5821c31547026ee621d1f0 SHA512 7fc9b1b2b03909cd8ebccc539fa8c37a823c70728671dc09c7cec0641625a59ed3c8b7045635e53719d32046437e638193cb1055a94a3d635fb50efb199d213a
 DIST lua-readline-3.1.tar.gz 16114 BLAKE2B 372bc61573b20c8ebf66bb684624dde9d5ce7868543294450ef3d47bba5a042c5d7f4262366f2de2db8d3d92bbf7fb4895d29577af34307d7b145e6f913ec957 SHA512 d3bee61b6c876e96d2c1097e29862a3f16d1e666b1087e58899f59a3115f9af31793492edfcc3f3802565f98f276960d382a89c0b6cfb1d54acfd37ad006b74b

diff --git a/dev-lua/readline/readline-3.0-r1.ebuild b/dev-lua/readline/readline-3.0-r1.ebuild
deleted file mode 100644
index 7d1172e9d37d..000000000000
--- a/dev-lua/readline/readline-3.0-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit lua toolchain-funcs
-
-DESCRIPTION="A simple interface to the readline and history libraries"
-HOMEPAGE="https://pjb.com.au/comp/lua/readline.html"
-SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-# Tests are interactive
-RESTRICT="test"
-
-RDEPEND="
-	dev-lua/luaposix
-	sys-libs/readline:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-	default
-
-	lua_copy_sources
-}
-
-lua_src_compile() {
-	pushd "${BUILD_DIR}" || die
-
-	local compiler=(
-		"$(tc-getCC)"
-		"${CFLAGS}"
-		"-fPIC"
-		"$(lua_get_CFLAGS)"
-		"-c C-readline.c"
-		"-o C-readline.o"
-	)
-	einfo "${compiler[@]}"
-	${compiler[@]} || die
-
-	local linker=(
-		"$(tc-getCC)"
-		"-shared"
-		"${LDFLAGS}"
-		"$($(tc-getPKG_CONFIG) --libs readline)"
-		"-o C-readline.so"
-		"C-readline.o"
-	)
-	einfo "${linker[@]}"
-	${linker[@]} || die
-
-	popd
-}
-
-src_compile() {
-	lua_foreach_impl lua_src_compile
-}
-
-lua_src_test() {
-	pushd "${BUILD_DIR}" || die
-	LUA_CPATH="./?.so;${ESYSROOT}/usr/$(get_libdir)/lua/$(ver_cut 1-2 $(lua_get_version))/?.so" ${ELUA} test/test_rl.lua || die
-	popd || die
-}
-
-src_test() {
-	lua_foreach_impl lua_src_test
-}
-
-lua_src_install() {
-	pushd "${BUILD_DIR}" || die
-
-	insinto "$(lua_get_cmod_dir)"
-	doins C-readline.so
-
-	insinto "$(lua_get_lmod_dir)"
-	doins readline.lua
-
-	popd || die
-}
-
-src_install() {
-	lua_foreach_impl lua_src_install
-
-	docinto html
-	dodoc doc/readline.html
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2023-08-05 22:41 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2023-08-05 22:41 UTC (permalink / raw
  To: gentoo-commits

commit:     6bf63b0697d5e46300ffdb3a883b4e2917713c0d
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  5 22:26:30 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Aug  5 22:39:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bf63b06

dev-lua/readline: fix QA ExcessiveLineLength

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/readline-3.3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-lua/readline/readline-3.3.ebuild b/dev-lua/readline/readline-3.3.ebuild
index 5fa657bd7cfd..5c1ce424ed88 100644
--- a/dev-lua/readline/readline-3.3.ebuild
+++ b/dev-lua/readline/readline-3.3.ebuild
@@ -66,7 +66,8 @@ src_compile() {
 
 lua_src_test() {
 	pushd "${BUILD_DIR}" || die
-	LUA_CPATH="./?.so;${ESYSROOT}/usr/$(get_libdir)/lua/$(ver_cut 1-2 $(lua_get_version))/?.so" ${ELUA} test/test_rl.lua || die
+	LUA_CPATH="./?.so;${ESYSROOT}/usr/$(get_libdir)/lua/$(ver_cut 1-2 $(lua_get_version))/?.so" \
+		${ELUA} test/test_rl.lua || die
 	popd || die
 }
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2023-05-18 17:37 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2023-05-18 17:37 UTC (permalink / raw
  To: gentoo-commits

commit:     c5ad353ef929464387cc78873119f8be03403046
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu May 18 17:34:53 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu May 18 17:34:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5ad353e

dev-lua/readline: x86 stable

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/readline-3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/readline/readline-3.3.ebuild b/dev-lua/readline/readline-3.3.ebuild
index 487ea149af3d..5fa657bd7cfd 100644
--- a/dev-lua/readline/readline-3.3.ebuild
+++ b/dev-lua/readline/readline-3.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 
 # Tests are interactive


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2023-05-18 17:37 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2023-05-18 17:37 UTC (permalink / raw
  To: gentoo-commits

commit:     02eafe337f7abc693c421b027975ed96b2cd860f
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu May 18 17:35:21 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu May 18 17:35:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02eafe33

dev-lua/readline: drop 3.2

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/Manifest            |  1 -
 dev-lua/readline/readline-3.2.ebuild | 94 ------------------------------------
 2 files changed, 95 deletions(-)

diff --git a/dev-lua/readline/Manifest b/dev-lua/readline/Manifest
index 291d12ac1d95..c16a8b8abc6a 100644
--- a/dev-lua/readline/Manifest
+++ b/dev-lua/readline/Manifest
@@ -1,2 +1 @@
-DIST lua-readline-3.2.tar.gz 16215 BLAKE2B 889db8cfefc37008fac9f92b6ef071147763d00f01ca42b31646594e812ab936187e65e8959e723be409d21c3e3cc2d93fe52eafac79e37b7d0cec2216d8accf SHA512 d605b99f2fa06920e67125b462f257f8cd263912b6ffba173bee77425c77f6b08b463ec4c0851c81dfc23e736698c9fbbb40e8a935cada2329b6a8e02a6cdaad
 DIST lua-readline-3.3.tar.gz 16370 BLAKE2B 59def7310545f6b8db31ad85891e2132b1031d9766874576dc8f24570840dc337ac234803902054a50e144d3704973ab5974d4d57dc18e574ddf790f5fd788c7 SHA512 a64fb71302c18a8733ac3548da53616532834e07d557bdcd6926d9793ba615b074b74890b18626ac7f5fd75a90f4ad4155e0788daffd9f8f1bb3e5d3931347ce

diff --git a/dev-lua/readline/readline-3.2.ebuild b/dev-lua/readline/readline-3.2.ebuild
deleted file mode 100644
index 7d1172e9d37d..000000000000
--- a/dev-lua/readline/readline-3.2.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit lua toolchain-funcs
-
-DESCRIPTION="A simple interface to the readline and history libraries"
-HOMEPAGE="https://pjb.com.au/comp/lua/readline.html"
-SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-# Tests are interactive
-RESTRICT="test"
-
-RDEPEND="
-	dev-lua/luaposix
-	sys-libs/readline:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-	default
-
-	lua_copy_sources
-}
-
-lua_src_compile() {
-	pushd "${BUILD_DIR}" || die
-
-	local compiler=(
-		"$(tc-getCC)"
-		"${CFLAGS}"
-		"-fPIC"
-		"$(lua_get_CFLAGS)"
-		"-c C-readline.c"
-		"-o C-readline.o"
-	)
-	einfo "${compiler[@]}"
-	${compiler[@]} || die
-
-	local linker=(
-		"$(tc-getCC)"
-		"-shared"
-		"${LDFLAGS}"
-		"$($(tc-getPKG_CONFIG) --libs readline)"
-		"-o C-readline.so"
-		"C-readline.o"
-	)
-	einfo "${linker[@]}"
-	${linker[@]} || die
-
-	popd
-}
-
-src_compile() {
-	lua_foreach_impl lua_src_compile
-}
-
-lua_src_test() {
-	pushd "${BUILD_DIR}" || die
-	LUA_CPATH="./?.so;${ESYSROOT}/usr/$(get_libdir)/lua/$(ver_cut 1-2 $(lua_get_version))/?.so" ${ELUA} test/test_rl.lua || die
-	popd || die
-}
-
-src_test() {
-	lua_foreach_impl lua_src_test
-}
-
-lua_src_install() {
-	pushd "${BUILD_DIR}" || die
-
-	insinto "$(lua_get_cmod_dir)"
-	doins C-readline.so
-
-	insinto "$(lua_get_lmod_dir)"
-	doins readline.lua
-
-	popd || die
-}
-
-src_install() {
-	lua_foreach_impl lua_src_install
-
-	docinto html
-	dodoc doc/readline.html
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2023-05-18 17:37 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2023-05-18 17:37 UTC (permalink / raw
  To: gentoo-commits

commit:     edf0ad9cb97a2ee935b05a61aa483cdef288c1fd
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu May 18 17:34:36 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu May 18 17:34:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf0ad9c

dev-lua/readline: amd64 stable

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/readline-3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/readline/readline-3.3.ebuild b/dev-lua/readline/readline-3.3.ebuild
index 98c541a77eeb..487ea149af3d 100644
--- a/dev-lua/readline/readline-3.3.ebuild
+++ b/dev-lua/readline/readline-3.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 
 # Tests are interactive


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2023-04-10 18:38 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2023-04-10 18:38 UTC (permalink / raw
  To: gentoo-commits

commit:     9438413cb1783032ceb1700fd14f012c59fe8cbc
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 10 17:46:38 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Apr 10 18:37:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9438413c

dev-lua/readline: add 3.3

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/Manifest            |  1 +
 dev-lua/readline/readline-3.3.ebuild | 94 ++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/dev-lua/readline/Manifest b/dev-lua/readline/Manifest
index d990d6c6983f..291d12ac1d95 100644
--- a/dev-lua/readline/Manifest
+++ b/dev-lua/readline/Manifest
@@ -1 +1,2 @@
 DIST lua-readline-3.2.tar.gz 16215 BLAKE2B 889db8cfefc37008fac9f92b6ef071147763d00f01ca42b31646594e812ab936187e65e8959e723be409d21c3e3cc2d93fe52eafac79e37b7d0cec2216d8accf SHA512 d605b99f2fa06920e67125b462f257f8cd263912b6ffba173bee77425c77f6b08b463ec4c0851c81dfc23e736698c9fbbb40e8a935cada2329b6a8e02a6cdaad
+DIST lua-readline-3.3.tar.gz 16370 BLAKE2B 59def7310545f6b8db31ad85891e2132b1031d9766874576dc8f24570840dc337ac234803902054a50e144d3704973ab5974d4d57dc18e574ddf790f5fd788c7 SHA512 a64fb71302c18a8733ac3548da53616532834e07d557bdcd6926d9793ba615b074b74890b18626ac7f5fd75a90f4ad4155e0788daffd9f8f1bb3e5d3931347ce

diff --git a/dev-lua/readline/readline-3.3.ebuild b/dev-lua/readline/readline-3.3.ebuild
new file mode 100644
index 000000000000..98c541a77eeb
--- /dev/null
+++ b/dev-lua/readline/readline-3.3.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua toolchain-funcs
+
+DESCRIPTION="A simple interface to the readline and history libraries"
+HOMEPAGE="https://pjb.com.au/comp/lua/readline.html"
+SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+# Tests are interactive
+RESTRICT="test"
+
+RDEPEND="
+	dev-lua/luaposix
+	sys-libs/readline:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	lua_copy_sources
+}
+
+lua_src_compile() {
+	pushd "${BUILD_DIR}" || die
+
+	local compiler=(
+		"$(tc-getCC)"
+		"${CFLAGS}"
+		"-fPIC"
+		"$(lua_get_CFLAGS)"
+		"-c C-readline.c"
+		"-o C-readline.o"
+	)
+	einfo "${compiler[@]}"
+	${compiler[@]} || die
+
+	local linker=(
+		"$(tc-getCC)"
+		"-shared"
+		"${LDFLAGS}"
+		"$($(tc-getPKG_CONFIG) --libs readline)"
+		"-o C-readline.so"
+		"C-readline.o"
+	)
+	einfo "${linker[@]}"
+	${linker[@]} || die
+
+	popd
+}
+
+src_compile() {
+	lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+	pushd "${BUILD_DIR}" || die
+	LUA_CPATH="./?.so;${ESYSROOT}/usr/$(get_libdir)/lua/$(ver_cut 1-2 $(lua_get_version))/?.so" ${ELUA} test/test_rl.lua || die
+	popd || die
+}
+
+src_test() {
+	lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+	pushd "${BUILD_DIR}" || die
+
+	insinto "$(lua_get_cmod_dir)"
+	doins C-readline.so
+
+	insinto "$(lua_get_lmod_dir)"
+	doins readline.lua
+
+	popd || die
+}
+
+src_install() {
+	lua_foreach_impl lua_src_install
+
+	docinto html
+	dodoc doc/readline.html
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2022-11-01  1:04 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2022-11-01  1:04 UTC (permalink / raw
  To: gentoo-commits

commit:     8307f035451b51990325f11c560b87a5268421cf
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  1 01:03:45 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Nov  1 01:04:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8307f035

dev-lua/readline: drop 3.1

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/Manifest            |  1 -
 dev-lua/readline/readline-3.1.ebuild | 94 ------------------------------------
 2 files changed, 95 deletions(-)

diff --git a/dev-lua/readline/Manifest b/dev-lua/readline/Manifest
index 05cc92564ecb..d990d6c6983f 100644
--- a/dev-lua/readline/Manifest
+++ b/dev-lua/readline/Manifest
@@ -1,2 +1 @@
-DIST lua-readline-3.1.tar.gz 16114 BLAKE2B 372bc61573b20c8ebf66bb684624dde9d5ce7868543294450ef3d47bba5a042c5d7f4262366f2de2db8d3d92bbf7fb4895d29577af34307d7b145e6f913ec957 SHA512 d3bee61b6c876e96d2c1097e29862a3f16d1e666b1087e58899f59a3115f9af31793492edfcc3f3802565f98f276960d382a89c0b6cfb1d54acfd37ad006b74b
 DIST lua-readline-3.2.tar.gz 16215 BLAKE2B 889db8cfefc37008fac9f92b6ef071147763d00f01ca42b31646594e812ab936187e65e8959e723be409d21c3e3cc2d93fe52eafac79e37b7d0cec2216d8accf SHA512 d605b99f2fa06920e67125b462f257f8cd263912b6ffba173bee77425c77f6b08b463ec4c0851c81dfc23e736698c9fbbb40e8a935cada2329b6a8e02a6cdaad

diff --git a/dev-lua/readline/readline-3.1.ebuild b/dev-lua/readline/readline-3.1.ebuild
deleted file mode 100644
index 7d1172e9d37d..000000000000
--- a/dev-lua/readline/readline-3.1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit lua toolchain-funcs
-
-DESCRIPTION="A simple interface to the readline and history libraries"
-HOMEPAGE="https://pjb.com.au/comp/lua/readline.html"
-SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-# Tests are interactive
-RESTRICT="test"
-
-RDEPEND="
-	dev-lua/luaposix
-	sys-libs/readline:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-	default
-
-	lua_copy_sources
-}
-
-lua_src_compile() {
-	pushd "${BUILD_DIR}" || die
-
-	local compiler=(
-		"$(tc-getCC)"
-		"${CFLAGS}"
-		"-fPIC"
-		"$(lua_get_CFLAGS)"
-		"-c C-readline.c"
-		"-o C-readline.o"
-	)
-	einfo "${compiler[@]}"
-	${compiler[@]} || die
-
-	local linker=(
-		"$(tc-getCC)"
-		"-shared"
-		"${LDFLAGS}"
-		"$($(tc-getPKG_CONFIG) --libs readline)"
-		"-o C-readline.so"
-		"C-readline.o"
-	)
-	einfo "${linker[@]}"
-	${linker[@]} || die
-
-	popd
-}
-
-src_compile() {
-	lua_foreach_impl lua_src_compile
-}
-
-lua_src_test() {
-	pushd "${BUILD_DIR}" || die
-	LUA_CPATH="./?.so;${ESYSROOT}/usr/$(get_libdir)/lua/$(ver_cut 1-2 $(lua_get_version))/?.so" ${ELUA} test/test_rl.lua || die
-	popd || die
-}
-
-src_test() {
-	lua_foreach_impl lua_src_test
-}
-
-lua_src_install() {
-	pushd "${BUILD_DIR}" || die
-
-	insinto "$(lua_get_cmod_dir)"
-	doins C-readline.so
-
-	insinto "$(lua_get_lmod_dir)"
-	doins readline.lua
-
-	popd || die
-}
-
-src_install() {
-	lua_foreach_impl lua_src_install
-
-	docinto html
-	dodoc doc/readline.html
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2022-11-01  1:04 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2022-11-01  1:04 UTC (permalink / raw
  To: gentoo-commits

commit:     0a9e056f0ace8ba40fa382c0ab118aad257201dc
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  1 01:02:38 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Nov  1 01:04:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a9e056f

dev-lua/readline: amd64 stable

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/readline-3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/readline/readline-3.2.ebuild b/dev-lua/readline/readline-3.2.ebuild
index 813f6f10ba3e..03461086f779 100644
--- a/dev-lua/readline/readline-3.2.ebuild
+++ b/dev-lua/readline/readline-3.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 
 # Tests are interactive


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2022-11-01  1:04 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2022-11-01  1:04 UTC (permalink / raw
  To: gentoo-commits

commit:     404dad63b7a079c97d7d32573f4ed55b03dd3cc4
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  1 01:03:01 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Nov  1 01:04:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=404dad63

dev-lua/readline: x86 stable

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/readline-3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/readline/readline-3.2.ebuild b/dev-lua/readline/readline-3.2.ebuild
index 03461086f779..7d1172e9d37d 100644
--- a/dev-lua/readline/readline-3.2.ebuild
+++ b/dev-lua/readline/readline-3.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 
 # Tests are interactive


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2022-10-01 23:33 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2022-10-01 23:33 UTC (permalink / raw
  To: gentoo-commits

commit:     63d122007b020901a5fcb09020e62c868a27b02e
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  1 23:15:07 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Oct  1 23:15:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63d12200

dev-lua/readline: add 3.2

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/Manifest            |  1 +
 dev-lua/readline/readline-3.2.ebuild | 94 ++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/dev-lua/readline/Manifest b/dev-lua/readline/Manifest
index 6db4e2e620fc..05cc92564ecb 100644
--- a/dev-lua/readline/Manifest
+++ b/dev-lua/readline/Manifest
@@ -1 +1,2 @@
 DIST lua-readline-3.1.tar.gz 16114 BLAKE2B 372bc61573b20c8ebf66bb684624dde9d5ce7868543294450ef3d47bba5a042c5d7f4262366f2de2db8d3d92bbf7fb4895d29577af34307d7b145e6f913ec957 SHA512 d3bee61b6c876e96d2c1097e29862a3f16d1e666b1087e58899f59a3115f9af31793492edfcc3f3802565f98f276960d382a89c0b6cfb1d54acfd37ad006b74b
+DIST lua-readline-3.2.tar.gz 16215 BLAKE2B 889db8cfefc37008fac9f92b6ef071147763d00f01ca42b31646594e812ab936187e65e8959e723be409d21c3e3cc2d93fe52eafac79e37b7d0cec2216d8accf SHA512 d605b99f2fa06920e67125b462f257f8cd263912b6ffba173bee77425c77f6b08b463ec4c0851c81dfc23e736698c9fbbb40e8a935cada2329b6a8e02a6cdaad

diff --git a/dev-lua/readline/readline-3.2.ebuild b/dev-lua/readline/readline-3.2.ebuild
new file mode 100644
index 000000000000..813f6f10ba3e
--- /dev/null
+++ b/dev-lua/readline/readline-3.2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua toolchain-funcs
+
+DESCRIPTION="A simple interface to the readline and history libraries"
+HOMEPAGE="https://pjb.com.au/comp/lua/readline.html"
+SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+# Tests are interactive
+RESTRICT="test"
+
+RDEPEND="
+	dev-lua/luaposix
+	sys-libs/readline:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	lua_copy_sources
+}
+
+lua_src_compile() {
+	pushd "${BUILD_DIR}" || die
+
+	local compiler=(
+		"$(tc-getCC)"
+		"${CFLAGS}"
+		"-fPIC"
+		"$(lua_get_CFLAGS)"
+		"-c C-readline.c"
+		"-o C-readline.o"
+	)
+	einfo "${compiler[@]}"
+	${compiler[@]} || die
+
+	local linker=(
+		"$(tc-getCC)"
+		"-shared"
+		"${LDFLAGS}"
+		"$($(tc-getPKG_CONFIG) --libs readline)"
+		"-o C-readline.so"
+		"C-readline.o"
+	)
+	einfo "${linker[@]}"
+	${linker[@]} || die
+
+	popd
+}
+
+src_compile() {
+	lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+	pushd "${BUILD_DIR}" || die
+	LUA_CPATH="./?.so;${ESYSROOT}/usr/$(get_libdir)/lua/$(ver_cut 1-2 $(lua_get_version))/?.so" ${ELUA} test/test_rl.lua || die
+	popd || die
+}
+
+src_test() {
+	lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+	pushd "${BUILD_DIR}" || die
+
+	insinto "$(lua_get_cmod_dir)"
+	doins C-readline.so
+
+	insinto "$(lua_get_lmod_dir)"
+	doins readline.lua
+
+	popd || die
+}
+
+src_install() {
+	lua_foreach_impl lua_src_install
+
+	docinto html
+	dodoc doc/readline.html
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2022-05-21 22:49 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2022-05-21 22:49 UTC (permalink / raw
  To: gentoo-commits

commit:     a043e4975803df633ac9c369a67e49da797926cc
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat May 21 22:48:13 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat May 21 22:48:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a043e497

dev-lua/readline: amd64 stable

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/readline-3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/readline/readline-3.1.ebuild b/dev-lua/readline/readline-3.1.ebuild
index 813f6f10ba3e..03461086f779 100644
--- a/dev-lua/readline/readline-3.1.ebuild
+++ b/dev-lua/readline/readline-3.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 
 # Tests are interactive


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2022-05-21 22:49 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2022-05-21 22:49 UTC (permalink / raw
  To: gentoo-commits

commit:     2d36758169f515e80212c8e60870c13bdd14d063
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat May 21 22:48:45 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat May 21 22:48:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d367581

dev-lua/readline: x86 stable

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/readline-3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/readline/readline-3.1.ebuild b/dev-lua/readline/readline-3.1.ebuild
index 03461086f779..7d1172e9d37d 100644
--- a/dev-lua/readline/readline-3.1.ebuild
+++ b/dev-lua/readline/readline-3.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 
 # Tests are interactive


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2022-04-21 21:26 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2022-04-21 21:26 UTC (permalink / raw
  To: gentoo-commits

commit:     65608a8716d8babbb2b8ba0a252b3e4a8c358248
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 21:17:22 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 21:23:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65608a87

dev-lua/readline: add 3.1

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/Manifest            |  1 +
 dev-lua/readline/readline-3.1.ebuild | 94 ++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/dev-lua/readline/Manifest b/dev-lua/readline/Manifest
index 1e2e13b8dfb3..8e0008d1da86 100644
--- a/dev-lua/readline/Manifest
+++ b/dev-lua/readline/Manifest
@@ -1 +1,2 @@
 DIST lua-readline-3.0.tar.gz 15675 BLAKE2B 877b50cdf05610eb54fcec6063368206d68b0571e70c28abd6bdf20e0533ae76809a18f3b7cbefc79185544966e2838c8ea95b30bc5821c31547026ee621d1f0 SHA512 7fc9b1b2b03909cd8ebccc539fa8c37a823c70728671dc09c7cec0641625a59ed3c8b7045635e53719d32046437e638193cb1055a94a3d635fb50efb199d213a
+DIST lua-readline-3.1.tar.gz 16114 BLAKE2B 372bc61573b20c8ebf66bb684624dde9d5ce7868543294450ef3d47bba5a042c5d7f4262366f2de2db8d3d92bbf7fb4895d29577af34307d7b145e6f913ec957 SHA512 d3bee61b6c876e96d2c1097e29862a3f16d1e666b1087e58899f59a3115f9af31793492edfcc3f3802565f98f276960d382a89c0b6cfb1d54acfd37ad006b74b

diff --git a/dev-lua/readline/readline-3.1.ebuild b/dev-lua/readline/readline-3.1.ebuild
new file mode 100644
index 000000000000..813f6f10ba3e
--- /dev/null
+++ b/dev-lua/readline/readline-3.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua toolchain-funcs
+
+DESCRIPTION="A simple interface to the readline and history libraries"
+HOMEPAGE="https://pjb.com.au/comp/lua/readline.html"
+SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+# Tests are interactive
+RESTRICT="test"
+
+RDEPEND="
+	dev-lua/luaposix
+	sys-libs/readline:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	lua_copy_sources
+}
+
+lua_src_compile() {
+	pushd "${BUILD_DIR}" || die
+
+	local compiler=(
+		"$(tc-getCC)"
+		"${CFLAGS}"
+		"-fPIC"
+		"$(lua_get_CFLAGS)"
+		"-c C-readline.c"
+		"-o C-readline.o"
+	)
+	einfo "${compiler[@]}"
+	${compiler[@]} || die
+
+	local linker=(
+		"$(tc-getCC)"
+		"-shared"
+		"${LDFLAGS}"
+		"$($(tc-getPKG_CONFIG) --libs readline)"
+		"-o C-readline.so"
+		"C-readline.o"
+	)
+	einfo "${linker[@]}"
+	${linker[@]} || die
+
+	popd
+}
+
+src_compile() {
+	lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+	pushd "${BUILD_DIR}" || die
+	LUA_CPATH="./?.so;${ESYSROOT}/usr/$(get_libdir)/lua/$(ver_cut 1-2 $(lua_get_version))/?.so" ${ELUA} test/test_rl.lua || die
+	popd || die
+}
+
+src_test() {
+	lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+	pushd "${BUILD_DIR}" || die
+
+	insinto "$(lua_get_cmod_dir)"
+	doins C-readline.so
+
+	insinto "$(lua_get_lmod_dir)"
+	doins readline.lua
+
+	popd || die
+}
+
+src_install() {
+	lua_foreach_impl lua_src_install
+
+	docinto html
+	dodoc doc/readline.html
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2022-04-17 15:07 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2022-04-17 15:07 UTC (permalink / raw
  To: gentoo-commits

commit:     ce095dbfddbe18c4c8fc36d3e3e9a5e005f664d8
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 15:05:43 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 15:07:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce095dbf

dev-lua/readline: amd64 stable

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/readline-3.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/readline/readline-3.0-r1.ebuild b/dev-lua/readline/readline-3.0-r1.ebuild
index 813f6f10ba3e..03461086f779 100644
--- a/dev-lua/readline/readline-3.0-r1.ebuild
+++ b/dev-lua/readline/readline-3.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 
 # Tests are interactive


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2022-04-17 15:07 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2022-04-17 15:07 UTC (permalink / raw
  To: gentoo-commits

commit:     b3a94ad824fe481d9b09e0a7af9a383da0ca70ab
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 15:06:09 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 15:07:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3a94ad8

dev-lua/readline: x86 stable

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/readline-3.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/readline/readline-3.0-r1.ebuild b/dev-lua/readline/readline-3.0-r1.ebuild
index 03461086f779..7d1172e9d37d 100644
--- a/dev-lua/readline/readline-3.0-r1.ebuild
+++ b/dev-lua/readline/readline-3.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 
 # Tests are interactive


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2022-03-20  1:47 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2022-03-20  1:47 UTC (permalink / raw
  To: gentoo-commits

commit:     d6ff6b9279b37148535c2f843c88ed0bcbdfe96a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 01:04:56 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 01:47:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6ff6b92

dev-lua/readline: misc fixups

- BDEPEND on virtual/pkgconfig as we call it in the ebuild
- := on sys-libs/readline as it exposes a subslot for its ABI and we link
  against it
- Add missing || dies
- Don't use ${EROOT} (forbidden in src_test), instead use ${ESYSROOT}
  which should have what we need installed there.

Closes: https://github.com/gentoo/gentoo/pull/24676
Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/{readline-3.0.ebuild => readline-3.0-r1.ebuild} | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-lua/readline/readline-3.0.ebuild b/dev-lua/readline/readline-3.0-r1.ebuild
similarity index 87%
rename from dev-lua/readline/readline-3.0.ebuild
rename to dev-lua/readline/readline-3.0-r1.ebuild
index 6eb54114feba..813f6f10ba3e 100644
--- a/dev-lua/readline/readline-3.0.ebuild
+++ b/dev-lua/readline/readline-3.0-r1.ebuild
@@ -21,9 +21,10 @@ RESTRICT="test"
 
 RDEPEND="
 	dev-lua/luaposix
-	sys-libs/readline
+	sys-libs/readline:=
 "
 DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
 	default
@@ -65,8 +66,8 @@ src_compile() {
 
 lua_src_test() {
 	pushd "${BUILD_DIR}" || die
-	LUA_CPATH="./?.so;${EROOT}/usr/$(get_libdir)/lua/$(ver_cut 1-2 $(lua_get_version))/?.so" ${ELUA} test/test_rl.lua
-	popd
+	LUA_CPATH="./?.so;${ESYSROOT}/usr/$(get_libdir)/lua/$(ver_cut 1-2 $(lua_get_version))/?.so" ${ELUA} test/test_rl.lua || die
+	popd || die
 }
 
 src_test() {
@@ -82,7 +83,7 @@ lua_src_install() {
 	insinto "$(lua_get_lmod_dir)"
 	doins readline.lua
 
-	popd
+	popd || die
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/
@ 2022-03-19 15:21 Conrad Kostecki
  0 siblings, 0 replies; 17+ messages in thread
From: Conrad Kostecki @ 2022-03-19 15:21 UTC (permalink / raw
  To: gentoo-commits

commit:     388f78a76017df50151c4243c2b934da36eeca45
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 19 14:38:48 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 15:21:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=388f78a7

dev-lua/readline: initial import

This is a needed dep for upcoming prosody-0.12 release.

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/readline/Manifest            |  1 +
 dev-lua/readline/metadata.xml        |  8 ++++
 dev-lua/readline/readline-3.0.ebuild | 93 ++++++++++++++++++++++++++++++++++++
 3 files changed, 102 insertions(+)

diff --git a/dev-lua/readline/Manifest b/dev-lua/readline/Manifest
new file mode 100644
index 000000000000..1e2e13b8dfb3
--- /dev/null
+++ b/dev-lua/readline/Manifest
@@ -0,0 +1 @@
+DIST lua-readline-3.0.tar.gz 15675 BLAKE2B 877b50cdf05610eb54fcec6063368206d68b0571e70c28abd6bdf20e0533ae76809a18f3b7cbefc79185544966e2838c8ea95b30bc5821c31547026ee621d1f0 SHA512 7fc9b1b2b03909cd8ebccc539fa8c37a823c70728671dc09c7cec0641625a59ed3c8b7045635e53719d32046437e638193cb1055a94a3d635fb50efb199d213a

diff --git a/dev-lua/readline/metadata.xml b/dev-lua/readline/metadata.xml
new file mode 100644
index 000000000000..c07e13d4a6bd
--- /dev/null
+++ b/dev-lua/readline/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>conikost@gentoo.org</email>
+		<name>Conrad Kostecki</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/dev-lua/readline/readline-3.0.ebuild b/dev-lua/readline/readline-3.0.ebuild
new file mode 100644
index 000000000000..6eb54114feba
--- /dev/null
+++ b/dev-lua/readline/readline-3.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua toolchain-funcs
+
+DESCRIPTION="A simple interface to the readline and history libraries"
+HOMEPAGE="https://pjb.com.au/comp/lua/readline.html"
+SRC_URI="https://pjb.com.au/comp/lua/${P}.tar.gz -> lua-${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+# Tests are interactive
+RESTRICT="test"
+
+RDEPEND="
+	dev-lua/luaposix
+	sys-libs/readline
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	default
+
+	lua_copy_sources
+}
+
+lua_src_compile() {
+	pushd "${BUILD_DIR}" || die
+
+	local compiler=(
+		"$(tc-getCC)"
+		"${CFLAGS}"
+		"-fPIC"
+		"$(lua_get_CFLAGS)"
+		"-c C-readline.c"
+		"-o C-readline.o"
+	)
+	einfo "${compiler[@]}"
+	${compiler[@]} || die
+
+	local linker=(
+		"$(tc-getCC)"
+		"-shared"
+		"${LDFLAGS}"
+		"$($(tc-getPKG_CONFIG) --libs readline)"
+		"-o C-readline.so"
+		"C-readline.o"
+	)
+	einfo "${linker[@]}"
+	${linker[@]} || die
+
+	popd
+}
+
+src_compile() {
+	lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+	pushd "${BUILD_DIR}" || die
+	LUA_CPATH="./?.so;${EROOT}/usr/$(get_libdir)/lua/$(ver_cut 1-2 $(lua_get_version))/?.so" ${ELUA} test/test_rl.lua
+	popd
+}
+
+src_test() {
+	lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+	pushd "${BUILD_DIR}" || die
+
+	insinto "$(lua_get_cmod_dir)"
+	doins C-readline.so
+
+	insinto "$(lua_get_lmod_dir)"
+	doins readline.lua
+
+	popd
+}
+
+src_install() {
+	lua_foreach_impl lua_src_install
+
+	docinto html
+	dodoc doc/readline.html
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-08-05 22:41 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-21 22:49 [gentoo-commits] repo/gentoo:master commit in: dev-lua/readline/ Conrad Kostecki
  -- strict thread matches above, loose matches on Subject: below --
2023-08-05 22:41 Conrad Kostecki
2023-05-18 17:37 Conrad Kostecki
2023-05-18 17:37 Conrad Kostecki
2023-05-18 17:37 Conrad Kostecki
2023-04-10 18:38 Conrad Kostecki
2022-11-01  1:04 Conrad Kostecki
2022-11-01  1:04 Conrad Kostecki
2022-11-01  1:04 Conrad Kostecki
2022-10-01 23:33 Conrad Kostecki
2022-05-21 22:49 Conrad Kostecki
2022-05-21 22:49 Conrad Kostecki
2022-04-21 21:26 Conrad Kostecki
2022-04-17 15:07 Conrad Kostecki
2022-04-17 15:07 Conrad Kostecki
2022-03-20  1:47 Conrad Kostecki
2022-03-19 15:21 Conrad Kostecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox