public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2019-09-19  7:40 Sergei Trofimovich
  0 siblings, 0 replies; 16+ messages in thread
From: Sergei Trofimovich @ 2019-09-19  7:40 UTC (permalink / raw
  To: gentoo-commits

commit:     167d0cac1641a2946296cff5cca26a5ba7b85448
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 19 07:40:29 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Sep 19 07:40:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=167d0cac

dev-lua/lgi: add slot operator against libffi, bug #688886

While at it bump up to EAPI=7

Reported-by: Kent Fredric
Closes: https://bugs.gentoo.org/688886
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-lua/lgi/lgi-0.9.0-r1.ebuild | 55 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/dev-lua/lgi/lgi-0.9.0-r1.ebuild b/dev-lua/lgi/lgi-0.9.0-r1.ebuild
new file mode 100644
index 00000000000..e6445f8259a
--- /dev/null
+++ b/dev-lua/lgi/lgi-0.9.0-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+VIRTUALX_REQUIRED="manual"
+
+inherit eutils toolchain-funcs flag-o-matic virtualx
+
+DESCRIPTION="Lua bindings using gobject-introspection"
+HOMEPAGE="https://github.com/pavouk/lgi"
+SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="examples test"
+
+RDEPEND=">=dev-lang/lua-5.1
+		dev-libs/gobject-introspection
+		dev-libs/glib
+		virtual/libffi:0="
+DEPEND="${RDEPEND}
+		virtual/pkgconfig
+		test? (
+			x11-libs/cairo[glib]
+			x11-libs/gtk+[introspection]
+			${VIRTUALX_DEPEND}
+		)"
+
+src_prepare() {
+	default
+
+	sed -i \
+		-e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \
+		-e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \
+		"${S}"/lgi/Makefile || die "sed failed"
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}"
+}
+
+src_test() {
+	virtx emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" check
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	dohtml -r docs/*
+	dodoc README.md
+	if use examples; then
+		dodoc -r samples
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2019-09-20 19:08 Sergei Trofimovich
  0 siblings, 0 replies; 16+ messages in thread
From: Sergei Trofimovich @ 2019-09-20 19:08 UTC (permalink / raw
  To: gentoo-commits

commit:     a4673d6ed944e1f384597731051ff0e83f9d1adf
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 20 19:07:35 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Sep 20 19:07:59 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4673d6e

dev-lua/lgi: fix dohtml use in src_install(), bug #694958

Ebuild failed at src_install() as:
```
 * ERROR: dev-lua/lgi-0.9.0-r1::gentoo failed (install phase):
 *   'dohtml' has been banned for EAPI '7'
```

Switched to the direct 'dodoc'. While at it disabled compression
for provided samples and markdown docs.

Reported-by: dashmz <AT> web.de
Closes: https://bugs.gentoo.org/694958
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-lua/lgi/lgi-0.9.0-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-lua/lgi/lgi-0.9.0-r1.ebuild b/dev-lua/lgi/lgi-0.9.0-r1.ebuild
index e6445f8259a..b0035719374 100644
--- a/dev-lua/lgi/lgi-0.9.0-r1.ebuild
+++ b/dev-lua/lgi/lgi-0.9.0-r1.ebuild
@@ -47,8 +47,9 @@ src_test() {
 
 src_install() {
 	emake DESTDIR="${D}" install
-	dohtml -r docs/*
+	docompress -x /usr/share/doc/${PF}
 	dodoc README.md
+	dodoc -r docs/*
 	if use examples; then
 		dodoc -r samples
 	fi


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2019-11-02  4:41 Robin H. Johnson
  0 siblings, 0 replies; 16+ messages in thread
From: Robin H. Johnson @ 2019-11-02  4:41 UTC (permalink / raw
  To: gentoo-commits

commit:     a9b645ada9f98ac46bd4123f026014e6be82aea2
Author:     David Heidelberg <david <AT> ixit <DOT> cz>
AuthorDate: Thu Oct 17 13:12:58 2019 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat Nov  2 04:40:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9b645ad

dev-lua/lgi: bump to 0.9.2

Closes: https://bugs.gentoo.org/664696
Signed-off-by: David Heidelberg <david <AT> ixit.cz>
(cherry picked from commit fed3c8e568a0711d3383c769ce6e4002ba630a5b)
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/13327

 dev-lua/lgi/Manifest         |  1 +
 dev-lua/lgi/lgi-0.9.2.ebuild | 56 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-lua/lgi/Manifest b/dev-lua/lgi/Manifest
index 6b2058d953c..d524219d4cf 100644
--- a/dev-lua/lgi/Manifest
+++ b/dev-lua/lgi/Manifest
@@ -1,3 +1,4 @@
 DIST lgi-0.6.2.tar.gz 257541 BLAKE2B 61d58b1b03fe01d43384693b21336149b06a04e638a32f46e685e0f6f1e7ad693ec3074af3ffcc789f053a2a085a58b41b81023f3b023625309f0f4ed6ae6cff SHA512 02b75f17f98d7f7240c335384a85cdb0bb1c1b117b4ea8baa065715c4e5ecac946618ef83f92ef476a87db3a17a29a0e21d71f4f79db3bc4e519cf795ae181f5
 DIST lgi-0.7.2.tar.gz 270767 BLAKE2B 491fafccbf4d8c5086b48baad0022a76a1f829e0c9a55acbfbd4eaa283c2713ef3f4863a2abf12d24bae0ccb2284506da66578c2d26ab6bda3f6d891c39a8ff4 SHA512 e661e13d6f539c2c434a6b0db9e622ee4af3c039a6488617954643f0b46a908068a14e6d37ff44437fbe5b4cb62863699107ab533aca121d4b8d584ca83c35fc
 DIST lgi-0.9.0.tar.gz 285248 BLAKE2B e5e6fe79899b70f46338827296b921c04c31ac1edc82e5c7a1d443c54c409aea65a766f3666b0ff9fca63a17cb50fe9727d0722007b16a1d4a6c77c48b9f3828 SHA512 1a486a40f504740224b1d277368df65e0a30708c02422390517c2fbf961b5fec264bdbc695d306e2f5fb2aa8ad4539212ef5314b18f45e3b488fd5f492a19f9e
+DIST lgi-0.9.2.tar.gz 291463 BLAKE2B d89752e7c56f9a695f97f90680515fd9acab57991121ec3455fcd88aa0b64828f060d9bf222fb1ab14bdfc956ec3ad296af848168532d09694a0cacbb55dac71 SHA512 755a96b78530f42da6d4e2664f8e37cb07a356419e7e6448003c3f841c9d98ad18b851715d9eb203ea7eb27b13ec46223fa8a1c90a99fd12960ce85b0a695335

diff --git a/dev-lua/lgi/lgi-0.9.2.ebuild b/dev-lua/lgi/lgi-0.9.2.ebuild
new file mode 100644
index 00000000000..fdd136c1aeb
--- /dev/null
+++ b/dev-lua/lgi/lgi-0.9.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+VIRTUALX_REQUIRED="manual"
+
+inherit eutils toolchain-funcs flag-o-matic virtualx
+
+DESCRIPTION="Lua bindings using gobject-introspection"
+HOMEPAGE="https://github.com/pavouk/lgi"
+SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="examples test"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND=">=dev-lang/lua-5.1:=
+		dev-libs/gobject-introspection
+		dev-libs/glib
+		virtual/libffi:0="
+DEPEND="${RDEPEND}
+		test? (
+			x11-libs/cairo[glib]
+			x11-libs/gtk+[introspection]
+			${VIRTUALX_DEPEND}
+		)"
+
+src_prepare() {
+	default
+
+	sed -i \
+		-e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \
+		-e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \
+		"${S}"/lgi/Makefile || die "sed failed"
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}"
+}
+
+src_test() {
+	virtx emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" check
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	docompress -x /usr/share/doc/${PF}
+	dodoc README.md
+	dodoc -r docs/*
+	if use examples; then
+		dodoc -r samples
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2019-11-13  2:10 Aaron Bauman
  0 siblings, 0 replies; 16+ messages in thread
From: Aaron Bauman @ 2019-11-13  2:10 UTC (permalink / raw
  To: gentoo-commits

commit:     243a28f3badcd4606895580a6caa13a367fc3af4
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 02:07:16 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 02:10:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=243a28f3

dev-lua/lgi: drop old

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 dev-lua/lgi/Manifest            |  2 --
 dev-lua/lgi/lgi-0.6.2-r1.ebuild | 53 -----------------------------------------
 dev-lua/lgi/lgi-0.6.2.ebuild    | 37 ----------------------------
 dev-lua/lgi/lgi-0.7.2.ebuild    | 53 -----------------------------------------
 4 files changed, 145 deletions(-)

diff --git a/dev-lua/lgi/Manifest b/dev-lua/lgi/Manifest
index d524219d4cf..159d061b3e8 100644
--- a/dev-lua/lgi/Manifest
+++ b/dev-lua/lgi/Manifest
@@ -1,4 +1,2 @@
-DIST lgi-0.6.2.tar.gz 257541 BLAKE2B 61d58b1b03fe01d43384693b21336149b06a04e638a32f46e685e0f6f1e7ad693ec3074af3ffcc789f053a2a085a58b41b81023f3b023625309f0f4ed6ae6cff SHA512 02b75f17f98d7f7240c335384a85cdb0bb1c1b117b4ea8baa065715c4e5ecac946618ef83f92ef476a87db3a17a29a0e21d71f4f79db3bc4e519cf795ae181f5
-DIST lgi-0.7.2.tar.gz 270767 BLAKE2B 491fafccbf4d8c5086b48baad0022a76a1f829e0c9a55acbfbd4eaa283c2713ef3f4863a2abf12d24bae0ccb2284506da66578c2d26ab6bda3f6d891c39a8ff4 SHA512 e661e13d6f539c2c434a6b0db9e622ee4af3c039a6488617954643f0b46a908068a14e6d37ff44437fbe5b4cb62863699107ab533aca121d4b8d584ca83c35fc
 DIST lgi-0.9.0.tar.gz 285248 BLAKE2B e5e6fe79899b70f46338827296b921c04c31ac1edc82e5c7a1d443c54c409aea65a766f3666b0ff9fca63a17cb50fe9727d0722007b16a1d4a6c77c48b9f3828 SHA512 1a486a40f504740224b1d277368df65e0a30708c02422390517c2fbf961b5fec264bdbc695d306e2f5fb2aa8ad4539212ef5314b18f45e3b488fd5f492a19f9e
 DIST lgi-0.9.2.tar.gz 291463 BLAKE2B d89752e7c56f9a695f97f90680515fd9acab57991121ec3455fcd88aa0b64828f060d9bf222fb1ab14bdfc956ec3ad296af848168532d09694a0cacbb55dac71 SHA512 755a96b78530f42da6d4e2664f8e37cb07a356419e7e6448003c3f841c9d98ad18b851715d9eb203ea7eb27b13ec46223fa8a1c90a99fd12960ce85b0a695335

diff --git a/dev-lua/lgi/lgi-0.6.2-r1.ebuild b/dev-lua/lgi/lgi-0.6.2-r1.ebuild
deleted file mode 100644
index 51f313d0033..00000000000
--- a/dev-lua/lgi/lgi-0.6.2-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-VIRTUALX_REQUIRED="manual"
-
-inherit eutils toolchain-funcs flag-o-matic virtualx
-
-DESCRIPTION="Lua bindings using gobject-introspection"
-HOMEPAGE="https://github.com/pavouk/lgi"
-SRC_URI="https://github.com/downloads/pavouk/lgi/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="examples test"
-
-RDEPEND=">=dev-lang/lua-5.1
-		dev-libs/gobject-introspection
-		dev-libs/glib
-		virtual/libffi"
-DEPEND="${RDEPEND}
-		virtual/pkgconfig
-		test? (
-			x11-libs/cairo[glib]
-			x11-libs/gtk+[introspection]
-			${VIRTUALX_DEPEND}
-		)"
-
-src_prepare() {
-	sed -i \
-		-e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \
-		-e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \
-		"${S}"/lgi/Makefile || die "sed failed"
-}
-
-src_compile() {
-	emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}"
-}
-
-src_test() {
-	Xemake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" check
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-	dohtml -r docs/*
-	dodoc README.md
-	if use examples; then
-		dodoc -r samples
-	fi
-}

diff --git a/dev-lua/lgi/lgi-0.6.2.ebuild b/dev-lua/lgi/lgi-0.6.2.ebuild
deleted file mode 100644
index d4b92fec99e..00000000000
--- a/dev-lua/lgi/lgi-0.6.2.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils toolchain-funcs flag-o-matic
-
-DESCRIPTION="Lua bindings using gobject-introspection"
-HOMEPAGE="https://github.com/pavouk/lgi"
-SRC_URI="https://github.com/downloads/pavouk/lgi/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/lua-5.1
-		x11-libs/gtk+[introspection]"
-DEPEND="${RDEPEND}
-		virtual/pkgconfig"
-
-src_prepare() {
-	sed -i \
-		-e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \
-		-e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \
-		"${S}"/lgi/Makefile || die "sed failed"
-}
-
-src_compile() {
-	emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}"
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-	dohtml -r docs/*
-	dodoc README.md
-}

diff --git a/dev-lua/lgi/lgi-0.7.2.ebuild b/dev-lua/lgi/lgi-0.7.2.ebuild
deleted file mode 100644
index 27adc4c0de9..00000000000
--- a/dev-lua/lgi/lgi-0.7.2.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-VIRTUALX_REQUIRED="manual"
-
-inherit eutils toolchain-funcs flag-o-matic virtualx
-
-DESCRIPTION="Lua bindings using gobject-introspection"
-HOMEPAGE="https://github.com/pavouk/lgi"
-SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm ppc ppc64 x86"
-IUSE="examples test"
-
-RDEPEND=">=dev-lang/lua-5.1
-		dev-libs/gobject-introspection
-		dev-libs/glib
-		virtual/libffi"
-DEPEND="${RDEPEND}
-		virtual/pkgconfig
-		test? (
-			x11-libs/cairo[glib]
-			x11-libs/gtk+[introspection]
-			${VIRTUALX_DEPEND}
-		)"
-
-src_prepare() {
-	sed -i \
-		-e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \
-		-e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \
-		"${S}"/lgi/Makefile || die "sed failed"
-}
-
-src_compile() {
-	emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}"
-}
-
-src_test() {
-	Xemake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" check
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-	dohtml -r docs/*
-	dodoc README.md
-	if use examples; then
-		dodoc -r samples
-	fi
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2020-08-02 11:48 Sergei Trofimovich
  0 siblings, 0 replies; 16+ messages in thread
From: Sergei Trofimovich @ 2020-08-02 11:48 UTC (permalink / raw
  To: gentoo-commits

commit:     7cf6fe5f4b7d52c42b3948c13464ba054f8c10aa
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  2 11:41:38 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Aug  2 11:41:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cf6fe5f

dev-lua/lgi: stable 0.9.2 for ppc

stable wrt bug #704766

Package-Manager: Portage-3.0.1, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

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

diff --git a/dev-lua/lgi/lgi-0.9.2.ebuild b/dev-lua/lgi/lgi-0.9.2.ebuild
index c2faaf94dbc..7ea7eedc3e0 100644
--- a/dev-lua/lgi/lgi-0.9.2.ebuild
+++ b/dev-lua/lgi/lgi-0.9.2.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=7
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ppc ~ppc64 ~x86"
 IUSE="examples test"
 RESTRICT="!test? ( test )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2020-08-04  4:21 Sam James
  0 siblings, 0 replies; 16+ messages in thread
From: Sam James @ 2020-08-04  4:21 UTC (permalink / raw
  To: gentoo-commits

commit:     b1965df6e1177b18ffbc5c81a3113080260adc74
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  4 03:45:06 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug  4 03:45:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1965df6

dev-lua/lgi: arm stable (bug #704766)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/dev-lua/lgi/lgi-0.9.2.ebuild b/dev-lua/lgi/lgi-0.9.2.ebuild
index 7ea7eedc3e0..f5222a9aef6 100644
--- a/dev-lua/lgi/lgi-0.9.2.ebuild
+++ b/dev-lua/lgi/lgi-0.9.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 arm ppc ~ppc64 ~x86"
 IUSE="examples test"
 RESTRICT="!test? ( test )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2020-08-05 13:53 Agostino Sarubbo
  0 siblings, 0 replies; 16+ messages in thread
From: Agostino Sarubbo @ 2020-08-05 13:53 UTC (permalink / raw
  To: gentoo-commits

commit:     74a12f8475409781a8533e2bc9a0ed861a5702f4
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  5 13:50:19 2020 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Aug  5 13:50:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74a12f84

dev-lua/lgi: amd64 stable wrt bug #704766

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

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

diff --git a/dev-lua/lgi/lgi-0.9.2.ebuild b/dev-lua/lgi/lgi-0.9.2.ebuild
index f5222a9aef6..16f66013240 100644
--- a/dev-lua/lgi/lgi-0.9.2.ebuild
+++ b/dev-lua/lgi/lgi-0.9.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm ppc ~ppc64 ~x86"
+KEYWORDS="amd64 arm ppc ~ppc64 ~x86"
 IUSE="examples test"
 RESTRICT="!test? ( test )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2020-09-13 21:03 Sam James
  0 siblings, 0 replies; 16+ messages in thread
From: Sam James @ 2020-09-13 21:03 UTC (permalink / raw
  To: gentoo-commits

commit:     64f11f209bc23a92d5975497ddcbe7ac59cb7ede
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 13 21:03:12 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 13 21:03:44 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64f11f20

dev-lua/lgi: Stabilize 0.9.2 ppc64, #704766

Thanks-to: ernsteiswuerfel <erhard_f <AT> mailbox.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/dev-lua/lgi/lgi-0.9.2.ebuild b/dev-lua/lgi/lgi-0.9.2.ebuild
index b3ced88be24..d2814be0b52 100644
--- a/dev-lua/lgi/lgi-0.9.2.ebuild
+++ b/dev-lua/lgi/lgi-0.9.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm ppc ~ppc64 x86"
+KEYWORDS="amd64 arm ppc ppc64 x86"
 IUSE="examples test"
 RESTRICT="!test? ( test )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2020-09-19 16:40 Aaron Bauman
  0 siblings, 0 replies; 16+ messages in thread
From: Aaron Bauman @ 2020-09-19 16:40 UTC (permalink / raw
  To: gentoo-commits

commit:     317c751501b149576272010d6efbab174953f07d
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 19 16:38:21 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sat Sep 19 16:40:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=317c7515

dev-lua/lgi: drop old EAPI=4 and unstable ebuild

Closes: https://bugs.gentoo.org/704766
Closes: https://bugs.gentoo.org/679862
Closes: https://bugs.gentoo.org/628022
Closes: https://bugs.gentoo.org/662790
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 dev-lua/lgi/Manifest            |  1 -
 dev-lua/lgi/lgi-0.9.0-r1.ebuild | 57 -----------------------------------------
 dev-lua/lgi/lgi-0.9.0.ebuild    | 54 --------------------------------------
 3 files changed, 112 deletions(-)

diff --git a/dev-lua/lgi/Manifest b/dev-lua/lgi/Manifest
index 159d061b3e8..efb51f2dc85 100644
--- a/dev-lua/lgi/Manifest
+++ b/dev-lua/lgi/Manifest
@@ -1,2 +1 @@
-DIST lgi-0.9.0.tar.gz 285248 BLAKE2B e5e6fe79899b70f46338827296b921c04c31ac1edc82e5c7a1d443c54c409aea65a766f3666b0ff9fca63a17cb50fe9727d0722007b16a1d4a6c77c48b9f3828 SHA512 1a486a40f504740224b1d277368df65e0a30708c02422390517c2fbf961b5fec264bdbc695d306e2f5fb2aa8ad4539212ef5314b18f45e3b488fd5f492a19f9e
 DIST lgi-0.9.2.tar.gz 291463 BLAKE2B d89752e7c56f9a695f97f90680515fd9acab57991121ec3455fcd88aa0b64828f060d9bf222fb1ab14bdfc956ec3ad296af848168532d09694a0cacbb55dac71 SHA512 755a96b78530f42da6d4e2664f8e37cb07a356419e7e6448003c3f841c9d98ad18b851715d9eb203ea7eb27b13ec46223fa8a1c90a99fd12960ce85b0a695335

diff --git a/dev-lua/lgi/lgi-0.9.0-r1.ebuild b/dev-lua/lgi/lgi-0.9.0-r1.ebuild
deleted file mode 100644
index bc34ca2555b..00000000000
--- a/dev-lua/lgi/lgi-0.9.0-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-VIRTUALX_REQUIRED="manual"
-
-inherit eutils toolchain-funcs flag-o-matic virtualx
-
-DESCRIPTION="Lua bindings using gobject-introspection"
-HOMEPAGE="https://github.com/pavouk/lgi"
-SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="examples test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=dev-lang/lua-5.1
-		dev-libs/gobject-introspection
-		dev-libs/glib
-		virtual/libffi:0="
-DEPEND="${RDEPEND}
-		virtual/pkgconfig
-		test? (
-			x11-libs/cairo[glib]
-			x11-libs/gtk+[introspection]
-			${VIRTUALX_DEPEND}
-		)"
-
-src_prepare() {
-	default
-
-	sed -i \
-		-e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \
-		-e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \
-		"${S}"/lgi/Makefile || die "sed failed"
-}
-
-src_compile() {
-	emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}"
-}
-
-src_test() {
-	virtx emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" check
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-	docompress -x /usr/share/doc/${PF}
-	dodoc README.md
-	dodoc -r docs/*
-	if use examples; then
-		dodoc -r samples
-	fi
-}

diff --git a/dev-lua/lgi/lgi-0.9.0.ebuild b/dev-lua/lgi/lgi-0.9.0.ebuild
deleted file mode 100644
index 51020ae52c9..00000000000
--- a/dev-lua/lgi/lgi-0.9.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-VIRTUALX_REQUIRED="manual"
-
-inherit eutils toolchain-funcs flag-o-matic virtualx
-
-DESCRIPTION="Lua bindings using gobject-introspection"
-HOMEPAGE="https://github.com/pavouk/lgi"
-SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm ppc ppc64 x86"
-IUSE="examples test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=dev-lang/lua-5.1
-		dev-libs/gobject-introspection
-		dev-libs/glib
-		virtual/libffi"
-DEPEND="${RDEPEND}
-		virtual/pkgconfig
-		test? (
-			x11-libs/cairo[glib]
-			x11-libs/gtk+[introspection]
-			${VIRTUALX_DEPEND}
-		)"
-
-src_prepare() {
-	sed -i \
-		-e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \
-		-e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \
-		"${S}"/lgi/Makefile || die "sed failed"
-}
-
-src_compile() {
-	emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}"
-}
-
-src_test() {
-	Xemake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" check
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-	dohtml -r docs/*
-	dodoc README.md
-	if use examples; then
-		dodoc -r samples
-	fi
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2020-11-16 22:53 Sergei Trofimovich
  0 siblings, 0 replies; 16+ messages in thread
From: Sergei Trofimovich @ 2020-11-16 22:53 UTC (permalink / raw
  To: gentoo-commits

commit:     92972e82cb6d5581014435e224434f7fbd2821aa
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 16 22:50:31 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 22:53:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92972e82

dev-lua/lgi: use dev-libs/libffi instead of virtual/libffi

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

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

diff --git a/dev-lua/lgi/lgi-0.9.2.ebuild b/dev-lua/lgi/lgi-0.9.2.ebuild
index d2814be0b52..6c84cc23204 100644
--- a/dev-lua/lgi/lgi-0.9.2.ebuild
+++ b/dev-lua/lgi/lgi-0.9.2.ebuild
@@ -21,7 +21,7 @@ BDEPEND="virtual/pkgconfig"
 RDEPEND=">=dev-lang/lua-5.1:=
 		dev-libs/gobject-introspection
 		dev-libs/glib
-		virtual/libffi:0="
+		dev-libs/libffi:0="
 DEPEND="${RDEPEND}
 		test? (
 			x11-libs/cairo[glib]


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2020-11-29  0:28 Robin H. Johnson
  0 siblings, 0 replies; 16+ messages in thread
From: Robin H. Johnson @ 2020-11-29  0:28 UTC (permalink / raw
  To: gentoo-commits

commit:     0e95c6e912a781a82fa7394ca5a4aa0dc92b2b8b
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 00:27:10 2020 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 00:28:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e95c6e9

dev-lua/lgi: revbump with slotted lua support

Builds & passes all src_test runs with Xvfb on lua5.1..5.3.
Not tested with luajit, but presumed to work.

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 dev-lua/lgi/lgi-0.9.2-r100.ebuild | 124 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 124 insertions(+)

diff --git a/dev-lua/lgi/lgi-0.9.2-r100.ebuild b/dev-lua/lgi/lgi-0.9.2-r100.ebuild
new file mode 100644
index 00000000000..908e5804dfb
--- /dev/null
+++ b/dev-lua/lgi/lgi-0.9.2-r100.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+VIRTUALX_REQUIRED="manual"
+LUA_COMPAT=( lua5-{1..3} luajit )
+
+inherit lua eutils toolchain-funcs flag-o-matic virtualx
+
+DESCRIPTION="Lua bindings using gobject-introspection"
+HOMEPAGE="https://github.com/pavouk/lgi"
+SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+BDEPEND="${LUA_DEPS}"
+RDEPEND="${LUA_DEPS}
+		dev-libs/gobject-introspection
+		dev-libs/glib
+		dev-libs/libffi:0="
+DEPEND="${RDEPEND}
+		test? (
+			x11-libs/cairo[glib]
+			x11-libs/gtk+[introspection]
+			${VIRTUALX_DEPEND}
+		)"
+
+lua_src_prepare() {
+	pushd "${BUILD_DIR}" || die
+	# The Makefile & several source files use the LUA version as part of the
+	# direct filename, dynamically created, and we respect that.
+	_slug=${ELUA}
+	_slug=${_slug/.}
+	_slug=${_slug/-}
+	_slug=${_slug/_}
+
+	# Makefile: CORE = corelgilua51.so (and similar lines)
+	sed -r -i \
+		-e "/^CORE\>/s,lua5.,${_slug},g" \
+		lgi/Makefile \
+		|| die "sed failed"
+
+	# ./lgi/core.lua:local core = require 'lgi.corelgilua51'
+	# ./lgi/core.c:luaopen_lgi_corelgilua51 (lua_State* L)
+	sed -r -i \
+		-e "/lgi.corelgilua5./s,lua5.,${_slug},g" \
+		lgi/core.lua \
+		lgi/core.c \
+		|| die "sed failed"
+
+	# Verify the change as it's important!
+	for f in lgi/core.lua lgi/core.c lgi/Makefile ; do
+		grep -sq "corelgi${_slug}" "${f}" || die "Failed to sed .lua & .c for corelgi${_slug}: ${f}"
+	done
+
+	# Cleanup
+	unset _slug
+	popd
+}
+
+src_prepare() {
+	default
+	lua_copy_sources
+	lua_foreach_impl lua_src_prepare
+}
+
+lgi_emake_wrapper() {
+	emake \
+	CC="$(tc-getCC)" \
+	COPTFLAGS="-Wall -Wextra ${CFLAGS}" \
+	LIBFLAG="-shared ${LDFLAGS}" \
+	LUA_CFLAGS="$(lua_get_CFLAGS)" \
+	LUA="${LUA}" \
+	LUA_VERSION="${ELUA#lua}" \
+	LUA_LIBDIR="$(lua_get_cmod_dir)" \
+	LUA_SHAREDIR="$(lua_get_lmod_dir)" \
+	"$@"
+}
+
+lua_src_compile() {
+	pushd "${BUILD_DIR}" || die
+	lgi_emake_wrapper all
+	popd
+}
+
+src_compile() {
+	lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+	pushd "${BUILD_DIR}" || die
+	virtx \
+		lgi_emake_wrapper \
+		check
+	popd
+}
+
+src_test() {
+	lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+	pushd "${BUILD_DIR}" || die
+	lgi_emake_wrapper \
+		DESTDIR="${D}" \
+		install
+	popd
+}
+
+src_install() {
+	lua_foreach_impl lua_src_install
+	docompress -x /usr/share/doc/${PF}
+	dodoc README.md
+	dodoc -r docs/*
+	if use examples; then
+		dodoc -r samples
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2020-12-03 13:50 Marek Szuba
  0 siblings, 0 replies; 16+ messages in thread
From: Marek Szuba @ 2020-12-03 13:50 UTC (permalink / raw
  To: gentoo-commits

commit:     d5f2f8e59a8b9fad9edf4a0f340e3c103e1a801a
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  3 13:36:32 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Dec  3 13:49:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5f2f8e5

dev-lua/lgi: limit unmigrated ebuilds to dev-lang/lua:0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

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

diff --git a/dev-lua/lgi/lgi-0.9.2.ebuild b/dev-lua/lgi/lgi-0.9.2.ebuild
index 6c84cc23204..aa535b2deae 100644
--- a/dev-lua/lgi/lgi-0.9.2.ebuild
+++ b/dev-lua/lgi/lgi-0.9.2.ebuild
@@ -18,7 +18,7 @@ IUSE="examples test"
 RESTRICT="!test? ( test )"
 
 BDEPEND="virtual/pkgconfig"
-RDEPEND=">=dev-lang/lua-5.1:=
+RDEPEND=">=dev-lang/lua-5.1:0=
 		dev-libs/gobject-introspection
 		dev-libs/glib
 		dev-libs/libffi:0="


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2021-03-26 19:46 Conrad Kostecki
  0 siblings, 0 replies; 16+ messages in thread
From: Conrad Kostecki @ 2021-03-26 19:46 UTC (permalink / raw
  To: gentoo-commits

commit:     16c80013a85ac637a60c6512f62e9c1706bf5599
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 26 18:58:22 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 19:45:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16c80013

dev-lua/lgi: drop old version

Dropping old version, which does not support slotted lua.

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/lgi/lgi-0.9.2.ebuild | 57 --------------------------------------------
 1 file changed, 57 deletions(-)

diff --git a/dev-lua/lgi/lgi-0.9.2.ebuild b/dev-lua/lgi/lgi-0.9.2.ebuild
deleted file mode 100644
index aa535b2deae..00000000000
--- a/dev-lua/lgi/lgi-0.9.2.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-VIRTUALX_REQUIRED="manual"
-
-inherit eutils toolchain-funcs flag-o-matic virtualx
-
-DESCRIPTION="Lua bindings using gobject-introspection"
-HOMEPAGE="https://github.com/pavouk/lgi"
-SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm ppc ppc64 x86"
-IUSE="examples test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="virtual/pkgconfig"
-RDEPEND=">=dev-lang/lua-5.1:0=
-		dev-libs/gobject-introspection
-		dev-libs/glib
-		dev-libs/libffi:0="
-DEPEND="${RDEPEND}
-		test? (
-			x11-libs/cairo[glib]
-			x11-libs/gtk+[introspection]
-			${VIRTUALX_DEPEND}
-		)"
-
-src_prepare() {
-	default
-
-	sed -i \
-		-e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \
-		-e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \
-		"${S}"/lgi/Makefile || die "sed failed"
-}
-
-src_compile() {
-	emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}"
-}
-
-src_test() {
-	virtx emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" check
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-	docompress -x /usr/share/doc/${PF}
-	dodoc README.md
-	dodoc -r docs/*
-	if use examples; then
-		dodoc -r samples
-	fi
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2021-09-18 12:29 Marek Szuba
  0 siblings, 0 replies; 16+ messages in thread
From: Marek Szuba @ 2021-09-18 12:29 UTC (permalink / raw
  To: gentoo-commits

commit:     f4223965092c9538e7d3d91af2388a5627d27406
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 18 11:32:31 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Sep 18 12:29:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4223965

dev-lua/lgi: keyword 0.9.2-r100 for ~riscv

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-lua/lgi/lgi-0.9.2-r100.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/lgi/lgi-0.9.2-r100.ebuild b/dev-lua/lgi/lgi-0.9.2-r100.ebuild
index c59a4ce8e61..8c362af8788 100644
--- a/dev-lua/lgi/lgi-0.9.2-r100.ebuild
+++ b/dev-lua/lgi/lgi-0.9.2-r100.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm ppc ppc64 x86"
+KEYWORDS="amd64 arm ppc ppc64 ~riscv x86"
 IUSE="examples test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${LUA_REQUIRED_USE}"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2022-02-15 23:38 Conrad Kostecki
  0 siblings, 0 replies; 16+ messages in thread
From: Conrad Kostecki @ 2022-02-15 23:38 UTC (permalink / raw
  To: gentoo-commits

commit:     275cd1bde43d7dca337e01a234ab1cc5820276fb
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 15 23:11:23 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 23:37:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=275cd1bd

dev-lua/lgi: mask tests for luajit

According to upstream, luakit tests are currently not working.

Closes: https://bugs.gentoo.org/774270
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/lgi/lgi-0.9.2-r100.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/dev-lua/lgi/lgi-0.9.2-r100.ebuild b/dev-lua/lgi/lgi-0.9.2-r100.ebuild
index 8c362af8788a..4fab943f27a6 100644
--- a/dev-lua/lgi/lgi-0.9.2-r100.ebuild
+++ b/dev-lua/lgi/lgi-0.9.2-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -97,9 +97,14 @@ src_compile() {
 
 lua_src_test() {
 	pushd "${BUILD_DIR}" || die
-	virtx \
-		lgi_emake_wrapper \
-		check
+
+	if [[ ${ELUA} == luajit ]]; then
+		einfo "Tests are currently not supported on LuaJIT"
+	else
+		virtx \
+			lgi_emake_wrapper \
+			check
+	fi
 	popd
 }
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
@ 2022-12-05 17:24 WANG Xuerui
  0 siblings, 0 replies; 16+ messages in thread
From: WANG Xuerui @ 2022-12-05 17:24 UTC (permalink / raw
  To: gentoo-commits

commit:     48ba697257c4a70c15b650b40bdb9f03d193251f
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  5 15:25:26 2022 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Mon Dec  5 17:21:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48ba6972

dev-lua/lgi: keyword 0.9.2-r100 for ~loong

The test failure is also present on amd64. Bug #836839

Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 dev-lua/lgi/lgi-0.9.2-r100.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/lgi/lgi-0.9.2-r100.ebuild b/dev-lua/lgi/lgi-0.9.2-r100.ebuild
index 4fab943f27a6..f60aeae86b61 100644
--- a/dev-lua/lgi/lgi-0.9.2-r100.ebuild
+++ b/dev-lua/lgi/lgi-0.9.2-r100.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm ~loong ppc ppc64 ~riscv x86"
 IUSE="examples test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${LUA_REQUIRED_USE}"


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

end of thread, other threads:[~2022-12-05 17:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-04  4:21 [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2022-12-05 17:24 WANG Xuerui
2022-02-15 23:38 Conrad Kostecki
2021-09-18 12:29 Marek Szuba
2021-03-26 19:46 Conrad Kostecki
2020-12-03 13:50 Marek Szuba
2020-11-29  0:28 Robin H. Johnson
2020-11-16 22:53 Sergei Trofimovich
2020-09-19 16:40 Aaron Bauman
2020-09-13 21:03 Sam James
2020-08-05 13:53 Agostino Sarubbo
2020-08-02 11:48 Sergei Trofimovich
2019-11-13  2:10 Aaron Bauman
2019-11-02  4:41 Robin H. Johnson
2019-09-20 19:08 Sergei Trofimovich
2019-09-19  7:40 Sergei Trofimovich

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