* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2020-12-01 10:18 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2020-12-01 10:18 UTC (permalink / raw
To: gentoo-commits
commit: be08d5e5560c04b0437f264432cccf5c7968340d
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 1 10:17:34 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Dec 1 10:17:34 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be08d5e5
dev-lua/mpack: drop old version
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8.ebuild | 71 ----------------------------------------
1 file changed, 71 deletions(-)
diff --git a/dev-lua/mpack/mpack-1.0.8.ebuild b/dev-lua/mpack/mpack-1.0.8.ebuild
deleted file mode 100644
index dd44907c3fd..00000000000
--- a/dev-lua/mpack/mpack-1.0.8.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-MY_PN="lib${PN}-lua"
-
-DESCRIPTION="Lua bindings for libmpack"
-HOMEPAGE="https://github.com/libmpack/libmpack/"
-SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="luajit test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/libmpack
- luajit? ( >=dev-lang/lua-5.1:= )
- !luajit? ( dev-lang/luajit:2= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- test? (
- dev-lua/busted
- ${RDEPEND}
- )
-"
-
-src_compile() {
- local myemakeargs=(
- "CC=$(tc-getCC)"
- "LUA_INCLUDE=$($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua'))"
- "LUA_LIB=$($(tc-getPKG_CONFIG) --libs $(usex luajit 'luajit' 'lua'))"
- "USE_SYSTEM_MPACK=yes"
- "USE_SYSTEM_LUA=yes"
- )
-
- emake "${myemakeargs[@]}"
-}
-
-src_test() {
- if use luajit; then
- # "[ FAILED ] test.lua @ 279: mpack should not leak memory"
- # It doesn't seem upstream actually support LuaJIT so were this up to me
- # I would drop it from LUA_COMPAT, unfortunately there are packages in the
- # tree which currently expect it to be supported.
- ewarn "Not running tests under ${ELUA} because they are known to fail"
- return
- else
- busted --lua=lua test.lua || die
- fi
-}
-
-src_install() {
- local myemakeargs=(
- "DESTDIR=${ED}"
- "LUA_CMOD_INSTALLDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
- "USE_SYSTEM_MPACK=yes"
- "USE_SYSTEM_LUA=yes"
- )
-
- emake "${myemakeargs[@]}" install
-
- einstalldocs
-}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2024-06-22 20:01 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2024-06-22 20:01 UTC (permalink / raw
To: gentoo-commits
commit: 0fae7f43309fb10745cb8c5ab434af38a7d7efc3
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 22 19:43:17 2024 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jun 22 20:00:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fae7f43
dev-lua/mpack: drop 1.0.11
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/Manifest | 1 -
dev-lua/mpack/mpack-1.0.11.ebuild | 116 --------------------------------------
2 files changed, 117 deletions(-)
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
index 0d98ae862c6e..3dc9c54148b4 100644
--- a/dev-lua/mpack/Manifest
+++ b/dev-lua/mpack/Manifest
@@ -1,2 +1 @@
-DIST mpack-1.0.11.tar.gz 16305 BLAKE2B e076043259692dc1aecbb62498cd44e523a44e40c265adeb3edc088f7b81a9e5892b13bbb730107fe64804be684c15510e8aea603abdafc2003c659e6bff9143 SHA512 2bd76e3d12928cb51f475d58e2c8b749f4b2b8b45f72296f6dd46c13b31fee80e0c4859de9332a7232842f511e4a53d30b43aad563980fd026d04fd65fb57b7e
DIST mpack-1.0.12.tar.gz 16524 BLAKE2B 7b2d5dbdbb72f6d792e366259ef5ba080872417b558ff8d4fd0877f5a9fbeb8794d6e1657034b74f0dffe5e1c03c0339060eebf9e85370619938cc7b8f03c540 SHA512 7df730ba98c9530d948252f2efa70cb6d4f65b0fbc3443de2239145e9ce1aa12dfa8acbbfd4b87edf19a529e3595c7a8955e00235f69aa3535d353f7f9a1c7d0
diff --git a/dev-lua/mpack/mpack-1.0.11.ebuild b/dev-lua/mpack/mpack-1.0.11.ebuild
deleted file mode 100644
index 2cc20b76c877..000000000000
--- a/dev-lua/mpack/mpack-1.0.11.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# 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
-
-MY_PN="lib${PN}-lua"
-
-DESCRIPTION="Lua bindings for libmpack"
-HOMEPAGE="https://github.com/libmpack/libmpack-lua/"
-SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
-IUSE="test"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/libmpack
- ${LUA_DEPS}
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- test? (
- dev-lua/busted[${LUA_USEDEP}]
- dev-lua/lua_cliargs[${LUA_USEDEP}]
- ${RDEPEND}
- )
-"
-
-src_prepare() {
- default
-
- lua_copy_sources
-}
-
-lua_src_compile() {
- pushd "${BUILD_DIR}" || die
-
- local myemakeargs=(
- "CC=$(tc-getCC)"
- "LUA_INCLUDE=$(lua_get_CFLAGS)"
- "LUA_LIB="
- "USE_SYSTEM_MPACK=yes"
- "USE_SYSTEM_LUA=yes"
- )
-
- emake "${myemakeargs[@]}"
-
- popd
-}
-
-src_compile() {
- lua_foreach_impl lua_src_compile
-}
-
-lua_src_test() {
- pushd "${BUILD_DIR}" || die
-
- # "[ FAILED ] test.lua @ 279: mpack should not leak memory"
- # It doesn't seem upstream actually support LuaJIT so were this up to me
- # I would drop it from LUA_COMPAT, unfortunately there are packages in the
- # tree which currently expect it to be supported.
- if [[ ${ELUA} == "luajit" ]]; then
- ewarn "Not running tests under ${ELUA} because they are known to fail"
- return
- fi
-
- busted --lua="${ELUA}" test.lua || die
-
- popd
-}
-
-src_test() {
- lua_foreach_impl lua_src_test
-}
-
-lua_src_install() {
- pushd "${BUILD_DIR}" || die
-
- local installdir="$(lua_get_cmod_dir)"
- local myemakeargs=(
- "DESTDIR=${ED}"
- "LUA_CMOD_INSTALLDIR=${installdir#$EPREFIX}"
- "USE_SYSTEM_MPACK=yes"
- "USE_SYSTEM_LUA=yes"
- )
-
- emake "${myemakeargs[@]}" install
-
- popd
-
- if [[ ${CHOST} == *-darwin* ]] ; then
- local luav=$(lua_get_version)
- # we only want the major version (e.g. 5.1)
- local luamv=${luav:0:3}
- local file="lua/${luamv}/mpack.so"
- install_name_tool \
- -id "${EPREFIX}/usr/$(get_libdir)/${file}" \
- "${ED}/usr/$(get_libdir)/${file}" \
- || die "Failed to adjust install_name"
- fi
-}
-
-src_install() {
- lua_foreach_impl lua_src_install
-
- einstalldocs
-}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2024-04-03 9:14 Arthur Zamarin
0 siblings, 0 replies; 50+ messages in thread
From: Arthur Zamarin @ 2024-04-03 9:14 UTC (permalink / raw
To: gentoo-commits
commit: 55743c20e72e30615ad2a53b6a66dcef2615d726
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 3 09:13:39 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 3 09:13:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55743c20
dev-lua/mpack: Stabilize 1.0.12 x86, #928457
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.12.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.12.ebuild b/dev-lua/mpack/mpack-1.0.12.ebuild
index 6114f38d4d6d..50625688ac67 100644
--- a/dev-lua/mpack/mpack-1.0.12.ebuild
+++ b/dev-lua/mpack/mpack-1.0.12.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2024-04-03 9:14 Arthur Zamarin
0 siblings, 0 replies; 50+ messages in thread
From: Arthur Zamarin @ 2024-04-03 9:14 UTC (permalink / raw
To: gentoo-commits
commit: a688c4c32b930996badbbbcc4dfebe0bdf115210
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 3 09:13:38 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 3 09:13:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a688c4c3
dev-lua/mpack: Stabilize 1.0.12 amd64, #928457
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.12.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.12.ebuild b/dev-lua/mpack/mpack-1.0.12.ebuild
index 6d140c877e13..6114f38d4d6d 100644
--- a/dev-lua/mpack/mpack-1.0.12.ebuild
+++ b/dev-lua/mpack/mpack-1.0.12.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2024-04-03 5:02 Sam James
0 siblings, 0 replies; 50+ messages in thread
From: Sam James @ 2024-04-03 5:02 UTC (permalink / raw
To: gentoo-commits
commit: 3ad1cfd5f908cbb264321c42efe24b02e12022d7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 3 05:00:39 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 3 05:00:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ad1cfd5
dev-lua/mpack: Stabilize 1.0.12 arm64, #928457
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.12.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.12.ebuild b/dev-lua/mpack/mpack-1.0.12.ebuild
index 0d3dc279196c..6d140c877e13 100644
--- a/dev-lua/mpack/mpack-1.0.12.ebuild
+++ b/dev-lua/mpack/mpack-1.0.12.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2024-02-29 16:48 Matt Turner
0 siblings, 0 replies; 50+ messages in thread
From: Matt Turner @ 2024-02-29 16:48 UTC (permalink / raw
To: gentoo-commits
commit: 2d2ab59b783760f8ac0dc867833accb75971fb9d
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 20:46:57 2024 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 16:47:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d2ab59b
dev-lua/mpack: Export PKG_CONFIG for src_compile
The Makefile does this:
> PKG_CONFIG ?= pkg-config
so we need to export PKG_CONFIG to use the correct pkg-config binary
when cross-compiling.
Closes: https://github.com/gentoo/gentoo/pull/35572
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.12.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-lua/mpack/mpack-1.0.12.ebuild b/dev-lua/mpack/mpack-1.0.12.ebuild
index e724b86a46b8..0d3dc279196c 100644
--- a/dev-lua/mpack/mpack-1.0.12.ebuild
+++ b/dev-lua/mpack/mpack-1.0.12.ebuild
@@ -58,6 +58,7 @@ lua_src_compile() {
}
src_compile() {
+ tc-export PKG_CONFIG
lua_foreach_impl lua_src_compile
}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2024-02-08 23:43 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2024-02-08 23:43 UTC (permalink / raw
To: gentoo-commits
commit: 842fa21592b1a888f9f1ffd33f3cd190f34eab38
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 8 23:40:56 2024 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Feb 8 23:42:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=842fa215
dev-lua/mpack: drop 1.0.10
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/Manifest | 1 -
dev-lua/mpack/mpack-1.0.10.ebuild | 116 --------------------------------------
2 files changed, 117 deletions(-)
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
index 32e6e5887e35..af1dc7cb3536 100644
--- a/dev-lua/mpack/Manifest
+++ b/dev-lua/mpack/Manifest
@@ -1,2 +1 @@
-DIST mpack-1.0.10.tar.gz 16256 BLAKE2B 56f279be5b84e89a18a6010320eff9f006cfba6df9621e7b4c338a866170a69589e9e50d0d7deb238ff40634f28aa4d0c43a135c6b7fa9a38ec41b8b669945cd SHA512 879e200d806a4aeb3dc31bf44781bb92b377ee86fe3050692179bff794a2748c175135e4ab5eb59f29202bd36ff27ecc26bab07d0c46c11414361f72abf3dc53
DIST mpack-1.0.11.tar.gz 16305 BLAKE2B e076043259692dc1aecbb62498cd44e523a44e40c265adeb3edc088f7b81a9e5892b13bbb730107fe64804be684c15510e8aea603abdafc2003c659e6bff9143 SHA512 2bd76e3d12928cb51f475d58e2c8b749f4b2b8b45f72296f6dd46c13b31fee80e0c4859de9332a7232842f511e4a53d30b43aad563980fd026d04fd65fb57b7e
diff --git a/dev-lua/mpack/mpack-1.0.10.ebuild b/dev-lua/mpack/mpack-1.0.10.ebuild
deleted file mode 100644
index 2cc20b76c877..000000000000
--- a/dev-lua/mpack/mpack-1.0.10.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# 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
-
-MY_PN="lib${PN}-lua"
-
-DESCRIPTION="Lua bindings for libmpack"
-HOMEPAGE="https://github.com/libmpack/libmpack-lua/"
-SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
-IUSE="test"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/libmpack
- ${LUA_DEPS}
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- test? (
- dev-lua/busted[${LUA_USEDEP}]
- dev-lua/lua_cliargs[${LUA_USEDEP}]
- ${RDEPEND}
- )
-"
-
-src_prepare() {
- default
-
- lua_copy_sources
-}
-
-lua_src_compile() {
- pushd "${BUILD_DIR}" || die
-
- local myemakeargs=(
- "CC=$(tc-getCC)"
- "LUA_INCLUDE=$(lua_get_CFLAGS)"
- "LUA_LIB="
- "USE_SYSTEM_MPACK=yes"
- "USE_SYSTEM_LUA=yes"
- )
-
- emake "${myemakeargs[@]}"
-
- popd
-}
-
-src_compile() {
- lua_foreach_impl lua_src_compile
-}
-
-lua_src_test() {
- pushd "${BUILD_DIR}" || die
-
- # "[ FAILED ] test.lua @ 279: mpack should not leak memory"
- # It doesn't seem upstream actually support LuaJIT so were this up to me
- # I would drop it from LUA_COMPAT, unfortunately there are packages in the
- # tree which currently expect it to be supported.
- if [[ ${ELUA} == "luajit" ]]; then
- ewarn "Not running tests under ${ELUA} because they are known to fail"
- return
- fi
-
- busted --lua="${ELUA}" test.lua || die
-
- popd
-}
-
-src_test() {
- lua_foreach_impl lua_src_test
-}
-
-lua_src_install() {
- pushd "${BUILD_DIR}" || die
-
- local installdir="$(lua_get_cmod_dir)"
- local myemakeargs=(
- "DESTDIR=${ED}"
- "LUA_CMOD_INSTALLDIR=${installdir#$EPREFIX}"
- "USE_SYSTEM_MPACK=yes"
- "USE_SYSTEM_LUA=yes"
- )
-
- emake "${myemakeargs[@]}" install
-
- popd
-
- if [[ ${CHOST} == *-darwin* ]] ; then
- local luav=$(lua_get_version)
- # we only want the major version (e.g. 5.1)
- local luamv=${luav:0:3}
- local file="lua/${luamv}/mpack.so"
- install_name_tool \
- -id "${EPREFIX}/usr/$(get_libdir)/${file}" \
- "${ED}/usr/$(get_libdir)/${file}" \
- || die "Failed to adjust install_name"
- fi
-}
-
-src_install() {
- lua_foreach_impl lua_src_install
-
- einstalldocs
-}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2024-02-08 23:43 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2024-02-08 23:43 UTC (permalink / raw
To: gentoo-commits
commit: 8ee6b2243e11a612efd6e650d0ecb84bd1d19f9c
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 8 23:41:34 2024 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Feb 8 23:42:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ee6b224
dev-lua/mpack: add 1.0.12
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/Manifest | 1 +
dev-lua/mpack/mpack-1.0.12.ebuild | 116 ++++++++++++++++++++++++++++++++++++++
2 files changed, 117 insertions(+)
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
index af1dc7cb3536..0d98ae862c6e 100644
--- a/dev-lua/mpack/Manifest
+++ b/dev-lua/mpack/Manifest
@@ -1 +1,2 @@
DIST mpack-1.0.11.tar.gz 16305 BLAKE2B e076043259692dc1aecbb62498cd44e523a44e40c265adeb3edc088f7b81a9e5892b13bbb730107fe64804be684c15510e8aea603abdafc2003c659e6bff9143 SHA512 2bd76e3d12928cb51f475d58e2c8b749f4b2b8b45f72296f6dd46c13b31fee80e0c4859de9332a7232842f511e4a53d30b43aad563980fd026d04fd65fb57b7e
+DIST mpack-1.0.12.tar.gz 16524 BLAKE2B 7b2d5dbdbb72f6d792e366259ef5ba080872417b558ff8d4fd0877f5a9fbeb8794d6e1657034b74f0dffe5e1c03c0339060eebf9e85370619938cc7b8f03c540 SHA512 7df730ba98c9530d948252f2efa70cb6d4f65b0fbc3443de2239145e9ce1aa12dfa8acbbfd4b87edf19a529e3595c7a8955e00235f69aa3535d353f7f9a1c7d0
diff --git a/dev-lua/mpack/mpack-1.0.12.ebuild b/dev-lua/mpack/mpack-1.0.12.ebuild
new file mode 100644
index 000000000000..e724b86a46b8
--- /dev/null
+++ b/dev-lua/mpack/mpack-1.0.12.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2024 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
+
+MY_PN="lib${PN}-lua"
+
+DESCRIPTION="Lua bindings for libmpack"
+HOMEPAGE="https://github.com/libmpack/libmpack-lua/"
+SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+IUSE="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libmpack
+ ${LUA_DEPS}
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ dev-lua/busted[${LUA_USEDEP}]
+ dev-lua/lua_cliargs[${LUA_USEDEP}]
+ ${RDEPEND}
+ )
+"
+
+src_prepare() {
+ default
+
+ lua_copy_sources
+}
+
+lua_src_compile() {
+ pushd "${BUILD_DIR}" || die
+
+ local myemakeargs=(
+ "CC=$(tc-getCC)"
+ "LUA_INCLUDE=$(lua_get_CFLAGS)"
+ "LUA_LIB="
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}"
+
+ popd
+}
+
+src_compile() {
+ lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+ pushd "${BUILD_DIR}" || die
+
+ # "[ FAILED ] test.lua @ 279: mpack should not leak memory"
+ # It doesn't seem upstream actually support LuaJIT so were this up to me
+ # I would drop it from LUA_COMPAT, unfortunately there are packages in the
+ # tree which currently expect it to be supported.
+ if [[ ${ELUA} == "luajit" ]]; then
+ ewarn "Not running tests under ${ELUA} because they are known to fail"
+ return
+ fi
+
+ busted --lua="${ELUA}" test.lua || die
+
+ popd
+}
+
+src_test() {
+ lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+ pushd "${BUILD_DIR}" || die
+
+ local installdir="$(lua_get_cmod_dir)"
+ local myemakeargs=(
+ "DESTDIR=${ED}"
+ "LUA_CMOD_INSTALLDIR=${installdir#$EPREFIX}"
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}" install
+
+ popd
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ local luav=$(lua_get_version)
+ # we only want the major version (e.g. 5.1)
+ local luamv=${luav:0:3}
+ local file="lua/${luamv}/mpack.so"
+ install_name_tool \
+ -id "${EPREFIX}/usr/$(get_libdir)/${file}" \
+ "${ED}/usr/$(get_libdir)/${file}" \
+ || die "Failed to adjust install_name"
+ fi
+}
+
+src_install() {
+ lua_foreach_impl lua_src_install
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2023-11-12 5:56 Arthur Zamarin
0 siblings, 0 replies; 50+ messages in thread
From: Arthur Zamarin @ 2023-11-12 5:56 UTC (permalink / raw
To: gentoo-commits
commit: f564d72396543e5e36e74ec7b9c362a50d1eab0e
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 12 05:56:15 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 12 05:56:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f564d723
dev-lua/mpack: Stabilize 1.0.11 x86, #917221
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.11.ebuild b/dev-lua/mpack/mpack-1.0.11.ebuild
index 9ea3f8bd1c84..2cc20b76c877 100644
--- a/dev-lua/mpack/mpack-1.0.11.ebuild
+++ b/dev-lua/mpack/mpack-1.0.11.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2023-11-12 4:24 Sam James
0 siblings, 0 replies; 50+ messages in thread
From: Sam James @ 2023-11-12 4:24 UTC (permalink / raw
To: gentoo-commits
commit: 5a1da66c1b4e0dfa2d40682212e08c3b4e91502b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 12 04:24:00 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 12 04:24:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a1da66c
dev-lua/mpack: Stabilize 1.0.11 amd64, #917221
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.11.ebuild b/dev-lua/mpack/mpack-1.0.11.ebuild
index dea996a83244..9ea3f8bd1c84 100644
--- a/dev-lua/mpack/mpack-1.0.11.ebuild
+++ b/dev-lua/mpack/mpack-1.0.11.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2023-11-12 2:34 Sam James
0 siblings, 0 replies; 50+ messages in thread
From: Sam James @ 2023-11-12 2:34 UTC (permalink / raw
To: gentoo-commits
commit: 60dd9bf6b769d93d59a60d1e6298730c5f7141da
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 12 02:33:31 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 12 02:33:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60dd9bf6
dev-lua/mpack: Stabilize 1.0.11 arm64, #917221
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.11.ebuild b/dev-lua/mpack/mpack-1.0.11.ebuild
index 2088da813d5c..dea996a83244 100644
--- a/dev-lua/mpack/mpack-1.0.11.ebuild
+++ b/dev-lua/mpack/mpack-1.0.11.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2023-10-10 23:35 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2023-10-10 23:35 UTC (permalink / raw
To: gentoo-commits
commit: 31cfdc2a806bebc88bc4692e3ddfc197176149f1
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 10 23:12:10 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Oct 10 23:35:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31cfdc2a
dev-lua/mpack: add 1.0.11
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/Manifest | 1 +
dev-lua/mpack/mpack-1.0.11.ebuild | 116 ++++++++++++++++++++++++++++++++++++++
2 files changed, 117 insertions(+)
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
index f492226d7b82..32e6e5887e35 100644
--- a/dev-lua/mpack/Manifest
+++ b/dev-lua/mpack/Manifest
@@ -1 +1,2 @@
DIST mpack-1.0.10.tar.gz 16256 BLAKE2B 56f279be5b84e89a18a6010320eff9f006cfba6df9621e7b4c338a866170a69589e9e50d0d7deb238ff40634f28aa4d0c43a135c6b7fa9a38ec41b8b669945cd SHA512 879e200d806a4aeb3dc31bf44781bb92b377ee86fe3050692179bff794a2748c175135e4ab5eb59f29202bd36ff27ecc26bab07d0c46c11414361f72abf3dc53
+DIST mpack-1.0.11.tar.gz 16305 BLAKE2B e076043259692dc1aecbb62498cd44e523a44e40c265adeb3edc088f7b81a9e5892b13bbb730107fe64804be684c15510e8aea603abdafc2003c659e6bff9143 SHA512 2bd76e3d12928cb51f475d58e2c8b749f4b2b8b45f72296f6dd46c13b31fee80e0c4859de9332a7232842f511e4a53d30b43aad563980fd026d04fd65fb57b7e
diff --git a/dev-lua/mpack/mpack-1.0.11.ebuild b/dev-lua/mpack/mpack-1.0.11.ebuild
new file mode 100644
index 000000000000..2088da813d5c
--- /dev/null
+++ b/dev-lua/mpack/mpack-1.0.11.ebuild
@@ -0,0 +1,116 @@
+# 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
+
+MY_PN="lib${PN}-lua"
+
+DESCRIPTION="Lua bindings for libmpack"
+HOMEPAGE="https://github.com/libmpack/libmpack-lua/"
+SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+IUSE="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libmpack
+ ${LUA_DEPS}
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ dev-lua/busted[${LUA_USEDEP}]
+ dev-lua/lua_cliargs[${LUA_USEDEP}]
+ ${RDEPEND}
+ )
+"
+
+src_prepare() {
+ default
+
+ lua_copy_sources
+}
+
+lua_src_compile() {
+ pushd "${BUILD_DIR}" || die
+
+ local myemakeargs=(
+ "CC=$(tc-getCC)"
+ "LUA_INCLUDE=$(lua_get_CFLAGS)"
+ "LUA_LIB="
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}"
+
+ popd
+}
+
+src_compile() {
+ lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+ pushd "${BUILD_DIR}" || die
+
+ # "[ FAILED ] test.lua @ 279: mpack should not leak memory"
+ # It doesn't seem upstream actually support LuaJIT so were this up to me
+ # I would drop it from LUA_COMPAT, unfortunately there are packages in the
+ # tree which currently expect it to be supported.
+ if [[ ${ELUA} == "luajit" ]]; then
+ ewarn "Not running tests under ${ELUA} because they are known to fail"
+ return
+ fi
+
+ busted --lua="${ELUA}" test.lua || die
+
+ popd
+}
+
+src_test() {
+ lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+ pushd "${BUILD_DIR}" || die
+
+ local installdir="$(lua_get_cmod_dir)"
+ local myemakeargs=(
+ "DESTDIR=${ED}"
+ "LUA_CMOD_INSTALLDIR=${installdir#$EPREFIX}"
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}" install
+
+ popd
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ local luav=$(lua_get_version)
+ # we only want the major version (e.g. 5.1)
+ local luamv=${luav:0:3}
+ local file="lua/${luamv}/mpack.so"
+ install_name_tool \
+ -id "${EPREFIX}/usr/$(get_libdir)/${file}" \
+ "${ED}/usr/$(get_libdir)/${file}" \
+ || die "Failed to adjust install_name"
+ fi
+}
+
+src_install() {
+ lua_foreach_impl lua_src_install
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2023-10-10 23:35 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2023-10-10 23:35 UTC (permalink / raw
To: gentoo-commits
commit: ec2de8208417806cc8f4e29e4a798fa527ca7708
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 10 23:11:49 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Oct 10 23:35:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec2de820
dev-lua/mpack: drop 1.0.9-r1
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/Manifest | 1 -
dev-lua/mpack/mpack-1.0.9-r1.ebuild | 116 ------------------------------------
2 files changed, 117 deletions(-)
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
index 47c151b429a8..f492226d7b82 100644
--- a/dev-lua/mpack/Manifest
+++ b/dev-lua/mpack/Manifest
@@ -1,2 +1 @@
DIST mpack-1.0.10.tar.gz 16256 BLAKE2B 56f279be5b84e89a18a6010320eff9f006cfba6df9621e7b4c338a866170a69589e9e50d0d7deb238ff40634f28aa4d0c43a135c6b7fa9a38ec41b8b669945cd SHA512 879e200d806a4aeb3dc31bf44781bb92b377ee86fe3050692179bff794a2748c175135e4ab5eb59f29202bd36ff27ecc26bab07d0c46c11414361f72abf3dc53
-DIST mpack-1.0.9.tar.gz 16087 BLAKE2B 062f0deaa9ea359486933b5736591ea3ee78886e31259b721d88ef44762403185b881d076ca35fe6e8c16ab756d36698fec1ca893ab3667635e388456a8ad417 SHA512 c663a6cb29c1ae3f88baf25d36b076c35b35b96a16f9df472f8063009dc70886071cc27bf9224aceb86afb5c590ac072fd484435f40ecc4961eabfb5df08f395
diff --git a/dev-lua/mpack/mpack-1.0.9-r1.ebuild b/dev-lua/mpack/mpack-1.0.9-r1.ebuild
deleted file mode 100644
index 2cc20b76c877..000000000000
--- a/dev-lua/mpack/mpack-1.0.9-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# 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
-
-MY_PN="lib${PN}-lua"
-
-DESCRIPTION="Lua bindings for libmpack"
-HOMEPAGE="https://github.com/libmpack/libmpack-lua/"
-SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
-IUSE="test"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/libmpack
- ${LUA_DEPS}
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- test? (
- dev-lua/busted[${LUA_USEDEP}]
- dev-lua/lua_cliargs[${LUA_USEDEP}]
- ${RDEPEND}
- )
-"
-
-src_prepare() {
- default
-
- lua_copy_sources
-}
-
-lua_src_compile() {
- pushd "${BUILD_DIR}" || die
-
- local myemakeargs=(
- "CC=$(tc-getCC)"
- "LUA_INCLUDE=$(lua_get_CFLAGS)"
- "LUA_LIB="
- "USE_SYSTEM_MPACK=yes"
- "USE_SYSTEM_LUA=yes"
- )
-
- emake "${myemakeargs[@]}"
-
- popd
-}
-
-src_compile() {
- lua_foreach_impl lua_src_compile
-}
-
-lua_src_test() {
- pushd "${BUILD_DIR}" || die
-
- # "[ FAILED ] test.lua @ 279: mpack should not leak memory"
- # It doesn't seem upstream actually support LuaJIT so were this up to me
- # I would drop it from LUA_COMPAT, unfortunately there are packages in the
- # tree which currently expect it to be supported.
- if [[ ${ELUA} == "luajit" ]]; then
- ewarn "Not running tests under ${ELUA} because they are known to fail"
- return
- fi
-
- busted --lua="${ELUA}" test.lua || die
-
- popd
-}
-
-src_test() {
- lua_foreach_impl lua_src_test
-}
-
-lua_src_install() {
- pushd "${BUILD_DIR}" || die
-
- local installdir="$(lua_get_cmod_dir)"
- local myemakeargs=(
- "DESTDIR=${ED}"
- "LUA_CMOD_INSTALLDIR=${installdir#$EPREFIX}"
- "USE_SYSTEM_MPACK=yes"
- "USE_SYSTEM_LUA=yes"
- )
-
- emake "${myemakeargs[@]}" install
-
- popd
-
- if [[ ${CHOST} == *-darwin* ]] ; then
- local luav=$(lua_get_version)
- # we only want the major version (e.g. 5.1)
- local luamv=${luav:0:3}
- local file="lua/${luamv}/mpack.so"
- install_name_tool \
- -id "${EPREFIX}/usr/$(get_libdir)/${file}" \
- "${ED}/usr/$(get_libdir)/${file}" \
- || die "Failed to adjust install_name"
- fi
-}
-
-src_install() {
- lua_foreach_impl lua_src_install
-
- einstalldocs
-}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2023-08-05 22:41 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2023-08-05 22:41 UTC (permalink / raw
To: gentoo-commits
commit: a780c8beb6b7f7c4a67d73dd3e64e7fdcbeb249c
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 5 22:25:49 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=a780c8be
dev-lua/mpack: fix QA ExcessiveLineLength
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.10.ebuild | 5 ++++-
dev-lua/mpack/mpack-1.0.9-r1.ebuild | 7 +++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/dev-lua/mpack/mpack-1.0.10.ebuild b/dev-lua/mpack/mpack-1.0.10.ebuild
index 2924e676d514..2cc20b76c877 100644
--- a/dev-lua/mpack/mpack-1.0.10.ebuild
+++ b/dev-lua/mpack/mpack-1.0.10.ebuild
@@ -102,7 +102,10 @@ lua_src_install() {
# we only want the major version (e.g. 5.1)
local luamv=${luav:0:3}
local file="lua/${luamv}/mpack.so"
- install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${file}" "${ED}/usr/$(get_libdir)/${file}" || die "Failed to adjust install_name"
+ install_name_tool \
+ -id "${EPREFIX}/usr/$(get_libdir)/${file}" \
+ "${ED}/usr/$(get_libdir)/${file}" \
+ || die "Failed to adjust install_name"
fi
}
diff --git a/dev-lua/mpack/mpack-1.0.9-r1.ebuild b/dev-lua/mpack/mpack-1.0.9-r1.ebuild
index b8990af4c813..2cc20b76c877 100644
--- a/dev-lua/mpack/mpack-1.0.9-r1.ebuild
+++ b/dev-lua/mpack/mpack-1.0.9-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -102,7 +102,10 @@ lua_src_install() {
# we only want the major version (e.g. 5.1)
local luamv=${luav:0:3}
local file="lua/${luamv}/mpack.so"
- install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${file}" "${ED}/usr/$(get_libdir)/${file}" || die "Failed to adjust install_name"
+ install_name_tool \
+ -id "${EPREFIX}/usr/$(get_libdir)/${file}" \
+ "${ED}/usr/$(get_libdir)/${file}" \
+ || die "Failed to adjust install_name"
fi
}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2023-04-20 5:01 Sam James
0 siblings, 0 replies; 50+ messages in thread
From: Sam James @ 2023-04-20 5:01 UTC (permalink / raw
To: gentoo-commits
commit: 264d8926d71612894ca873b02f55afc13e975dc1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 05:00:57 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 05:01:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=264d8926
dev-lua/mpack: Stabilize 1.0.10 x86, #904683
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.10.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.10.ebuild b/dev-lua/mpack/mpack-1.0.10.ebuild
index 40a83db70e1e..2924e676d514 100644
--- a/dev-lua/mpack/mpack-1.0.10.ebuild
+++ b/dev-lua/mpack/mpack-1.0.10.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2023-04-20 4:17 Sam James
0 siblings, 0 replies; 50+ messages in thread
From: Sam James @ 2023-04-20 4:17 UTC (permalink / raw
To: gentoo-commits
commit: 802dcc4882e1b1d142dc312535e60d7fecf42060
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 04:17:03 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 04:17:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=802dcc48
dev-lua/mpack: Stabilize 1.0.10 amd64, #904683
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.10.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.10.ebuild b/dev-lua/mpack/mpack-1.0.10.ebuild
index 60ae13d835e1..40a83db70e1e 100644
--- a/dev-lua/mpack/mpack-1.0.10.ebuild
+++ b/dev-lua/mpack/mpack-1.0.10.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2023-04-20 4:02 Sam James
0 siblings, 0 replies; 50+ messages in thread
From: Sam James @ 2023-04-20 4:02 UTC (permalink / raw
To: gentoo-commits
commit: e19e28a08fe17c5d9d8f47781de099495d996ddd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 04:02:18 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 04:02:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e19e28a0
dev-lua/mpack: Stabilize 1.0.10 arm64, #904683
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.10.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.10.ebuild b/dev-lua/mpack/mpack-1.0.10.ebuild
index 1c6415df4d35..60ae13d835e1 100644
--- a/dev-lua/mpack/mpack-1.0.10.ebuild
+++ b/dev-lua/mpack/mpack-1.0.10.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2023-03-19 22:12 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2023-03-19 22:12 UTC (permalink / raw
To: gentoo-commits
commit: a11d546c00d99701446ae27f25b57cce24fc2ea6
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 19 22:10:47 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 22:12:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a11d546c
dev-lua/mpack: add 1.0.10
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/Manifest | 1 +
dev-lua/mpack/mpack-1.0.10.ebuild | 113 ++++++++++++++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
index 00e09b45279c..47c151b429a8 100644
--- a/dev-lua/mpack/Manifest
+++ b/dev-lua/mpack/Manifest
@@ -1 +1,2 @@
+DIST mpack-1.0.10.tar.gz 16256 BLAKE2B 56f279be5b84e89a18a6010320eff9f006cfba6df9621e7b4c338a866170a69589e9e50d0d7deb238ff40634f28aa4d0c43a135c6b7fa9a38ec41b8b669945cd SHA512 879e200d806a4aeb3dc31bf44781bb92b377ee86fe3050692179bff794a2748c175135e4ab5eb59f29202bd36ff27ecc26bab07d0c46c11414361f72abf3dc53
DIST mpack-1.0.9.tar.gz 16087 BLAKE2B 062f0deaa9ea359486933b5736591ea3ee78886e31259b721d88ef44762403185b881d076ca35fe6e8c16ab756d36698fec1ca893ab3667635e388456a8ad417 SHA512 c663a6cb29c1ae3f88baf25d36b076c35b35b96a16f9df472f8063009dc70886071cc27bf9224aceb86afb5c590ac072fd484435f40ecc4961eabfb5df08f395
diff --git a/dev-lua/mpack/mpack-1.0.10.ebuild b/dev-lua/mpack/mpack-1.0.10.ebuild
new file mode 100644
index 000000000000..1c6415df4d35
--- /dev/null
+++ b/dev-lua/mpack/mpack-1.0.10.ebuild
@@ -0,0 +1,113 @@
+# 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
+
+MY_PN="lib${PN}-lua"
+
+DESCRIPTION="Lua bindings for libmpack"
+HOMEPAGE="https://github.com/libmpack/libmpack-lua/"
+SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+IUSE="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libmpack
+ ${LUA_DEPS}
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ dev-lua/busted[${LUA_USEDEP}]
+ dev-lua/lua_cliargs[${LUA_USEDEP}]
+ ${RDEPEND}
+ )
+"
+
+src_prepare() {
+ default
+
+ lua_copy_sources
+}
+
+lua_src_compile() {
+ pushd "${BUILD_DIR}" || die
+
+ local myemakeargs=(
+ "CC=$(tc-getCC)"
+ "LUA_INCLUDE=$(lua_get_CFLAGS)"
+ "LUA_LIB="
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}"
+
+ popd
+}
+
+src_compile() {
+ lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+ pushd "${BUILD_DIR}" || die
+
+ # "[ FAILED ] test.lua @ 279: mpack should not leak memory"
+ # It doesn't seem upstream actually support LuaJIT so were this up to me
+ # I would drop it from LUA_COMPAT, unfortunately there are packages in the
+ # tree which currently expect it to be supported.
+ if [[ ${ELUA} == "luajit" ]]; then
+ ewarn "Not running tests under ${ELUA} because they are known to fail"
+ return
+ fi
+
+ busted --lua="${ELUA}" test.lua || die
+
+ popd
+}
+
+src_test() {
+ lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+ pushd "${BUILD_DIR}" || die
+
+ local installdir="$(lua_get_cmod_dir)"
+ local myemakeargs=(
+ "DESTDIR=${ED}"
+ "LUA_CMOD_INSTALLDIR=${installdir#$EPREFIX}"
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}" install
+
+ popd
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ local luav=$(lua_get_version)
+ # we only want the major version (e.g. 5.1)
+ local luamv=${luav:0:3}
+ local file="lua/${luamv}/mpack.so"
+ install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${file}" "${ED}/usr/$(get_libdir)/${file}" || die "Failed to adjust install_name"
+ fi
+}
+
+src_install() {
+ lua_foreach_impl lua_src_install
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2022-07-15 7:40 Sam James
0 siblings, 0 replies; 50+ messages in thread
From: Sam James @ 2022-07-15 7:40 UTC (permalink / raw
To: gentoo-commits
commit: f997d705b1230b0bcbb79bc6b14bb150267014a3
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=f997d705
dev-lua/mpack: Stabilize 1.0.9-r1 arm64, #857978
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.9-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.9-r1.ebuild b/dev-lua/mpack/mpack-1.0.9-r1.ebuild
index de1490be4bfc..b8990af4c813 100644
--- a/dev-lua/mpack/mpack-1.0.9-r1.ebuild
+++ b/dev-lua/mpack/mpack-1.0.9-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-11-07 12:37 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2021-11-07 12:37 UTC (permalink / raw
To: gentoo-commits
commit: 2c731ba2d63bc1cc5e0bccb7b4f618666cbd8edb
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 7 11:55:09 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Nov 7 12:37:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c731ba2
dev-lua/mpack: amd64 stable
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.9.ebuild b/dev-lua/mpack/mpack-1.0.9.ebuild
index e31c8d100fa..c071eda14ae 100644
--- a/dev-lua/mpack/mpack-1.0.9.ebuild
+++ b/dev-lua/mpack/mpack-1.0.9.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-11-07 12:37 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2021-11-07 12:37 UTC (permalink / raw
To: gentoo-commits
commit: 77354d476326832de20c899b6a112b75f6e8f6be
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 7 11:57:21 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Nov 7 12:37:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77354d47
dev-lua/mpack: readd riscv keyword
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.9.ebuild b/dev-lua/mpack/mpack-1.0.9.ebuild
index b8aedd1891d..b403ed3deab 100644
--- a/dev-lua/mpack/mpack-1.0.9.ebuild
+++ b/dev-lua/mpack/mpack-1.0.9.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-11-07 12:37 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2021-11-07 12:37 UTC (permalink / raw
To: gentoo-commits
commit: fa17b55ee395abf1009345d964c7dfedb194a50e
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 7 11:56:12 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Nov 7 12:37:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa17b55e
dev-lua/mpack: x86 stable
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.9.ebuild b/dev-lua/mpack/mpack-1.0.9.ebuild
index c071eda14ae..b8aedd1891d 100644
--- a/dev-lua/mpack/mpack-1.0.9.ebuild
+++ b/dev-lua/mpack/mpack-1.0.9.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-10-11 13:47 Yixun Lan
0 siblings, 0 replies; 50+ messages in thread
From: Yixun Lan @ 2021-10-11 13:47 UTC (permalink / raw
To: gentoo-commits
commit: c111317e352310398837c137cd1d16a70e9d126f
Author: Yongxiang Liang <tanekliang <AT> gmail <DOT> com>
AuthorDate: Sun Oct 10 15:14:08 2021 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Mon Oct 11 13:46:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c111317e
dev-lua/mpack: 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/mpack/mpack-1.0.8-r100.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index b8aedd1891d..b403ed3deab 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-10-06 10:50 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2021-10-06 10:50 UTC (permalink / raw
To: gentoo-commits
commit: 442ce5205b1229093e2973d96d8ad6b6c32f2c6a
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 6 10:49:11 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Oct 6 10:49:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=442ce520
dev-lua/mpack: update homepage
Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8-r100.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index f26a805ece1..b8aedd1891d 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -10,7 +10,7 @@ inherit lua toolchain-funcs
MY_PN="lib${PN}-lua"
DESCRIPTION="Lua bindings for libmpack"
-HOMEPAGE="https://github.com/libmpack/libmpack/"
+HOMEPAGE="https://github.com/libmpack/libmpack-lua/"
SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-10-06 10:50 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2021-10-06 10:50 UTC (permalink / raw
To: gentoo-commits
commit: 6ff78d6a6538763f7a940f069385f0df73b66b85
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 6 10:45:24 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Oct 6 10:49:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ff78d6a
dev-lua/mpack: bump to version 1.0.9
Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/Manifest | 1 +
dev-lua/mpack/mpack-1.0.9.ebuild | 113 +++++++++++++++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
index e07fd5b835f..fc341f3a2e8 100644
--- a/dev-lua/mpack/Manifest
+++ b/dev-lua/mpack/Manifest
@@ -1 +1,2 @@
DIST mpack-1.0.8.tar.gz 15616 BLAKE2B 06593296d1d36459127bf35eaeb37c894a0c0c6ccff0969cd0a82bee1920a715801db26f0ba0bc54a56399d07efc262666ee4ce79878288a5c0221fd27febea1 SHA512 6d21cc6bbdee583a1d808742991459e4b1796f347b2f4eaa747b576f5bb1ca989123339120e43246bac859c20e6f46ac57116ce9f135157256fecbd8cf817f75
+DIST mpack-1.0.9.tar.gz 16087 BLAKE2B 062f0deaa9ea359486933b5736591ea3ee78886e31259b721d88ef44762403185b881d076ca35fe6e8c16ab756d36698fec1ca893ab3667635e388456a8ad417 SHA512 c663a6cb29c1ae3f88baf25d36b076c35b35b96a16f9df472f8063009dc70886071cc27bf9224aceb86afb5c590ac072fd484435f40ecc4961eabfb5df08f395
diff --git a/dev-lua/mpack/mpack-1.0.9.ebuild b/dev-lua/mpack/mpack-1.0.9.ebuild
new file mode 100644
index 00000000000..e31c8d100fa
--- /dev/null
+++ b/dev-lua/mpack/mpack-1.0.9.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua toolchain-funcs
+
+MY_PN="lib${PN}-lua"
+
+DESCRIPTION="Lua bindings for libmpack"
+HOMEPAGE="https://github.com/libmpack/libmpack-lua/"
+SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
+IUSE="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libmpack
+ ${LUA_DEPS}
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ dev-lua/busted[${LUA_USEDEP}]
+ dev-lua/lua_cliargs[${LUA_USEDEP}]
+ ${RDEPEND}
+ )
+"
+
+src_prepare() {
+ default
+
+ lua_copy_sources
+}
+
+lua_src_compile() {
+ pushd "${BUILD_DIR}" || die
+
+ local myemakeargs=(
+ "CC=$(tc-getCC)"
+ "LUA_INCLUDE=$(lua_get_CFLAGS)"
+ "LUA_LIB="
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}"
+
+ popd
+}
+
+src_compile() {
+ lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+ pushd "${BUILD_DIR}" || die
+
+ # "[ FAILED ] test.lua @ 279: mpack should not leak memory"
+ # It doesn't seem upstream actually support LuaJIT so were this up to me
+ # I would drop it from LUA_COMPAT, unfortunately there are packages in the
+ # tree which currently expect it to be supported.
+ if [[ ${ELUA} == "luajit" ]]; then
+ ewarn "Not running tests under ${ELUA} because they are known to fail"
+ return
+ fi
+
+ busted --lua="${ELUA}" test.lua || die
+
+ popd
+}
+
+src_test() {
+ lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+ pushd "${BUILD_DIR}" || die
+
+ local installdir="$(lua_get_cmod_dir)"
+ local myemakeargs=(
+ "DESTDIR=${ED}"
+ "LUA_CMOD_INSTALLDIR=${installdir#$EPREFIX}"
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}" install
+
+ popd
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ local luav=$(lua_get_version)
+ # we only want the major version (e.g. 5.1)
+ local luamv=${luav:0:3}
+ local file="lua/${luamv}/mpack.so"
+ install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${file}" "${ED}/usr/$(get_libdir)/${file}" || die "Failed to adjust install_name"
+ fi
+}
+
+src_install() {
+ lua_foreach_impl lua_src_install
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-06-27 20:03 Aaron Bauman
0 siblings, 0 replies; 50+ messages in thread
From: Aaron Bauman @ 2021-06-27 20:03 UTC (permalink / raw
To: gentoo-commits
commit: 24b61864615d2c975cbf4b27f421574bcf4fefdb
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 27 19:54:05 2021 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sun Jun 27 19:54:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24b61864
dev-lua/mpack: keyword x64-macos and fix install
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8-r100.ebuild | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index b573bd2b996..f26a805ece1 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
@@ -96,6 +96,14 @@ lua_src_install() {
emake "${myemakeargs[@]}" install
popd
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ local luav=$(lua_get_version)
+ # we only want the major version (e.g. 5.1)
+ local luamv=${luav:0:3}
+ local file="lua/${luamv}/mpack.so"
+ install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${file}" "${ED}/usr/$(get_libdir)/${file}" || die "Failed to adjust install_name"
+ fi
}
src_install() {
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-06-02 22:07 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2021-06-02 22:07 UTC (permalink / raw
To: gentoo-commits
commit: 061b4f7ababaf3fb237986b18726c5a73dfd194c
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 2 22:00:18 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Jun 2 22:06:45 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=061b4f7a
dev-lua/mpack: fix double prefix
Closes: https://bugs.gentoo.org/793248
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8-r100.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index adbaa854e46..b573bd2b996 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -85,9 +85,10 @@ src_test() {
lua_src_install() {
pushd "${BUILD_DIR}" || die
+ local installdir="$(lua_get_cmod_dir)"
local myemakeargs=(
"DESTDIR=${ED}"
- "LUA_CMOD_INSTALLDIR=$(lua_get_cmod_dir)"
+ "LUA_CMOD_INSTALLDIR=${installdir#$EPREFIX}"
"USE_SYSTEM_MPACK=yes"
"USE_SYSTEM_LUA=yes"
)
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-04-22 19:31 Sergei Trofimovich
0 siblings, 0 replies; 50+ messages in thread
From: Sergei Trofimovich @ 2021-04-22 19:31 UTC (permalink / raw
To: gentoo-commits
commit: 2ab58156f6ec8fdd93a99406a53922bba3b1de93
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Thu Apr 22 19:25:39 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Apr 22 19:30:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ab58156
dev-lua/mpack: keyworded 1.0.8-r100 for hppa/sparc, bug #783420
Package-Manager: Portage-3.0.17, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa sparc"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8-r100.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index 7116644b690..adbaa854e46 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-04-21 21:03 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2021-04-21 21:03 UTC (permalink / raw
To: gentoo-commits
commit: e8319587445b7e0ae81f1d49798a314177fba8ce
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 21 21:02:38 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Apr 21 21:02:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8319587
dev-lua/mpack: add missing cliargs for test
Closes: https://bugs.gentoo.org/784848
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8-r100.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index b2f7d532f5a..7116644b690 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -30,6 +30,7 @@ BDEPEND="
virtual/pkgconfig
test? (
dev-lua/busted[${LUA_USEDEP}]
+ dev-lua/lua_cliargs[${LUA_USEDEP}]
${RDEPEND}
)
"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-04-21 20:44 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2021-04-21 20:44 UTC (permalink / raw
To: gentoo-commits
commit: fde01b70e0caf55ff8e2fee2ce024f69325c8429
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 21 20:43:14 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Apr 21 20:43:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fde01b70
dev-lua/mpack: add missing LUA_REQUIRED_USE
Closes: https://bugs.gentoo.org/784170
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8-r100.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index adadf5620c2..b2f7d532f5a 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 x86"
IUSE="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
RDEPEND="
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-04-21 20:29 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2021-04-21 20:29 UTC (permalink / raw
To: gentoo-commits
commit: 9ec208656cff6641ae5da1d6bd9893735974507a
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 21 20:29:21 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Apr 21 20:29:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ec20865
dev-lua/mpack: add ~ppc ~ppc64 keyword
Closes: https://bugs.gentoo.org/783423
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8-r100.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index 46492c5bfd3..adadf5620c2 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-04-20 21:20 Sergei Trofimovich
0 siblings, 0 replies; 50+ messages in thread
From: Sergei Trofimovich @ 2021-04-20 21:20 UTC (permalink / raw
To: gentoo-commits
commit: 5fa030bb092dbf49e5e91357bf8d575780808053
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 20 21:16:29 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Apr 20 21:20:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fa030bb
dev-lua/mpack: keyworded 1.0.8-r100 for ia64
keyworded wrt bug #783420
Package-Manager: Portage-3.0.18, Repoman-3.0.3
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8-r100.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index a1c30a108a6..46492c5bfd3 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-03-16 17:37 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2021-03-16 17:37 UTC (permalink / raw
To: gentoo-commits
commit: 5abd8de87bec36db2c93e24abaafe77357518a0f
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 16 17:23:04 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=5abd8de8
dev-lua/mpack: add lua5-4 support
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8-r100.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index 68c6968289e..a1c30a108a6 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-LUA_COMPAT=( lua5-{1..3} luajit )
+LUA_COMPAT=( lua5-{1..4} luajit )
inherit lua toolchain-funcs
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-03-05 8:58 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2021-03-05 8:58 UTC (permalink / raw
To: gentoo-commits
commit: ebe59dc681fe9c744505f5c11dd9d8485e037fb2
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 5 08:58:40 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Mar 5 08:58:40 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe59dc6
dev-lua/mpack: fix tests
Closes: https://bugs.gentoo.org/774273
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8-r100.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index e64d78d190e..68c6968289e 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -60,6 +60,8 @@ src_compile() {
}
lua_src_test() {
+ pushd "${BUILD_DIR}" || die
+
# "[ FAILED ] test.lua @ 279: mpack should not leak memory"
# It doesn't seem upstream actually support LuaJIT so were this up to me
# I would drop it from LUA_COMPAT, unfortunately there are packages in the
@@ -70,6 +72,8 @@ lua_src_test() {
fi
busted --lua="${ELUA}" test.lua || die
+
+ popd
}
src_test() {
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2021-01-25 17:38 Marek Szuba
0 siblings, 0 replies; 50+ messages in thread
From: Marek Szuba @ 2021-01-25 17:38 UTC (permalink / raw
To: gentoo-commits
commit: 724c7fcde9b3fb7f049a71d6a8607ad58c5a3402
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 25 14:08:57 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Jan 25 17:37:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=724c7fcd
dev-lua/mpack: remove old
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-lua/mpack/Manifest | 1 -
dev-lua/mpack/mpack-1.0.4.ebuild | 46 ------------------------
dev-lua/mpack/mpack-1.0.8-r1.ebuild | 71 -------------------------------------
3 files changed, 118 deletions(-)
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
index 8b7ebcc7d5b..e07fd5b835f 100644
--- a/dev-lua/mpack/Manifest
+++ b/dev-lua/mpack/Manifest
@@ -1,2 +1 @@
-DIST mpack-1.0.4.tar.gz 46382 BLAKE2B 5092830e1a970ad96686ede4d96833a210543418cb23f218ba774bfd724267344f9e44e367490bb33dae8023e1145202ea6e457be7753a426eae990df906547d SHA512 8e40a562faf8b62137dec0733cbb9006fa7054e5a47bdd128fb4dfd676fac4e4385a23c3d908a4ce2edd65d673db25916695fa74bc08c5316b0c80e571a7442c
DIST mpack-1.0.8.tar.gz 15616 BLAKE2B 06593296d1d36459127bf35eaeb37c894a0c0c6ccff0969cd0a82bee1920a715801db26f0ba0bc54a56399d07efc262666ee4ce79878288a5c0221fd27febea1 SHA512 6d21cc6bbdee583a1d808742991459e4b1796f347b2f4eaa747b576f5bb1ca989123339120e43246bac859c20e6f46ac57116ce9f135157256fecbd8cf817f75
diff --git a/dev-lua/mpack/mpack-1.0.4.ebuild b/dev-lua/mpack/mpack-1.0.4.ebuild
deleted file mode 100644
index 0ad6a94afed..00000000000
--- a/dev-lua/mpack/mpack-1.0.4.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Lua bindings for libmpack"
-HOMEPAGE="https://github.com/libmpack/libmpack/"
-SRC_URI="https://github.com/libmpack/libmpack/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/libmpack-${PV}/binding/lua"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-IUSE="luajit test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- !luajit? ( >=dev-lang/lua-5.1:0= )
- luajit? ( dev-lang/luajit:2= )"
-
-DEPEND="
- ${RDEPEND}
- virtual/pkgconfig
- test? ( dev-lua/busted )"
-
-src_compile() {
- emake \
- CC="$(tc-getCC)" \
- USE_SYSTEM_LUA=yes \
- LUA_INCLUDE="$($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua'))" \
- LUA_LIB="$($(tc-getPKG_CONFIG) --libs $(usex luajit 'luajit' 'lua'))"
-}
-
-src_test() {
- busted -o gtest test.lua || die
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- USE_SYSTEM_LUA=yes \
- LUA_CMOD_INSTALLDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" \
- install
-}
diff --git a/dev-lua/mpack/mpack-1.0.8-r1.ebuild b/dev-lua/mpack/mpack-1.0.8-r1.ebuild
deleted file mode 100644
index 6a4b3afa624..00000000000
--- a/dev-lua/mpack/mpack-1.0.8-r1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-MY_PN="lib${PN}-lua"
-
-DESCRIPTION="Lua bindings for libmpack"
-HOMEPAGE="https://github.com/libmpack/libmpack/"
-SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="luajit test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/libmpack
- luajit? ( dev-lang/luajit:2= )
- !luajit? ( >=dev-lang/lua-5.1:0= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- test? (
- dev-lua/busted
- ${RDEPEND}
- )
-"
-
-src_compile() {
- local myemakeargs=(
- "CC=$(tc-getCC)"
- "LUA_INCLUDE=$($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua'))"
- "LUA_LIB=$($(tc-getPKG_CONFIG) --libs $(usex luajit 'luajit' 'lua'))"
- "USE_SYSTEM_MPACK=yes"
- "USE_SYSTEM_LUA=yes"
- )
-
- emake "${myemakeargs[@]}"
-}
-
-src_test() {
- if use luajit; then
- # "[ FAILED ] test.lua @ 279: mpack should not leak memory"
- # It doesn't seem upstream actually support LuaJIT so were this up to me
- # I would drop it from LUA_COMPAT, unfortunately there are packages in the
- # tree which currently expect it to be supported.
- ewarn "Not running tests under ${ELUA} because they are known to fail"
- return
- else
- busted --lua=lua test.lua || die
- fi
-}
-
-src_install() {
- local myemakeargs=(
- "DESTDIR=${ED}"
- "LUA_CMOD_INSTALLDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
- "USE_SYSTEM_MPACK=yes"
- "USE_SYSTEM_LUA=yes"
- )
-
- emake "${myemakeargs[@]}" install
-
- einstalldocs
-}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2020-12-03 13:50 Marek Szuba
0 siblings, 0 replies; 50+ messages in thread
From: Marek Szuba @ 2020-12-03 13:50 UTC (permalink / raw
To: gentoo-commits
commit: 5454cafcd4e97da6a8f3c8000ba89ccc379becb7
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 3 13:23:08 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Dec 3 13:49:40 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5454cafc
dev-lua/mpack: limit unmigrated ebuilds to dev-lang/lua:0
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.4.ebuild | 2 +-
dev-lua/mpack/mpack-1.0.8-r1.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-lua/mpack/mpack-1.0.4.ebuild b/dev-lua/mpack/mpack-1.0.4.ebuild
index 2e8a8290a19..0ad6a94afed 100644
--- a/dev-lua/mpack/mpack-1.0.4.ebuild
+++ b/dev-lua/mpack/mpack-1.0.4.ebuild
@@ -17,7 +17,7 @@ IUSE="luajit test"
RESTRICT="!test? ( test )"
RDEPEND="
- !luajit? ( >=dev-lang/lua-5.1:= )
+ !luajit? ( >=dev-lang/lua-5.1:0= )
luajit? ( dev-lang/luajit:2= )"
DEPEND="
diff --git a/dev-lua/mpack/mpack-1.0.8-r1.ebuild b/dev-lua/mpack/mpack-1.0.8-r1.ebuild
index fdd916f2c07..6a4b3afa624 100644
--- a/dev-lua/mpack/mpack-1.0.8-r1.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r1.ebuild
@@ -21,7 +21,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/libmpack
luajit? ( dev-lang/luajit:2= )
- !luajit? ( >=dev-lang/lua-5.1:= )
+ !luajit? ( >=dev-lang/lua-5.1:0= )
"
DEPEND="${RDEPEND}"
BDEPEND="
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2020-12-01 10:18 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2020-12-01 10:18 UTC (permalink / raw
To: gentoo-commits
commit: b86bc3a3eda2405c55983cf5fadd328d379e573a
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 1 10:16:48 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Dec 1 10:16:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b86bc3a3
dev-lua/mpack: fix reversed deps
Closes: https://bugs.gentoo.org/757831
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8-r1.ebuild | 71 +++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
diff --git a/dev-lua/mpack/mpack-1.0.8-r1.ebuild b/dev-lua/mpack/mpack-1.0.8-r1.ebuild
new file mode 100644
index 00000000000..fdd916f2c07
--- /dev/null
+++ b/dev-lua/mpack/mpack-1.0.8-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_PN="lib${PN}-lua"
+
+DESCRIPTION="Lua bindings for libmpack"
+HOMEPAGE="https://github.com/libmpack/libmpack/"
+SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="luajit test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libmpack
+ luajit? ( dev-lang/luajit:2= )
+ !luajit? ( >=dev-lang/lua-5.1:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ dev-lua/busted
+ ${RDEPEND}
+ )
+"
+
+src_compile() {
+ local myemakeargs=(
+ "CC=$(tc-getCC)"
+ "LUA_INCLUDE=$($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua'))"
+ "LUA_LIB=$($(tc-getPKG_CONFIG) --libs $(usex luajit 'luajit' 'lua'))"
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}"
+}
+
+src_test() {
+ if use luajit; then
+ # "[ FAILED ] test.lua @ 279: mpack should not leak memory"
+ # It doesn't seem upstream actually support LuaJIT so were this up to me
+ # I would drop it from LUA_COMPAT, unfortunately there are packages in the
+ # tree which currently expect it to be supported.
+ ewarn "Not running tests under ${ELUA} because they are known to fail"
+ return
+ else
+ busted --lua=lua test.lua || die
+ fi
+}
+
+src_install() {
+ local myemakeargs=(
+ "DESTDIR=${ED}"
+ "LUA_CMOD_INSTALLDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}" install
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2020-11-29 21:41 Marek Szuba
0 siblings, 0 replies; 50+ messages in thread
From: Marek Szuba @ 2020-11-29 21:41 UTC (permalink / raw
To: gentoo-commits
commit: 7f38bd0912d42969ddb878fa935c5b8ca1af06f7
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 21:34:34 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 21:34:34 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f38bd09
dev-lua/mpack: declare MY_PN after inheriting eclasses
Just in case.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8-r100.ebuild | 3 ++-
dev-lua/mpack/mpack-1.0.8.ebuild | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index 6bc69d68ebf..44fc7850101 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -4,10 +4,11 @@
EAPI=7
LUA_COMPAT=( lua5-{1..3} luajit )
-MY_PN="lib${PN}-lua"
inherit lua toolchain-funcs
+MY_PN="lib${PN}-lua"
+
DESCRIPTION="Lua bindings for libmpack"
HOMEPAGE="https://github.com/libmpack/libmpack/"
SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
diff --git a/dev-lua/mpack/mpack-1.0.8.ebuild b/dev-lua/mpack/mpack-1.0.8.ebuild
index d43aed70bcc..dd44907c3fd 100644
--- a/dev-lua/mpack/mpack-1.0.8.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8.ebuild
@@ -3,10 +3,10 @@
EAPI=7
-MY_PN="lib${PN}-lua"
-
inherit toolchain-funcs
+MY_PN="lib${PN}-lua"
+
DESCRIPTION="Lua bindings for libmpack"
HOMEPAGE="https://github.com/libmpack/libmpack/"
SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2020-11-29 21:41 Marek Szuba
0 siblings, 0 replies; 50+ messages in thread
From: Marek Szuba @ 2020-11-29 21:41 UTC (permalink / raw
To: gentoo-commits
commit: 34391f48cdfee4547483c5a3e03e0fb7df31fedc
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 21:37:57 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 21:37:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34391f48
dev-lua/mpack: remove dev-lua/busted version requirement
The LUA_USEDEP bit is sufficient to pull in a version migrated to Lua
eclasses, regardless of whether it is 2.0.0 or we end up with an
unmigrated newer Busted release in the tree before unmasking slotted
Lua.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8-r100.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index 44fc7850101..d9777b4051f 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -28,7 +28,7 @@ DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
test? (
- >=dev-lua/busted-2.0.0-r100[${LUA_USEDEP}]
+ dev-lua/busted[${LUA_USEDEP}]
${RDEPEND}
)
"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2020-11-29 18:49 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2020-11-29 18:49 UTC (permalink / raw
To: gentoo-commits
commit: a953d9771f23a7f2646bdd23e7c194a5a5428fbd
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 18:48:02 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 18:48:26 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a953d977
dev-lua/mpack: bump to version 1.0.8 (non slotted lua)
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/mpack-1.0.8.ebuild | 71 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
diff --git a/dev-lua/mpack/mpack-1.0.8.ebuild b/dev-lua/mpack/mpack-1.0.8.ebuild
new file mode 100644
index 00000000000..d43aed70bcc
--- /dev/null
+++ b/dev-lua/mpack/mpack-1.0.8.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="lib${PN}-lua"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Lua bindings for libmpack"
+HOMEPAGE="https://github.com/libmpack/libmpack/"
+SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="luajit test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libmpack
+ luajit? ( >=dev-lang/lua-5.1:= )
+ !luajit? ( dev-lang/luajit:2= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ dev-lua/busted
+ ${RDEPEND}
+ )
+"
+
+src_compile() {
+ local myemakeargs=(
+ "CC=$(tc-getCC)"
+ "LUA_INCLUDE=$($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua'))"
+ "LUA_LIB=$($(tc-getPKG_CONFIG) --libs $(usex luajit 'luajit' 'lua'))"
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}"
+}
+
+src_test() {
+ if use luajit; then
+ # "[ FAILED ] test.lua @ 279: mpack should not leak memory"
+ # It doesn't seem upstream actually support LuaJIT so were this up to me
+ # I would drop it from LUA_COMPAT, unfortunately there are packages in the
+ # tree which currently expect it to be supported.
+ ewarn "Not running tests under ${ELUA} because they are known to fail"
+ return
+ else
+ busted --lua=lua test.lua || die
+ fi
+}
+
+src_install() {
+ local myemakeargs=(
+ "DESTDIR=${ED}"
+ "LUA_CMOD_INSTALLDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}" install
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2020-11-29 18:49 Conrad Kostecki
0 siblings, 0 replies; 50+ messages in thread
From: Conrad Kostecki @ 2020-11-29 18:49 UTC (permalink / raw
To: gentoo-commits
commit: a5e71f61c7db2fa458cffa6571e4f11de7cbc6a3
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 18:35:07 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 18:48:24 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5e71f61
dev-lua/mpack: bump to version 1.0.8 (slotted lua)
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/mpack/Manifest | 1 +
dev-lua/mpack/metadata.xml | 7 ++-
dev-lua/mpack/mpack-1.0.8-r100.ebuild | 97 +++++++++++++++++++++++++++++++++++
3 files changed, 103 insertions(+), 2 deletions(-)
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
index 34119b47d3b..8b7ebcc7d5b 100644
--- a/dev-lua/mpack/Manifest
+++ b/dev-lua/mpack/Manifest
@@ -1 +1,2 @@
DIST mpack-1.0.4.tar.gz 46382 BLAKE2B 5092830e1a970ad96686ede4d96833a210543418cb23f218ba774bfd724267344f9e44e367490bb33dae8023e1145202ea6e457be7753a426eae990df906547d SHA512 8e40a562faf8b62137dec0733cbb9006fa7054e5a47bdd128fb4dfd676fac4e4385a23c3d908a4ce2edd65d673db25916695fa74bc08c5316b0c80e571a7442c
+DIST mpack-1.0.8.tar.gz 15616 BLAKE2B 06593296d1d36459127bf35eaeb37c894a0c0c6ccff0969cd0a82bee1920a715801db26f0ba0bc54a56399d07efc262666ee4ce79878288a5c0221fd27febea1 SHA512 6d21cc6bbdee583a1d808742991459e4b1796f347b2f4eaa747b576f5bb1ca989123339120e43246bac859c20e6f46ac57116ce9f135157256fecbd8cf817f75
diff --git a/dev-lua/mpack/metadata.xml b/dev-lua/mpack/metadata.xml
index efac9884a41..c3e9e12ed26 100644
--- a/dev-lua/mpack/metadata.xml
+++ b/dev-lua/mpack/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
<upstream>
- <remote-id type="github">libmpack/libmpack</remote-id>
+ <remote-id type="github">libmpack/libmpack-lua</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
new file mode 100644
index 00000000000..6bc69d68ebf
--- /dev/null
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..3} luajit )
+MY_PN="lib${PN}-lua"
+
+inherit lua toolchain-funcs
+
+DESCRIPTION="Lua bindings for libmpack"
+HOMEPAGE="https://github.com/libmpack/libmpack/"
+SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libmpack
+ ${LUA_DEPS}
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ >=dev-lua/busted-2.0.0-r100[${LUA_USEDEP}]
+ ${RDEPEND}
+ )
+"
+
+src_prepare() {
+ default
+
+ lua_copy_sources
+}
+
+lua_src_compile() {
+ pushd "${BUILD_DIR}" || die
+
+ local myemakeargs=(
+ "CC=$(tc-getCC)"
+ "LUA_INCLUDE=$(lua_get_CFLAGS)"
+ "LUA_LIB="
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}"
+
+ popd
+}
+
+src_compile() {
+ lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+ # "[ FAILED ] test.lua @ 279: mpack should not leak memory"
+ # It doesn't seem upstream actually support LuaJIT so were this up to me
+ # I would drop it from LUA_COMPAT, unfortunately there are packages in the
+ # tree which currently expect it to be supported.
+ if [[ ${ELUA} == "luajit" ]]; then
+ ewarn "Not running tests under ${ELUA} because they are known to fail"
+ return
+ fi
+
+ busted --lua="${ELUA}" test.lua || die
+}
+
+src_test() {
+ lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+ pushd "${BUILD_DIR}" || die
+
+ local myemakeargs=(
+ "DESTDIR=${ED}"
+ "LUA_CMOD_INSTALLDIR=$(lua_get_cmod_dir)"
+ "USE_SYSTEM_MPACK=yes"
+ "USE_SYSTEM_LUA=yes"
+ )
+
+ emake "${myemakeargs[@]}" install
+
+ popd
+}
+
+src_install() {
+ lua_foreach_impl lua_src_install
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2020-07-20 9:01 Joonas Niilola
0 siblings, 0 replies; 50+ messages in thread
From: Joonas Niilola @ 2020-07-20 9:01 UTC (permalink / raw
To: gentoo-commits
commit: 39776302b09716b9326a4fded2ce2178ad2c80f6
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Jul 4 07:11:31 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jul 20 09:01:18 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39776302
dev-lua/mpack: update github link
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-lua/mpack/metadata.xml | 2 +-
dev-lua/mpack/mpack-1.0.4.ebuild | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-lua/mpack/metadata.xml b/dev-lua/mpack/metadata.xml
index ee1dc590951..efac9884a41 100644
--- a/dev-lua/mpack/metadata.xml
+++ b/dev-lua/mpack/metadata.xml
@@ -3,6 +3,6 @@
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
- <remote-id type="github">tarruda/libmpack</remote-id>
+ <remote-id type="github">libmpack/libmpack</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-lua/mpack/mpack-1.0.4.ebuild b/dev-lua/mpack/mpack-1.0.4.ebuild
index 06fdd92124c..314cdc9708b 100644
--- a/dev-lua/mpack/mpack-1.0.4.ebuild
+++ b/dev-lua/mpack/mpack-1.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -6,8 +6,8 @@ EAPI=6
inherit toolchain-funcs
DESCRIPTION="Lua bindings for libmpack"
-HOMEPAGE="https://github.com/tarruda/libmpack/"
-SRC_URI="https://github.com/tarruda/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/libmpack/libmpack/"
+SRC_URI="https://github.com/libmpack/libmpack/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/libmpack-${PV}/binding/lua"
LICENSE="MIT"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2019-04-20 19:01 Mikle Kolyada
0 siblings, 0 replies; 50+ messages in thread
From: Mikle Kolyada @ 2019-04-20 19:01 UTC (permalink / raw
To: gentoo-commits
commit: eacce52c7dde4eff45b33c94dcdb90d160694b13
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 20 19:00:42 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Apr 20 19:00:42 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eacce52c
dev-lua/mpack: Add ~arm keyword wrt bug #676688
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="~arm"
dev-lua/mpack/mpack-1.0.4.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-lua/mpack/mpack-1.0.4.ebuild b/dev-lua/mpack/mpack-1.0.4.ebuild
index 354d35b5779..2c65a7b361e 100644
--- a/dev-lua/mpack/mpack-1.0.4.ebuild
+++ b/dev-lua/mpack/mpack-1.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,7 +12,7 @@ S="${WORKDIR}/libmpack-${PV}/binding/lua"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~arm x86"
IUSE="luajit test"
RDEPEND="
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2018-07-07 12:15 Jonas Stein
0 siblings, 0 replies; 50+ messages in thread
From: Jonas Stein @ 2018-07-07 12:15 UTC (permalink / raw
To: gentoo-commits
commit: a0a9f7ccaa89f5c81a47650a4ebcb6b7b3825cf9
Author: Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 7 09:21:05 2018 +0000
Commit: Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Sat Jul 7 12:14:36 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a9f7cc
dev-lua/mpack: Maintainer retired
Proxied maintainer retired.
Bug: https://bugs.gentoo.org/617928
Package-Manager: Portage-2.3.41, Repoman-2.3.9
dev-lua/mpack/metadata.xml | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/dev-lua/mpack/metadata.xml b/dev-lua/mpack/metadata.xml
index 9afcf4848c6..ee1dc590951 100644
--- a/dev-lua/mpack/metadata.xml
+++ b/dev-lua/mpack/metadata.xml
@@ -1,14 +1,7 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>lluixhi@gmail.com</email>
- <name>Aric Belsito</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
+ <!-- maintainer-needed -->
<upstream>
<remote-id type="github">tarruda/libmpack</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2018-01-05 11:18 Patrice Clement
0 siblings, 0 replies; 50+ messages in thread
From: Patrice Clement @ 2018-01-05 11:18 UTC (permalink / raw
To: gentoo-commits
commit: 68399ad689bb68e8c0ac87db1241104b6022215c
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 5 10:50:36 2018 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jan 5 11:18:27 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68399ad6
dev-lua/mpack: clean up old.
Package-Manager: Portage-2.3.13, Repoman-2.3.3
dev-lua/mpack/Manifest | 2 --
dev-lua/mpack/mpack-1.0.2.ebuild | 35 ---------------------------------
dev-lua/mpack/mpack-1.0.3.ebuild | 42 ----------------------------------------
3 files changed, 79 deletions(-)
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
index f983f57b8a5..34119b47d3b 100644
--- a/dev-lua/mpack/Manifest
+++ b/dev-lua/mpack/Manifest
@@ -1,3 +1 @@
-DIST mpack-1.0.2.tar.gz 44671 BLAKE2B 2c1760d2920a6b1d87f8abf1a3c0b91889d75bb80bf956fdbabe651e30543fb3fd5f34ed30f311534583cdfee438c218a6be228f5ff67f823dec46baa3498271 SHA512 307ae26799e59224dd624d1f5473c86d5cf975155c58b7ccfd17be98321afb0f7235d06a7a2c50112d4630b3cc7c185c9b307007be5cdbd792819ec2991fa3d2
-DIST mpack-1.0.3.tar.gz 45720 BLAKE2B 13b9e1586ebd377ba2fa037f817180a9ee509d89d8760a98b59a85b149efb52f0b0bac04d6d46adf0ba1ef0204b13179471b40b495d50e5a1e20e4f293d33c60 SHA512 3024d2830d83a7572a648ee6074467e2096dc6af7c92aaf3c6531e4c25c1c57d9853a60f5b2d1f50039ceeb80bae83f8fdc7241fa48f789cb636bba32fc2a9ba
DIST mpack-1.0.4.tar.gz 46382 BLAKE2B 5092830e1a970ad96686ede4d96833a210543418cb23f218ba774bfd724267344f9e44e367490bb33dae8023e1145202ea6e457be7753a426eae990df906547d SHA512 8e40a562faf8b62137dec0733cbb9006fa7054e5a47bdd128fb4dfd676fac4e4385a23c3d908a4ce2edd65d673db25916695fa74bc08c5316b0c80e571a7442c
diff --git a/dev-lua/mpack/mpack-1.0.2.ebuild b/dev-lua/mpack/mpack-1.0.2.ebuild
deleted file mode 100644
index 40bf46a7e6a..00000000000
--- a/dev-lua/mpack/mpack-1.0.2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Lua bindings for libmpack"
-HOMEPAGE="https://github.com/tarruda/libmpack/"
-SRC_URI="https://github.com/tarruda/libmpack/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/libmpack-${PV}/binding/lua"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="luajit test"
-
-RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
- luajit? ( dev-lang/luajit:2= )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- test? ( dev-lua/busted )"
-
-src_compile() {
- $(tc-getCC) ${CFLAGS} ${LDFLAGS} $($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua')) -fPIC -DPIC -shared lmpack.c -o mpack.so || die
-}
-
-src_test() {
- busted -o gtest test.lua || die
-}
-
-src_install() {
- exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
- doexe mpack.so
-}
diff --git a/dev-lua/mpack/mpack-1.0.3.ebuild b/dev-lua/mpack/mpack-1.0.3.ebuild
deleted file mode 100644
index 8c3b450c302..00000000000
--- a/dev-lua/mpack/mpack-1.0.3.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Lua bindings for libmpack"
-HOMEPAGE="https://github.com/tarruda/libmpack/"
-SRC_URI="https://github.com/tarruda/libmpack/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/libmpack-${PV}/binding/lua"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="luajit test"
-
-RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
- luajit? ( dev-lang/luajit:2= )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- test? ( dev-lua/busted )"
-
-src_compile() {
- emake \
- CC="$(tc-getCC)" \
- USE_SYSTEM_LUA=yes \
- LUA_INCLUDE="$($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua'))" \
- LUA_LIB="$($(tc-getPKG_CONFIG) --libs $(usex luajit 'luajit' 'lua'))"
-}
-
-src_test() {
- busted -o gtest test.lua || die
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- USE_SYSTEM_LUA=yes \
- LUA_CMOD_INSTALLDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" \
- install
-}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2018-01-05 11:18 Patrice Clement
0 siblings, 0 replies; 50+ messages in thread
From: Patrice Clement @ 2018-01-05 11:18 UTC (permalink / raw
To: gentoo-commits
commit: e68f77315aa6d0b1eca24e334d2ef4655225d548
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 5 10:33:51 2018 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jan 5 11:18:25 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e68f7731
dev-lua/mpack: stable for amd64+x86.
Package-Manager: Portage-2.3.13, Repoman-2.3.3
dev-lua/mpack/mpack-1.0.4.ebuild | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/dev-lua/mpack/mpack-1.0.4.ebuild b/dev-lua/mpack/mpack-1.0.4.ebuild
index 8665ccc4f90..354d35b5779 100644
--- a/dev-lua/mpack/mpack-1.0.4.ebuild
+++ b/dev-lua/mpack/mpack-1.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -7,17 +7,20 @@ inherit toolchain-funcs
DESCRIPTION="Lua bindings for libmpack"
HOMEPAGE="https://github.com/tarruda/libmpack/"
-SRC_URI="https://github.com/tarruda/libmpack/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/tarruda/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/libmpack-${PV}/binding/lua"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="luajit test"
-RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
+RDEPEND="
+ !luajit? ( >=dev-lang/lua-5.1:= )
luajit? ( dev-lang/luajit:2= )"
-DEPEND="${RDEPEND}
+
+DEPEND="
+ ${RDEPEND}
virtual/pkgconfig
test? ( dev-lua/busted )"
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2017-03-16 10:27 Michael Palimaka
0 siblings, 0 replies; 50+ messages in thread
From: Michael Palimaka @ 2017-03-16 10:27 UTC (permalink / raw
To: gentoo-commits
commit: 8bafe66a34f9d889389d0cf19da127a0cf19d5ae
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 16 09:57:50 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 10:26:52 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bafe66a
dev-lua/mpack: add ~x86 keyword
Package-Manager: Portage-2.3.4, Repoman-2.3.2
dev-lua/mpack/mpack-1.0.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/mpack/mpack-1.0.4.ebuild b/dev-lua/mpack/mpack-1.0.4.ebuild
index f5f4104dc78..8665ccc4f90 100644
--- a/dev-lua/mpack/mpack-1.0.4.ebuild
+++ b/dev-lua/mpack/mpack-1.0.4.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/libmpack-${PV}/binding/lua"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
IUSE="luajit test"
RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2017-02-11 11:37 Michael Palimaka
0 siblings, 0 replies; 50+ messages in thread
From: Michael Palimaka @ 2017-02-11 11:37 UTC (permalink / raw
To: gentoo-commits
commit: 1445b44d6909745e8725513447d7f193a2a2baf9
Author: Aric Belsito <lluixhi <AT> gmail <DOT> com>
AuthorDate: Mon Feb 6 06:58:50 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 11:36:50 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1445b44d
dev-lua/mpack: version bump to 1.0.4
dev-lua/mpack/Manifest | 1 +
dev-lua/mpack/mpack-1.0.4.ebuild | 43 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
index 9548a14c58..dd90938af3 100644
--- a/dev-lua/mpack/Manifest
+++ b/dev-lua/mpack/Manifest
@@ -1,2 +1,3 @@
DIST mpack-1.0.2.tar.gz 44671 SHA256 9c570b2aab81b0c56d97cbd8fc483dc431b69510fd9becb4a1845291563e8bc9 SHA512 307ae26799e59224dd624d1f5473c86d5cf975155c58b7ccfd17be98321afb0f7235d06a7a2c50112d4630b3cc7c185c9b307007be5cdbd792819ec2991fa3d2 WHIRLPOOL b5461701898d3e8ab72c92f8d75c4b098986821a3cba281e82a15e495ee4ac2a9efddbd61c542dc3f3cb0cb45f18362652b102dfa8bae690d6c8f4b1b3261911
DIST mpack-1.0.3.tar.gz 45720 SHA256 65eb21cfa9313204ac5296e3b305d752b8422c724b6375caecc6385f0a6d6e22 SHA512 3024d2830d83a7572a648ee6074467e2096dc6af7c92aaf3c6531e4c25c1c57d9853a60f5b2d1f50039ceeb80bae83f8fdc7241fa48f789cb636bba32fc2a9ba WHIRLPOOL 7b79463f4912eba45e65a2bf24ef0dd7787f781333a3bd559e46999277abf96995cef3ac5d3f14e176f89a61062cb0049d4c6f3e93d6d5a6ddf1fc1a09c5a7f0
+DIST mpack-1.0.4.tar.gz 46382 SHA256 0a5d69f3966b31d14faddbd81db53b543fb092c711250ecb0aa5e22d060aa080 SHA512 8e40a562faf8b62137dec0733cbb9006fa7054e5a47bdd128fb4dfd676fac4e4385a23c3d908a4ce2edd65d673db25916695fa74bc08c5316b0c80e571a7442c WHIRLPOOL bd538133a3b5f3723ad8c2c2193821971c0a0d7f4959265309c694db3b0cded7e350fde58b3fe90fd57564e7c9de9ca9f0efc495faec3af12ebba463dffd3e3f
diff --git a/dev-lua/mpack/mpack-1.0.4.ebuild b/dev-lua/mpack/mpack-1.0.4.ebuild
new file mode 100644
index 0000000000..df76ec5363
--- /dev/null
+++ b/dev-lua/mpack/mpack-1.0.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Lua bindings for libmpack"
+HOMEPAGE="https://github.com/tarruda/libmpack/"
+SRC_URI="https://github.com/tarruda/libmpack/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/libmpack-${PV}/binding/lua"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="luajit test"
+
+RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
+ luajit? ( dev-lang/luajit:2= )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? ( dev-lua/busted )"
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ USE_SYSTEM_LUA=yes \
+ LUA_INCLUDE="$($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua'))" \
+ LUA_LIB="$($(tc-getPKG_CONFIG) --libs $(usex luajit 'luajit' 'lua'))"
+}
+
+src_test() {
+ busted -o gtest test.lua || die
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ USE_SYSTEM_LUA=yes \
+ LUA_CMOD_INSTALLDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" \
+ install
+}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2016-10-21 21:00 Michael Palimaka
0 siblings, 0 replies; 50+ messages in thread
From: Michael Palimaka @ 2016-10-21 21:00 UTC (permalink / raw
To: gentoo-commits
commit: 6d02ddc7257da822d21232197926256c683842dc
Author: Aric Belsito <lluixhi <AT> gmail <DOT> com>
AuthorDate: Wed Oct 19 00:12:58 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 21:00:08 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d02ddc7
dev-lua/mpack: Bump to 1.0.3
Use the Makefile, as upstream added support for using the system lua
implementation.
dev-lua/mpack/Manifest | 1 +
dev-lua/mpack/mpack-1.0.3.ebuild | 43 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
index c63f696..9548a14 100644
--- a/dev-lua/mpack/Manifest
+++ b/dev-lua/mpack/Manifest
@@ -1 +1,2 @@
DIST mpack-1.0.2.tar.gz 44671 SHA256 9c570b2aab81b0c56d97cbd8fc483dc431b69510fd9becb4a1845291563e8bc9 SHA512 307ae26799e59224dd624d1f5473c86d5cf975155c58b7ccfd17be98321afb0f7235d06a7a2c50112d4630b3cc7c185c9b307007be5cdbd792819ec2991fa3d2 WHIRLPOOL b5461701898d3e8ab72c92f8d75c4b098986821a3cba281e82a15e495ee4ac2a9efddbd61c542dc3f3cb0cb45f18362652b102dfa8bae690d6c8f4b1b3261911
+DIST mpack-1.0.3.tar.gz 45720 SHA256 65eb21cfa9313204ac5296e3b305d752b8422c724b6375caecc6385f0a6d6e22 SHA512 3024d2830d83a7572a648ee6074467e2096dc6af7c92aaf3c6531e4c25c1c57d9853a60f5b2d1f50039ceeb80bae83f8fdc7241fa48f789cb636bba32fc2a9ba WHIRLPOOL 7b79463f4912eba45e65a2bf24ef0dd7787f781333a3bd559e46999277abf96995cef3ac5d3f14e176f89a61062cb0049d4c6f3e93d6d5a6ddf1fc1a09c5a7f0
diff --git a/dev-lua/mpack/mpack-1.0.3.ebuild b/dev-lua/mpack/mpack-1.0.3.ebuild
new file mode 100644
index 00000000..c2d6be1
--- /dev/null
+++ b/dev-lua/mpack/mpack-1.0.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Lua bindings for libmpack"
+HOMEPAGE="https://github.com/tarruda/libmpack/"
+SRC_URI="https://github.com/tarruda/libmpack/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/libmpack-${PV}/binding/lua"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="luajit test"
+
+RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
+ luajit? ( dev-lang/luajit:2= )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? ( dev-lua/busted )"
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ USE_SYSTEM_LUA=yes \
+ LUA_INCLUDE="$($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua'))" \
+ LUA_LIB="$($(tc-getPKG_CONFIG) --libs $(usex luajit 'luajit' 'lua'))"
+}
+
+src_test() {
+ busted -o gtest test.lua || die
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ USE_SYSTEM_LUA=yes \
+ LUA_CMOD_INSTALLDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" \
+ install
+}
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
@ 2016-04-21 19:45 Patrice Clement
0 siblings, 0 replies; 50+ messages in thread
From: Patrice Clement @ 2016-04-21 19:45 UTC (permalink / raw
To: gentoo-commits
commit: 564c80c0619dcd4a207ac4e9f91606fa15139aa9
Author: Aric Belsito <lluixhi <AT> gmail <DOT> com>
AuthorDate: Thu Apr 21 03:39:15 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 19:30:41 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=564c80c0
dev-lua/mpack: Add new ebuild.
Closes: https://github.com/gentoo/gentoo/pull/1318
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-lua/mpack/Manifest | 1 +
dev-lua/mpack/metadata.xml | 16 ++++++++++++++++
dev-lua/mpack/mpack-1.0.2.ebuild | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 53 insertions(+)
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
new file mode 100644
index 0000000..c63f696
--- /dev/null
+++ b/dev-lua/mpack/Manifest
@@ -0,0 +1 @@
+DIST mpack-1.0.2.tar.gz 44671 SHA256 9c570b2aab81b0c56d97cbd8fc483dc431b69510fd9becb4a1845291563e8bc9 SHA512 307ae26799e59224dd624d1f5473c86d5cf975155c58b7ccfd17be98321afb0f7235d06a7a2c50112d4630b3cc7c185c9b307007be5cdbd792819ec2991fa3d2 WHIRLPOOL b5461701898d3e8ab72c92f8d75c4b098986821a3cba281e82a15e495ee4ac2a9efddbd61c542dc3f3cb0cb45f18362652b102dfa8bae690d6c8f4b1b3261911
diff --git a/dev-lua/mpack/metadata.xml b/dev-lua/mpack/metadata.xml
new file mode 100644
index 0000000..fcf43dd
--- /dev/null
+++ b/dev-lua/mpack/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" >
+ <email>lluixhi@gmail.com</email>
+ <name>Aric Belsito</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="luajit">Use <pkg>dev-lang/luajit</pkg> instead of
+ <pkg>dev-lang/lua</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-lua/mpack/mpack-1.0.2.ebuild b/dev-lua/mpack/mpack-1.0.2.ebuild
new file mode 100644
index 0000000..7d6dea0
--- /dev/null
+++ b/dev-lua/mpack/mpack-1.0.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Lua bindings for libmpack"
+HOMEPAGE="https://github.com/tarruda/libmpack/"
+SRC_URI="https://github.com/tarruda/libmpack/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/libmpack-${PV}/binding/lua"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="luajit test"
+
+RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
+ luajit? ( dev-lang/luajit:2= )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? ( dev-lua/busted )"
+
+src_compile() {
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} $($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua')) -fPIC -DPIC -shared lmpack.c -o mpack.so || die
+}
+
+src_test() {
+ busted -o gtest test.lua || die
+}
+
+src_install() {
+ exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
+ doexe mpack.so
+}
^ permalink raw reply related [flat|nested] 50+ messages in thread
end of thread, other threads:[~2024-06-22 20:01 UTC | newest]
Thread overview: 50+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-01 10:18 [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/ Conrad Kostecki
-- strict thread matches above, loose matches on Subject: below --
2024-06-22 20:01 Conrad Kostecki
2024-04-03 9:14 Arthur Zamarin
2024-04-03 9:14 Arthur Zamarin
2024-04-03 5:02 Sam James
2024-02-29 16:48 Matt Turner
2024-02-08 23:43 Conrad Kostecki
2024-02-08 23:43 Conrad Kostecki
2023-11-12 5:56 Arthur Zamarin
2023-11-12 4:24 Sam James
2023-11-12 2:34 Sam James
2023-10-10 23:35 Conrad Kostecki
2023-10-10 23:35 Conrad Kostecki
2023-08-05 22:41 Conrad Kostecki
2023-04-20 5:01 Sam James
2023-04-20 4:17 Sam James
2023-04-20 4:02 Sam James
2023-03-19 22:12 Conrad Kostecki
2022-07-15 7:40 Sam James
2021-11-07 12:37 Conrad Kostecki
2021-11-07 12:37 Conrad Kostecki
2021-11-07 12:37 Conrad Kostecki
2021-10-11 13:47 Yixun Lan
2021-10-06 10:50 Conrad Kostecki
2021-10-06 10:50 Conrad Kostecki
2021-06-27 20:03 Aaron Bauman
2021-06-02 22:07 Conrad Kostecki
2021-04-22 19:31 Sergei Trofimovich
2021-04-21 21:03 Conrad Kostecki
2021-04-21 20:44 Conrad Kostecki
2021-04-21 20:29 Conrad Kostecki
2021-04-20 21:20 Sergei Trofimovich
2021-03-16 17:37 Conrad Kostecki
2021-03-05 8:58 Conrad Kostecki
2021-01-25 17:38 Marek Szuba
2020-12-03 13:50 Marek Szuba
2020-12-01 10:18 Conrad Kostecki
2020-11-29 21:41 Marek Szuba
2020-11-29 21:41 Marek Szuba
2020-11-29 18:49 Conrad Kostecki
2020-11-29 18:49 Conrad Kostecki
2020-07-20 9:01 Joonas Niilola
2019-04-20 19:01 Mikle Kolyada
2018-07-07 12:15 Jonas Stein
2018-01-05 11:18 Patrice Clement
2018-01-05 11:18 Patrice Clement
2017-03-16 10:27 Michael Palimaka
2017-02-11 11:37 Michael Palimaka
2016-10-21 21:00 Michael Palimaka
2016-04-21 19:45 Patrice Clement
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox