[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2022-02-09 Thread Sam James
commit: b2308dcbf5af8997a95e9a00916ec4d2d6044785
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 10 00:45:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 10 00:45:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2308dcb

dev-lua/luafilesystem: go from -r1 -> r101 to avoid "downgrade"

Signed-off-by: Sam James  gentoo.org>

 .../{luafilesystem-1.8.0-r1.ebuild => luafilesystem-1.8.0-r101.ebuild}| 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
similarity index 100%
rename from dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
rename to dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2021-09-18 Thread Marek Szuba
commit: 90e6c1732b773663389cd1a26fd3f848fe2c7a00
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Sep 18 11:55:42 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Sep 18 12:29:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90e6c173

dev-lua/luafilesystem: keyword 1.8.0-r101 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
index f5eca13c762..e15ac7153f4 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="test"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2021-05-25 Thread Georgy Yakovlev
commit: 1efeb04efaa747aaa67264630c247e30e2714b06
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue May 25 16:11:51 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue May 25 16:18:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1efeb04e

dev-lua/luafilesystem: cleanup metadata.xml

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev  gentoo.org>

 dev-lua/luafilesystem/metadata.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/dev-lua/luafilesystem/metadata.xml 
b/dev-lua/luafilesystem/metadata.xml
index 4da36181814..eaafcad3baf 100644
--- a/dev-lua/luafilesystem/metadata.xml
+++ b/dev-lua/luafilesystem/metadata.xml
@@ -5,14 +5,6 @@
conik...@gentoo.org
Conrad Kostecki

-   
-   vpayno+gen...@gmail.com
-   Victor Payno
-   
-   
-   gyakov...@gentoo.org
-   Georgy Yakovlev
-   

LuaFileSystem is a Lua library developed to complement the set 
of functions
related to file systems offered by the standard Lua 
distribution.



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2021-04-20 Thread Sergei Trofimovich
commit: 51b28b9f05271ead0ffb3c6cd592d2cc0c5d2465
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Apr 20 21:16:09 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Apr 20 21:20:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b28b9f

dev-lua/luafilesystem: keyworded 1.8.0-r101 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  gentoo.org>

 dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
index d44ff5497b9..f5eca13c762 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
 IUSE="test"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2021-02-21 Thread Conrad Kostecki
commit: 3d0ecd92e012ca70fb9335a589a3114ff47a1843
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 21 20:43:42 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 21 21:21:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d0ecd92

dev-lua/luafilesystem: add lua5-4 support

All tests passed.

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
index d3ff6e73957..d44ff5497b9 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-LUA_COMPAT=( lua5-{1..3} luajit )
+LUA_COMPAT=( lua5-{1..4} luajit )
 
 inherit lua toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2021-01-27 Thread Conrad Kostecki
commit: e2fcdd6f4d718c55b2570d718456a7e027c01a0d
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Jan 24 18:07:58 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Jan 27 19:40:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2fcdd6f

dev-lua/luafilesystem: drop old version

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../luafilesystem/luafilesystem-1.8.0-r1.ebuild| 47 --
 1 file changed, 47 deletions(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
deleted file mode 100644
index 0366ccae895..000
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-MY_PV=${PV//./_}
-
-DESCRIPTION="File System Library for the Lua programming language"
-HOMEPAGE="https://keplerproject.github.io/luafilesystem/;
-SRC_URI="https://github.com/keplerproject/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 sparc x86"
-IUSE="luajit test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-lang/lua-5.1:0
-   luajit? ( dev-lang/luajit:2 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   test? ( ${RDEPEND} )
-"
-
-HTML_DOCS=( "doc/us/." )
-
-src_prepare() {
-   default
-
-   cat > "config" <<-EOF
-   CC=$(tc-getCC)
-   CFLAGS=${CFLAGS} -I$($(tc-getPKG_CONFIG) --variable includedir 
$(usex luajit 'luajit' 'lua')) -fPIC
-   DESTDIR=${ED}
-   LIB_OPTION=${LDFLAGS} -shared
-   LUA_LIBDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex 
luajit 'luajit' 'lua'))
-   EOF
-}
-
-src_test() {
-   LUA_CPATH="src/lfs.so" lua tests/test.lua || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2021-01-23 Thread Sam James
commit: ce7374cd36f1d58677334cf002f69dc268f583e7
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 23 22:51:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 23 22:51:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce7374cd

dev-lua/luafilesystem: Stabilize 1.8.0-r101 arm64, #766528

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
index 674f2ae90e5..c866b7b6db7 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 sparc x86"
 IUSE="test"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2021-01-23 Thread Sam James
commit: db420253375fdbcb90b9b2fb1ec777beb037d0c8
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 23 22:41:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 23 22:42:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db420253

dev-lua/luafilesystem: Stabilize 1.8.0-r101 sparc, #766528

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
index bc2795ec2cc..5f4c2b359b3 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 sparc x86"
 IUSE="test"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-11-29 Thread Conrad Kostecki
commit: 0f34282df2e36d7a1f63b65ee7e4c1838e43660e
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Nov 29 15:31:38 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Nov 29 15:31:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f34282d

dev-lua/luafilesystem: update ebuild

Updated ebuild not to use clean.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../luafilesystem/luafilesystem-1.8.0-r101.ebuild  | 82 ++
 1 file changed, 82 insertions(+)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
new file mode 100644
index 000..0a5ee44a7d7
--- /dev/null
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r101.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..3} luajit )
+
+inherit lua toolchain-funcs
+
+MY_PV=${PV//./_}
+
+DESCRIPTION="File System Library for the Lua programming language"
+HOMEPAGE="https://keplerproject.github.io/luafilesystem/;
+SRC_URI="https://github.com/keplerproject/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="${LUA_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   test? ( ${RDEPEND} )
+"
+
+HTML_DOCS=( "doc/us/." )
+
+lua_src_prepare() {
+   pushd "${BUILD_DIR}" || die
+   cat > "config-${ELUA}" <<-EOF
+   CC=$(tc-getCC)
+   DESTDIR=${ED}
+   CFLAGS=${CFLAGS} $(lua_get_CFLAGS) -fPIC
+   LIB_OPTION=${LDFLAGS} -shared
+   LUA_LIBDIR=$(lua_get_cmod_dir)
+   EOF
+   popd
+}
+
+src_prepare() {
+   default
+
+   lua_copy_sources
+   lua_foreach_impl lua_src_prepare
+}
+
+lua_src_compile() {
+   pushd "${BUILD_DIR}" || die
+   emake CONFIG="config-${ELUA}"
+   popd
+}
+
+src_compile() {
+   lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+   pushd "${BUILD_DIR}" || die
+   LUA_CPATH="${BUILD_DIR}/src/?.so" ${ELUA} tests/test.lua || die
+   popd
+}
+
+src_test() {
+   lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+   pushd "${BUILD_DIR}" || die
+   emake CONFIG="config-${ELUA}" install
+   popd
+}
+
+src_install() {
+   lua_foreach_impl lua_src_install
+
+   einstalldocs
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-11-29 Thread Conrad Kostecki
commit: b5290f5be23ddd3e6a293d28de806aa015dc066e
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Nov 29 15:32:28 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Nov 29 15:32:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5290f5b

dev-lua/luafilesystem: drop old version

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../luafilesystem/luafilesystem-1.8.0-r100.ebuild  | 82 --
 1 file changed, 82 deletions(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r100.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r100.ebuild
deleted file mode 100644
index a1e0b4c454b..000
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r100.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..3} luajit )
-
-inherit lua toolchain-funcs
-
-MY_PV=${PV//./_}
-
-DESCRIPTION="File System Library for the Lua programming language"
-HOMEPAGE="https://keplerproject.github.io/luafilesystem/;
-SRC_URI="https://github.com/keplerproject/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="test"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="${LUA_DEPS}"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   test? ( ${RDEPEND} )
-"
-
-HTML_DOCS=( "doc/us/." )
-
-lua_src_prepare() {
-   cat > "config-${ELUA}" <<-EOF
-   CC=$(tc-getCC)
-   DESTDIR=${ED}
-   CFLAGS=${CFLAGS} $(lua_get_CFLAGS) -fPIC
-   LIB_OPTION=${LDFLAGS} -shared
-   LUA_LIBDIR=$(lua_get_cmod_dir)
-   EOF
-}
-
-src_prepare() {
-   default
-
-   lua_foreach_impl lua_src_prepare
-}
-
-lua_src_compile() {
-   # Clean project to compile it for every lua slot
-   emake clean
-
-   emake CONFIG="config-${ELUA}"
-
-   # Copy module to match the choosen LUA implementation
-   cp "src/lfs.so" "src/lfs-${ELUA}.so" || die
-}
-
-src_compile() {
-   lua_foreach_impl lua_src_compile
-}
-
-lua_src_test() {
-   LUA_CPATH="src/lfs-${ELUA}.so" ${ELUA} tests/test.lua || die
-}
-
-src_test() {
-   lua_foreach_impl lua_src_test
-}
-
-lua_src_install() {
-   # Use correct module for the choosen LUA implementation
-   cp "src/lfs-${ELUA}.so" "src/lfs.so" || die
-
-   emake CONFIG="config-${ELUA}" install
-}
-
-src_install() {
-   lua_foreach_impl lua_src_install
-
-   einstalldocs
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-11-24 Thread Conrad Kostecki
commit: c90d1daa964d4548a79deac833ce9eb3ead9fb38
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Tue Nov 24 13:01:34 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Tue Nov 24 13:03:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c90d1daa

dev-lua/luafilesystem: drop old version

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luafilesystem/Manifest |  4 --
 dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild   | 33 ---
 dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild   | 33 ---
 dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild   | 53 -
 dev-lua/luafilesystem/luafilesystem-1.7.0.2.ebuild | 66 --
 5 files changed, 189 deletions(-)

diff --git a/dev-lua/luafilesystem/Manifest b/dev-lua/luafilesystem/Manifest
index 3eb8c7a58e6..b050fb3c8c4 100644
--- a/dev-lua/luafilesystem/Manifest
+++ b/dev-lua/luafilesystem/Manifest
@@ -1,5 +1 @@
-DIST luafilesystem-1.5.0.tar.gz 26660 BLAKE2B 
555a119c580a14377e0b721929d33f6e15e4b4449c061860d611a12896020959f3755bde44ba29d492e8bd10a084a6dc7cd78ed0ef67c1fad85a7acb49bcf6c2
 SHA512 
79e767be5b923424c2f3c0025e050b6a5b15550cf96d153072f817b0f94757032feeaa579e4d73cc009a5954d38a30079db1c1c15545a45e9f13c0c776080aac
-DIST luafilesystem-1.6.2.tar.gz 27886 BLAKE2B 
fa13cc529f3ff2b5c5bbf082c5071d066da2da97c066054c9c312366a43e0a2e136bf6eae139abb63e6de916ecca60421cd36bce132393cf0333f9d124027117
 SHA512 
75debecd3b35d43e76b51de02cface73808547be6a26e15c06c969c50bbfd7c4d0801ccb68812b7ecb99e56eaa63deeadaba6d0387748e215e5bdab784d463ff
-DIST luafilesystem-1.6.3.tar.gz 30389 BLAKE2B 
412d2893a59ccde2eb8912523bea4d06d4f140dee2f47b5e8e9795d1ca950a4be93a32eb5632775277ab2c2c22a9229c9f33d062e0d1fcd5397178962b96bae9
 SHA512 
47a2637903c9d42ce3ab7cf3e27b6457845aeed7ce90c0fee964ba9bf9eabf6a6eea940f960713f6b982f1b64167dbd5da8f217281284143c89e3cc5488b8404
-DIST luafilesystem-1.7.0.2.tar.gz 30877 BLAKE2B 
c90d960b3cb28a7339e5d103a262beb76864cfd30e0502e991ae82d6fb8706da8a99d9c19d037d7c299139346a5b925e10886addce07e3755891f11b9c2ec4d9
 SHA512 
a1d4d06e57cd878dbcd21656da141ea3686c587b5420a2b039aeaf086b7e7d05d531ee1cc2bbd7d06660d1315b09593e52143f6711f033ce8eecdc550511
 DIST luafilesystem-1.8.0.tar.gz 30374 BLAKE2B 
396dc1a4604b88d9a0cfccf252623a65bcd45859547a56d3d860efd2b960329696ff92cb63064c12ee56ed234e04d881b5ca876154b3bd714d39f6ed9da79986
 SHA512 
79d964f13ae43716281dc8521d2f128b22f2261234c443e242b857cfdf621e208bdf4512f8ba710baa113e9b3b71e2544609de65e2c483f569c243a5cf058247

diff --git a/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild
deleted file mode 100644
index 657786056c8..000
--- a/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-inherit multilib toolchain-funcs
-
-DESCRIPTION="File System Library for the Lua Programming Language"
-HOMEPAGE="https://keplerproject.github.com/luafilesystem/;
-SRC_URI="https://github.com/downloads/keplerproject/luafilesystem/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm hppa ~mips ppc ppc64 sparc x86"
-IUSE=""
-
-DEPEND=">=dev-lang/lua-5.1"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   sed -i \
-   -e "s|gcc|$(tc-getCC)|" \
-   -e "s|/usr/local|/usr|" \
-   -e "s|/lib|/$(get_libdir)|" \
-   -e "s|-O2|${CFLAGS}|" \
-   -e "/^LIB_OPTION/s|= |= ${LDFLAGS} |" \
-   config || die
-}
-
-src_install() {
-   emake PREFIX="${ED}usr" install
-   dodoc README
-   dohtml doc/us/*
-}

diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild
deleted file mode 100644
index def72540b45..000
--- a/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit multilib toolchain-funcs
-
-DESCRIPTION="File System Library for the Lua Programming Language"
-HOMEPAGE="https://keplerproject.github.com/luafilesystem/;
-SRC_URI="https://github.com/downloads/keplerproject/luafilesystem/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
-IUSE=""
-
-DEPEND=">=dev-lang/lua-5.1"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   sed -i \
-   -e "s|gcc|$(tc-getCC)|" \
-   -e "s|/usr/local|/usr|" \
-   -e "s|/lib|/$(get_libdir)|" \
-   -e "s|-O2|${CFLAGS}|" \
-   -e "/^LIB_OPTION/s|= |= ${LDFLAGS} |" \
-   config || die
-}
-
-src_install() {
-   emake PREFIX="${ED}usr" install
-   dodoc README
-   dohtml doc/us/*
-}

diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild 

[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-11-23 Thread Agostino Sarubbo
commit: b87e0210d0e321505eee29fb942c7396d0309fe8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 24 07:45:38 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 24 07:45:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b87e0210

dev-lua/luafilesystem: x86 stable wrt bug #756133

Package-Manager: Portage-3.0.8, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
index bec61740e5f..0366ccae895 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 sparc x86"
 IUSE="luajit test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-11-23 Thread Agostino Sarubbo
commit: 1bc977c3a20242083f2882b65d0a41ab828af884
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 24 07:44:29 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 24 07:44:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bc977c3

dev-lua/luafilesystem: sparc stable wrt bug #756133

Package-Manager: Portage-3.0.8, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
index 3d39e9345ca..bec61740e5f 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 sparc ~x86"
 IUSE="luajit test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-11-23 Thread Agostino Sarubbo
commit: 8eccf7647f66f3974a405a2ec605f34497f5cc59
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 24 07:42:14 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 24 07:42:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eccf764

dev-lua/luafilesystem: ppc64 stable wrt bug #756133

Package-Manager: Portage-3.0.8, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
index ca4a9752874..3d39e9345ca 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~sparc ~x86"
 IUSE="luajit test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-11-23 Thread Agostino Sarubbo
commit: ccb9af4e6ee25df867cc11d147354094b9fb2876
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 24 07:41:11 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 24 07:41:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccb9af4e

dev-lua/luafilesystem: ppc stable wrt bug #756133

Package-Manager: Portage-3.0.8, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
index 35eaff22cee..ca4a9752874 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ~ppc64 ~sparc ~x86"
 IUSE="luajit test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-11-23 Thread Agostino Sarubbo
commit: a6958fab268030d4684e4f6bfaf5c8747f321915
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 24 07:19:13 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 24 07:19:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6958fab

dev-lua/luafilesystem: amd64 stable wrt bug #756133

Package-Manager: Portage-3.0.8, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
index a45fe4f18ee..35eaff22cee 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="luajit test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-11-23 Thread Sam James
commit: 303f6d71d9751d56fbf854a743dbcae2a2c7a1fd
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 24 01:06:30 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 24 01:06:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=303f6d71

dev-lua/luafilesystem: Stabilize 1.8.0-r1 arm64, #756133

Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
index a1dd2af7610..262ac8b2e46 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="luajit test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-11-23 Thread Sam James
commit: 11e40546ef72cbec2b6d5becda73bdb58dd82554
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 24 01:09:46 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 24 01:09:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11e40546

dev-lua/luafilesystem: Stabilize 1.8.0-r1 arm, #756133

Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
index 262ac8b2e46..a45fe4f18ee 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="luajit test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/, profiles/

2020-11-23 Thread Conrad Kostecki
commit: f369815601768968bb802ecb5af49f6146d31dbc
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Mon Nov 23 21:19:50 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Nov 23 21:37:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3698156

dev-lua/luafilesystem: migrate to lua eclass

Closes: https://bugs.gentoo.org/752645
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../luafilesystem/luafilesystem-1.8.0-r100.ebuild  | 82 ++
 profiles/package.mask  |  1 +
 2 files changed, 83 insertions(+)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r100.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r100.ebuild
new file mode 100644
index 000..a1e0b4c454b
--- /dev/null
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r100.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..3} luajit )
+
+inherit lua toolchain-funcs
+
+MY_PV=${PV//./_}
+
+DESCRIPTION="File System Library for the Lua programming language"
+HOMEPAGE="https://keplerproject.github.io/luafilesystem/;
+SRC_URI="https://github.com/keplerproject/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="${LUA_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   test? ( ${RDEPEND} )
+"
+
+HTML_DOCS=( "doc/us/." )
+
+lua_src_prepare() {
+   cat > "config-${ELUA}" <<-EOF
+   CC=$(tc-getCC)
+   DESTDIR=${ED}
+   CFLAGS=${CFLAGS} $(lua_get_CFLAGS) -fPIC
+   LIB_OPTION=${LDFLAGS} -shared
+   LUA_LIBDIR=$(lua_get_cmod_dir)
+   EOF
+}
+
+src_prepare() {
+   default
+
+   lua_foreach_impl lua_src_prepare
+}
+
+lua_src_compile() {
+   # Clean project to compile it for every lua slot
+   emake clean
+
+   emake CONFIG="config-${ELUA}"
+
+   # Copy module to match the choosen LUA implementation
+   cp "src/lfs.so" "src/lfs-${ELUA}.so" || die
+}
+
+src_compile() {
+   lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+   LUA_CPATH="src/lfs-${ELUA}.so" ${ELUA} tests/test.lua || die
+}
+
+src_test() {
+   lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+   # Use correct module for the choosen LUA implementation
+   cp "src/lfs-${ELUA}.so" "src/lfs.so" || die
+
+   emake CONFIG="config-${ELUA}" install
+}
+
+src_install() {
+   lua_foreach_impl lua_src_install
+
+   einstalldocs
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index 9ed5f31fe03..8499730db24 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -473,6 +473,7 @@ dev-lua/luacrypto
 >=dev-lua/luaevent-0.4.6-r100
 =dev-lua/luaexpat-1.3.0-r100
 =dev-lua/luaexpat-1.3.3-r100
+>=dev-lua/luafilesystem-1.8.0-r100
 >=dev-lua/luasec-0.9-r100
 >=dev-lua/luasocket-3.0_rc1_p20200328-r100
 >=dev-lua/lutok-0.4-r10



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-11-23 Thread Conrad Kostecki
commit: 7a117cca477e69fe0f14cbc352ae9a178ec21e27
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Mon Nov 23 21:37:44 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Nov 23 21:37:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a117cca

dev-lua/luafilesystem: drop old version

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luafilesystem/luafilesystem-1.8.0.ebuild | 66 
 1 file changed, 66 deletions(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0.ebuild
deleted file mode 100644
index 0fa2387e482..000
--- a/dev-lua/luafilesystem/luafilesystem-1.8.0.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit toolchain-funcs
-
-MY_PV=${PV//./_}
-
-DESCRIPTION="File System Library for the Lua Programming Language"
-HOMEPAGE="https://keplerproject.github.io/luafilesystem/;
-SRC_URI="https://github.com/keplerproject/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc luajit test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-lang/lua-5.1:*
-   luajit? ( dev-lang/luajit:2 )"
-BDEPEND="
-   virtual/pkgconfig
-   test? ( ${RDEPEND} )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-src_configure() {
-   cat > config <<-EOF
-   # Installation directories
-
-   # Default installation prefix
-   PREFIX="$($(tc-getPKG_CONFIG) --variable exec_prefix $(usex 
luajit 'luajit' 'lua'))"
-
-   # System's libraries directory (where binary libraries are 
installed)
-   LUA_LIBDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD 
$(usex luajit 'luajit' 'lua'))"
-
-   # Lua includes directory
-   LUA_INC=-I$(pwd)/src
-   LUA_INC+=-I$($(tc-getPKG_CONFIG) --variable includedir $(usex 
luajit 'luajit' 'lua'))
-
-   # OS dependent
-   LIB_OPTION=\$(LDFLAGS) -shared
-
-   LIBNAME=$T.so.$V
-
-   # Compilation directives
-   WARN=-O2 -Wall -fPIC -W -Waggregate-return -Wcast-align 
-Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
-   INCS=\$(LUA_INC)
-   CFLAGS+=\$(WARN) \$(INCS)
-   CC=$(tc-getCC)
-   EOF
-}
-
-src_test() {
-   LUA_CPATH=./src/?.so $(usex luajit 'luajit' 'lua') tests/test.lua || die
-}
-
-src_install() {
-   use doc && local HTML_DOCS=( doc/us/. )
-   einstalldocs
-
-   emake DESTDIR="${D}" install
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-11-23 Thread Conrad Kostecki
commit: 3d58bafcacd3161785b3e9c4f48b267a5835cda5
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Mon Nov 23 21:36:42 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Nov 23 21:37:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d58bafc

dev-lua/luafilesystem: update ebuild

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../luafilesystem/luafilesystem-1.8.0-r1.ebuild| 47 ++
 1 file changed, 47 insertions(+)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
new file mode 100644
index 000..a1dd2af7610
--- /dev/null
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_PV=${PV//./_}
+
+DESCRIPTION="File System Library for the Lua programming language"
+HOMEPAGE="https://keplerproject.github.io/luafilesystem/;
+SRC_URI="https://github.com/keplerproject/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="luajit test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-lang/lua-5.1:0
+   luajit? ( dev-lang/luajit:2 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   test? ( ${RDEPEND} )
+"
+
+HTML_DOCS=( "doc/us/." )
+
+src_prepare() {
+   default
+
+   cat > "config" <<-EOF
+   CC=$(tc-getCC)
+   CFLAGS=${CFLAGS} -I$($(tc-getPKG_CONFIG) --variable includedir 
$(usex luajit 'luajit' 'lua')) -fPIC
+   DESTDIR=${ED}
+   LIB_OPTION=${LDFLAGS} -shared
+   LUA_LIBDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex 
luajit 'luajit' 'lua'))
+   EOF
+}
+
+src_test() {
+   LUA_CPATH="src/lfs.so" lua tests/test.lua || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-11-23 Thread Conrad Kostecki
commit: cc61775d035082dfd64527ac6b526f1677c4fa6e
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Mon Nov 23 18:47:42 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Nov 23 18:47:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc61775d

dev-lua/luafilesystem: adding myself as maintainer

As spoken with gyakovlev, I am adding myself as the primary maintainer,
since this is a direct depdency for my package net-im/prosody.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luafilesystem/metadata.xml | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-lua/luafilesystem/metadata.xml 
b/dev-lua/luafilesystem/metadata.xml
index 9e9cb608e46..5b577f074b2 100644
--- a/dev-lua/luafilesystem/metadata.xml
+++ b/dev-lua/luafilesystem/metadata.xml
@@ -1,6 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
+   
+   conik...@gentoo.org
+   Conrad Kostecki
+   

vpayno+gen...@gmail.com
Victor Payno
@@ -9,7 +13,7 @@
gyakov...@gentoo.org
Georgy Yakovlev

-   
+   
LuaFileSystem is a Lua library developed to complement the set 
of functions
related to file systems offered by the standard Lua 
distribution.
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-10-31 Thread Georgy Yakovlev
commit: 8c2feb9ed8fc3876a7c516695fe702012ad37023
Author: Aisha Tammy  aisha  cc>
AuthorDate: Sat Oct 31 22:00:19 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Oct 31 22:47:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c2feb9e

dev-lua/luafilesystem: version bump to 1.8.0

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Closes: https://bugs.gentoo.org/744811
Closes: https://github.com/gentoo/gentoo/pull/18093
Signed-off-by: Aisha Tammy  aisha.cc>
Signed-off-by: Georgy Yakovlev  gentoo.org>

 dev-lua/luafilesystem/Manifest   |  1 +
 dev-lua/luafilesystem/luafilesystem-1.8.0.ebuild | 66 
 2 files changed, 67 insertions(+)

diff --git a/dev-lua/luafilesystem/Manifest b/dev-lua/luafilesystem/Manifest
index db5d1d2ffed..3eb8c7a58e6 100644
--- a/dev-lua/luafilesystem/Manifest
+++ b/dev-lua/luafilesystem/Manifest
@@ -2,3 +2,4 @@ DIST luafilesystem-1.5.0.tar.gz 26660 BLAKE2B 
555a119c580a14377e0b721929d33f6e15
 DIST luafilesystem-1.6.2.tar.gz 27886 BLAKE2B 
fa13cc529f3ff2b5c5bbf082c5071d066da2da97c066054c9c312366a43e0a2e136bf6eae139abb63e6de916ecca60421cd36bce132393cf0333f9d124027117
 SHA512 
75debecd3b35d43e76b51de02cface73808547be6a26e15c06c969c50bbfd7c4d0801ccb68812b7ecb99e56eaa63deeadaba6d0387748e215e5bdab784d463ff
 DIST luafilesystem-1.6.3.tar.gz 30389 BLAKE2B 
412d2893a59ccde2eb8912523bea4d06d4f140dee2f47b5e8e9795d1ca950a4be93a32eb5632775277ab2c2c22a9229c9f33d062e0d1fcd5397178962b96bae9
 SHA512 
47a2637903c9d42ce3ab7cf3e27b6457845aeed7ce90c0fee964ba9bf9eabf6a6eea940f960713f6b982f1b64167dbd5da8f217281284143c89e3cc5488b8404
 DIST luafilesystem-1.7.0.2.tar.gz 30877 BLAKE2B 
c90d960b3cb28a7339e5d103a262beb76864cfd30e0502e991ae82d6fb8706da8a99d9c19d037d7c299139346a5b925e10886addce07e3755891f11b9c2ec4d9
 SHA512 
a1d4d06e57cd878dbcd21656da141ea3686c587b5420a2b039aeaf086b7e7d05d531ee1cc2bbd7d06660d1315b09593e52143f6711f033ce8eecdc550511
+DIST luafilesystem-1.8.0.tar.gz 30374 BLAKE2B 
396dc1a4604b88d9a0cfccf252623a65bcd45859547a56d3d860efd2b960329696ff92cb63064c12ee56ed234e04d881b5ca876154b3bd714d39f6ed9da79986
 SHA512 
79d964f13ae43716281dc8521d2f128b22f2261234c443e242b857cfdf621e208bdf4512f8ba710baa113e9b3b71e2544609de65e2c483f569c243a5cf058247

diff --git a/dev-lua/luafilesystem/luafilesystem-1.8.0.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.8.0.ebuild
new file mode 100644
index 000..0fa2387e482
--- /dev/null
+++ b/dev-lua/luafilesystem/luafilesystem-1.8.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+MY_PV=${PV//./_}
+
+DESCRIPTION="File System Library for the Lua Programming Language"
+HOMEPAGE="https://keplerproject.github.io/luafilesystem/;
+SRC_URI="https://github.com/keplerproject/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc luajit test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-lang/lua-5.1:*
+   luajit? ( dev-lang/luajit:2 )"
+BDEPEND="
+   virtual/pkgconfig
+   test? ( ${RDEPEND} )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_configure() {
+   cat > config <<-EOF
+   # Installation directories
+
+   # Default installation prefix
+   PREFIX="$($(tc-getPKG_CONFIG) --variable exec_prefix $(usex 
luajit 'luajit' 'lua'))"
+
+   # System's libraries directory (where binary libraries are 
installed)
+   LUA_LIBDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD 
$(usex luajit 'luajit' 'lua'))"
+
+   # Lua includes directory
+   LUA_INC=-I$(pwd)/src
+   LUA_INC+=-I$($(tc-getPKG_CONFIG) --variable includedir $(usex 
luajit 'luajit' 'lua'))
+
+   # OS dependent
+   LIB_OPTION=\$(LDFLAGS) -shared
+
+   LIBNAME=$T.so.$V
+
+   # Compilation directives
+   WARN=-O2 -Wall -fPIC -W -Waggregate-return -Wcast-align 
-Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
+   INCS=\$(LUA_INC)
+   CFLAGS+=\$(WARN) \$(INCS)
+   CC=$(tc-getCC)
+   EOF
+}
+
+src_test() {
+   LUA_CPATH=./src/?.so $(usex luajit 'luajit' 'lua') tests/test.lua || die
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( doc/us/. )
+   einstalldocs
+
+   emake DESTDIR="${D}" install
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-03-15 Thread Georgy Yakovlev
commit: aa4c6dc7a70a17f1c9a64f7532ae5182a55ea649
Author: Victor Payno  gmail  com>
AuthorDate: Thu Jan 23 06:53:32 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Mar 15 23:53:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa4c6dc7

dev-lua/luafilesystem: version bump to 1.7.0.2

Updated the ebuild so that it builds the lib for all the installed Lua
versions. If luajit use flag is used, it will pull the appropriate
lua5.x abi matching version from the build since it replaces it.

Closes: https://github.com/gentoo/gentoo/pull/14416
Signed-off-by: Victor Payno  gmail.com>
Signed-off-by: Georgy Yakovlev  gentoo.org>

 dev-lua/luafilesystem/Manifest |  1 +
 dev-lua/luafilesystem/luafilesystem-1.7.0.2.ebuild | 66 ++
 dev-lua/luafilesystem/metadata.xml | 12 +++-
 3 files changed, 78 insertions(+), 1 deletion(-)

diff --git a/dev-lua/luafilesystem/Manifest b/dev-lua/luafilesystem/Manifest
index 7059285c0f0..db5d1d2ffed 100644
--- a/dev-lua/luafilesystem/Manifest
+++ b/dev-lua/luafilesystem/Manifest
@@ -1,3 +1,4 @@
 DIST luafilesystem-1.5.0.tar.gz 26660 BLAKE2B 
555a119c580a14377e0b721929d33f6e15e4b4449c061860d611a12896020959f3755bde44ba29d492e8bd10a084a6dc7cd78ed0ef67c1fad85a7acb49bcf6c2
 SHA512 
79e767be5b923424c2f3c0025e050b6a5b15550cf96d153072f817b0f94757032feeaa579e4d73cc009a5954d38a30079db1c1c15545a45e9f13c0c776080aac
 DIST luafilesystem-1.6.2.tar.gz 27886 BLAKE2B 
fa13cc529f3ff2b5c5bbf082c5071d066da2da97c066054c9c312366a43e0a2e136bf6eae139abb63e6de916ecca60421cd36bce132393cf0333f9d124027117
 SHA512 
75debecd3b35d43e76b51de02cface73808547be6a26e15c06c969c50bbfd7c4d0801ccb68812b7ecb99e56eaa63deeadaba6d0387748e215e5bdab784d463ff
 DIST luafilesystem-1.6.3.tar.gz 30389 BLAKE2B 
412d2893a59ccde2eb8912523bea4d06d4f140dee2f47b5e8e9795d1ca950a4be93a32eb5632775277ab2c2c22a9229c9f33d062e0d1fcd5397178962b96bae9
 SHA512 
47a2637903c9d42ce3ab7cf3e27b6457845aeed7ce90c0fee964ba9bf9eabf6a6eea940f960713f6b982f1b64167dbd5da8f217281284143c89e3cc5488b8404
+DIST luafilesystem-1.7.0.2.tar.gz 30877 BLAKE2B 
c90d960b3cb28a7339e5d103a262beb76864cfd30e0502e991ae82d6fb8706da8a99d9c19d037d7c299139346a5b925e10886addce07e3755891f11b9c2ec4d9
 SHA512 
a1d4d06e57cd878dbcd21656da141ea3686c587b5420a2b039aeaf086b7e7d05d531ee1cc2bbd7d06660d1315b09593e52143f6711f033ce8eecdc550511

diff --git a/dev-lua/luafilesystem/luafilesystem-1.7.0.2.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.7.0.2.ebuild
new file mode 100644
index 000..c6f52926302
--- /dev/null
+++ b/dev-lua/luafilesystem/luafilesystem-1.7.0.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+MY_PV=${PV//./_}
+
+DESCRIPTION="File System Library for the Lua Programming Language"
+HOMEPAGE="https://keplerproject.github.io/luafilesystem/;
+SRC_URI="https://github.com/keplerproject/luafilesystem/archive/v${MY_PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86"
+IUSE="luajit test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-lang/lua-5.1:*
+   luajit? ( dev-lang/luajit:2 )"
+BDEPEND="
+   virtual/pkgconfig
+   test? ( ${RDEPEND} )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_configure() {
+   cat > config <<-EOF
+   # Installation directories
+
+   # Default installation prefix
+   PREFIX="${ED}/$($(tc-getPKG_CONFIG) --variable exec_prefix 
$(usex luajit 'luajit' 'lua'))"
+
+   # System's libraries directory (where binary libraries are 
installed)
+   LUA_LIBDIR="${ED}/$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD 
$(usex luajit 'luajit' 'lua'))"
+
+   # Lua includes directory
+   LUA_INC=-I$(pwd)/src
+   LUA_INC+=-I$($(tc-getPKG_CONFIG) --variable includedir $(usex 
luajit 'luajit' 'lua'))
+
+   # OS dependent
+   LIB_OPTION=-shared #for Linux
+
+   LIBNAME=$T.so.$V
+
+   # Compilation directives
+   WARN=-O2 -Wall -fPIC -W -Waggregate-return -Wcast-align 
-Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
+   INCS=\$(LUA_INC)
+   CFLAGS=\$(WARN) \$(INCS)
+   CC=gcc
+   EOF
+}
+
+src_test() {
+   LUA_CPATH=./src/?.so $(usex luajit 'luajit' 'lua') tests/test.lua || die
+}
+
+src_install() {
+   local -a HTML_DOCS=( doc/us )
+   einstalldocs
+
+   emake DESTDIR="${D}" install
+}

diff --git a/dev-lua/luafilesystem/metadata.xml 
b/dev-lua/luafilesystem/metadata.xml
index dc620825e44..9e9cb608e46 100644
--- a/dev-lua/luafilesystem/metadata.xml
+++ b/dev-lua/luafilesystem/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   vpayno+gen...@gmail.com
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-03-15 Thread Georgy Yakovlev
commit: 67daf2dadfee0b73600089cac26ad359c054e967
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Mar 15 23:54:13 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Mar 15 23:54:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67daf2da

dev-lua/luafilesystem: QA: fix flag handling, add doc useflag

restore ~sparc keyword

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Georgy Yakovlev  gentoo.org>

 dev-lua/luafilesystem/luafilesystem-1.7.0.2.ebuild | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.7.0.2.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.7.0.2.ebuild
index c6f52926302..88b4ef4b5a9 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.7.0.2.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.7.0.2.ebuild
@@ -8,12 +8,12 @@ MY_PV=${PV//./_}
 
 DESCRIPTION="File System Library for the Lua Programming Language"
 HOMEPAGE="https://keplerproject.github.io/luafilesystem/;
-SRC_URI="https://github.com/keplerproject/luafilesystem/archive/v${MY_PV}.tar.gz
 -> ${P}.tar.gz"
+SRC_URI="https://github.com/keplerproject/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86"
-IUSE="luajit test"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc luajit test"
 
 RESTRICT="!test? ( test )"
 
@@ -42,15 +42,15 @@ src_configure() {
LUA_INC+=-I$($(tc-getPKG_CONFIG) --variable includedir $(usex 
luajit 'luajit' 'lua'))
 
# OS dependent
-   LIB_OPTION=-shared #for Linux
+   LIB_OPTION=\$(LDFLAGS) -shared
 
LIBNAME=$T.so.$V
 
# Compilation directives
WARN=-O2 -Wall -fPIC -W -Waggregate-return -Wcast-align 
-Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
INCS=\$(LUA_INC)
-   CFLAGS=\$(WARN) \$(INCS)
-   CC=gcc
+   CFLAGS+=\$(WARN) \$(INCS)
+   CC=$(tc-getCC)
EOF
 }
 
@@ -59,7 +59,7 @@ src_test() {
 }
 
 src_install() {
-   local -a HTML_DOCS=( doc/us )
+   use doc && local HTML_DOCS=( doc/us/. )
einstalldocs
 
emake DESTDIR="${D}" install



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2020-01-09 Thread Rafael Martins
commit: a23565c54e421e6b85f6fa024b5220e7efe7b4dd
Author: Rafael Martins  gentoo  org>
AuthorDate: Thu Jan  9 18:27:32 2020 +
Commit: Rafael Martins  gentoo  org>
CommitDate: Thu Jan  9 18:41:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a23565c5

dev-lua/luafilesystem: drop to maintainer-needed

Signed-off-by: Rafael Martins  gentoo.org>
Package-Manager: Portage-2.3.79, Repoman-2.3.16

 dev-lua/luafilesystem/metadata.xml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-lua/luafilesystem/metadata.xml 
b/dev-lua/luafilesystem/metadata.xml
index 59f1123dc93..dc620825e44 100644
--- a/dev-lua/luafilesystem/metadata.xml
+++ b/dev-lua/luafilesystem/metadata.xml
@@ -1,9 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   rafaelmart...@gentoo.org
-   
+   

LuaFileSystem is a Lua library developed to complement the set 
of functions
related to file systems offered by the standard Lua 
distribution.



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2019-09-15 Thread Michał Górny
commit: 55d551bbfbe379ed2e07d3907d773157c43eaa4c
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep 15 17:10:28 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Sep 15 17:10:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55d551bb

dev-lua/luafilesystem: Inline mirror://github

Signed-off-by: Michał Górny  gentoo.org>

 dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild | 2 +-
 dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild
index f93c58976e0..f7a912d74ff 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild
@@ -6,7 +6,7 @@ inherit multilib toolchain-funcs
 
 DESCRIPTION="File System Library for the Lua Programming Language"
 HOMEPAGE="https://keplerproject.github.com/luafilesystem/;
-SRC_URI="mirror://github/keplerproject/luafilesystem/${P}.tar.gz"
+SRC_URI="https://github.com/downloads/keplerproject/luafilesystem/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"

diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild
index 9995175daab..20fe7574006 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild
@@ -6,7 +6,7 @@ inherit multilib toolchain-funcs
 
 DESCRIPTION="File System Library for the Lua Programming Language"
 HOMEPAGE="https://keplerproject.github.com/luafilesystem/;
-SRC_URI="mirror://github/keplerproject/luafilesystem/${P}.tar.gz"
+SRC_URI="https://github.com/downloads/keplerproject/luafilesystem/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2019-07-29 Thread Mikle Kolyada
commit: 1f5959bda510fe9cadc88b860fae9e1eea423af5
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Jul 29 14:41:07 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Jul 29 14:41:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f5959bd

dev-lua/luafilesystem: arm stable wrt bug #638140

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

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

diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
index 7efb3954a6b..b2b1c99b814 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/keplerproject/luafilesystem/archive/v${MY_PV}.tar.gz
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 x86 ~x86-fbsd"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 x86 ~x86-fbsd"
 IUSE="luajit"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2019-05-12 Thread Thomas Deutschmann
commit: b0be2b8be0bb07f6f59ae66f65a46df8b203c9d1
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun May 12 20:24:28 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun May 12 20:56:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0be2b8b

dev-lua/luafilesystem: x86 stable (bug #638140)

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
index 2b0ac49cf73..f1c996243aa 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.6.3.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 @@ 
SRC_URI="https://github.com/keplerproject/luafilesystem/archive/v${MY_PV}.tar.gz
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 x86 ~x86-fbsd"
 IUSE="luajit"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2018-04-21 Thread Aaron Bauman
commit: 04a81448c4439d7a22b5705aa6d9048ae45a759a
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Apr 21 22:50:49 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Apr 21 22:50:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04a81448

dev-lua/luafilesystem: amd64 stable wrt bug #638140

Bug: https://bugs.gentoo.org/638140
Package-Manager: Portage-2.3.31, Repoman-2.3.9

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

diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
index 74f10dd0168..2b0ac49cf73 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/keplerproject/luafilesystem/archive/v${MY_PV}.tar.gz
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
 IUSE="luajit"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2018-03-27 Thread Sergei Trofimovich
commit: 69e2439ea293a90b238c1a79726da9ea6e17e393
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Mar 27 06:51:44 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Mar 27 07:31:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69e2439e

dev-lua/luafilesystem: keyworded 1.6.3 for ppc64, bug #651516

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc64"

 dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
index 34c0065754f..74f10dd0168 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.6.3.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
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/keplerproject/luafilesystem/archive/v${MY_PV}.tar.gz
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
 IUSE="luajit"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2017-08-14 Thread Alexis Ballier
commit: feb6f269ab080dbbf55708dd418433cf26997db3
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Aug 15 05:41:19 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Aug 15 05:41:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feb6f269

dev-lua/luafilesystem: keyword ~arm64

Package-Manager: Portage-2.3.7, Repoman-2.3.3

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

diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
index 497abb78961..34c0065754f 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/keplerproject/luafilesystem/archive/v${MY_PV}.tar.gz
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~x86 ~x86-fbsd"
 IUSE="luajit"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2017-05-01 Thread Patrice Clement
commit: 6a72293d8433cae71f10a47417c9be9937d4cb57
Author: Aric Belsito  gmail  com>
AuthorDate: Mon Mar 20 19:21:14 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon May  1 21:16:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a72293d

dev-lua/luafilesystem: version bump to 1.6.3.

This commit:
* bumps ebuild EAPI to version 6.
* adds luajit support to luafilesystem.

Gentoo-Bug: https://bugs.gentoo.org/534150
Gentoo-Bug: https://bugs.gentoo.org/584492
Closes: https://github.com/gentoo/gentoo/pull/4263

 dev-lua/luafilesystem/Manifest   |  1 +
 dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild | 53 
 dev-lua/luafilesystem/metadata.xml   |  4 ++
 3 files changed, 58 insertions(+)

diff --git a/dev-lua/luafilesystem/Manifest b/dev-lua/luafilesystem/Manifest
index 47081b8ee4a..21a7fea5fde 100644
--- a/dev-lua/luafilesystem/Manifest
+++ b/dev-lua/luafilesystem/Manifest
@@ -1,2 +1,3 @@
 DIST luafilesystem-1.5.0.tar.gz 26660 SHA256 
00f6e1dc1e1da7f0fa77e375f0a04908ec4241a4c5e8d98031614f4a4a50c7cb SHA512 
79e767be5b923424c2f3c0025e050b6a5b15550cf96d153072f817b0f94757032feeaa579e4d73cc009a5954d38a30079db1c1c15545a45e9f13c0c776080aac
 WHIRLPOOL 
67b3e3c82ddf0732afbd0c49dcff7608520742c7aca0aa38d709f282322d8b0487654c662327b68f3f451492e70ff5e9b485453090d792541a7aedf1efdc8fdf
 DIST luafilesystem-1.6.2.tar.gz 27886 SHA256 
4ad16df9958314662a459fec848d233d59313ef4992808a290053c1614532018 SHA512 
75debecd3b35d43e76b51de02cface73808547be6a26e15c06c969c50bbfd7c4d0801ccb68812b7ecb99e56eaa63deeadaba6d0387748e215e5bdab784d463ff
 WHIRLPOOL 
156fcb9b902fe8191925c12bbeaac14525c24ebbeff22bfb1bead3429090b074a29e41bf25d903692cf33fe53ca5983b3f935476e765b1ba0804e2113e026561
+DIST luafilesystem-1.6.3.tar.gz 30389 SHA256 
11c7b1fc2e560c0a521246b84e6257138d97e5a19e405714dbabcb9436ca SHA512 
47a2637903c9d42ce3ab7cf3e27b6457845aeed7ce90c0fee964ba9bf9eabf6a6eea940f960713f6b982f1b64167dbd5da8f217281284143c89e3cc5488b8404
 WHIRLPOOL 
8400028a142e23f33d29dd260b096f62de84ac3d2f8429de74d34c56789e8e70cdd9698cae9550f8a18bc785e9fb705eca958e9bd89595513075ac4c155aa940

diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
new file mode 100644
index 000..497abb78961
--- /dev/null
+++ b/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+MY_PV=${PV//./_}
+
+DESCRIPTION="File System Library for the Lua Programming Language"
+HOMEPAGE="https://keplerproject.github.io/luafilesystem/;
+SRC_URI="https://github.com/keplerproject/luafilesystem/archive/v${MY_PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~x86 ~x86-fbsd"
+IUSE="luajit"
+
+RDEPEND="
+   !luajit? ( >=dev-lang/lua-5.1 )
+   luajit? ( dev-lang/luajit:2 )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+HTML_DOCS=( doc/us )
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e "s|-O2|${CFLAGS}|" \
+   -e "/^LIB_OPTION/s|= |= ${LDFLAGS} |" \
+   config || die
+}
+
+src_compile() {
+   emake \
+   CC=$(tc-getCC) \
+   INCS="-I$($(tc-getPKG_CONFIG) --variable includedir $(usex 
luajit 'luajit' 'lua'))"
+}
+
+src_test() {
+   LUA_CPATH=./src/?.so $(usex luajit 'luajit' 'lua') tests/test.lua
+}
+
+src_install() {
+   emake \
+   LUA_LIBDIR="${ED%/}$($(tc-getPKG_CONFIG) --variable 
INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" \
+   install
+
+   einstalldocs
+}

diff --git a/dev-lua/luafilesystem/metadata.xml 
b/dev-lua/luafilesystem/metadata.xml
index faa0cbf565a..decffdac0f4 100644
--- a/dev-lua/luafilesystem/metadata.xml
+++ b/dev-lua/luafilesystem/metadata.xml
@@ -11,4 +11,8 @@
 LuaFileSystem offers a portable way to access the underlying directory
structure and file attributes.
   
+  
+Use dev-lang/luajit instead of
+  dev-lang/lua
+  
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luafilesystem/

2015-11-12 Thread Zac Medico
commit: 4735f1fb8896147f9ed04235226b7ef69c789bb9
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Nov 12 23:00:34 2015 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Nov 12 23:00:53 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4735f1fb

dev-lua/luafilesystem: tweak gcc sed expression to avoid CFLAGS match

This will prevent -frecord-gcc-switches in CFLAGS from being matched
by the "s|gcc|$(tc-getCC)|" sed expression.

Package-Manager: portage-2.2.24

 dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild | 2 +-
 dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild
index 5d96c62..803696f 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild
@@ -19,11 +19,11 @@ RDEPEND="${DEPEND}"
 
 src_prepare() {
sed -i \
+   -e "s|gcc|$(tc-getCC)|" \
-e "s|/usr/local|/usr|" \
-e "s|/lib|/$(get_libdir)|" \
-e "s|-O2|${CFLAGS}|" \
-e "/^LIB_OPTION/s|= |= ${LDFLAGS} |" \
-   -e "s|gcc|$(tc-getCC)|" \
config || die
 }
 

diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild 
b/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild
index 53a0b21..0ef510a 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild
@@ -19,11 +19,11 @@ RDEPEND="${DEPEND}"
 
 src_prepare() {
sed -i \
+   -e "s|gcc|$(tc-getCC)|" \
-e "s|/usr/local|/usr|" \
-e "s|/lib|/$(get_libdir)|" \
-e "s|-O2|${CFLAGS}|" \
-e "/^LIB_OPTION/s|= |= ${LDFLAGS} |" \
-   -e "s|gcc|$(tc-getCC)|" \
config || die
 }