public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-go/act/
@ 2021-03-20  5:43 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2021-03-20  5:43 UTC (permalink / raw
  To: gentoo-commits

commit:     5f9422d7249696d2f1875421ee01591f1436e93b
Author:     Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Wed Feb 10 22:35:38 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 05:31:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f9422d7

dev-go/act: new package

Closes: https://bugs.gentoo.org/770043
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/19411
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-go/act/Manifest         |  1 +
 dev-go/act/act-1.6.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++++++
 dev-go/act/metadata.xml     | 21 +++++++++++++++++
 3 files changed, 79 insertions(+)

diff --git a/dev-go/act/Manifest b/dev-go/act/Manifest
new file mode 100644
index 00000000000..4537de8cdfe
--- /dev/null
+++ b/dev-go/act/Manifest
@@ -0,0 +1 @@
+DIST act-1.6.0.tar.gz 781572 BLAKE2B 04ac295b09d9ae5fd9f062637f07671009140988e42d00668174bdc07b09d3dea8df6064d597f03a64157f34d3a4f60df2a9d528eaaa60e2540cb51a421136ef SHA512 1a99b628eea87151e6efdafecc80aa590e679925d8e3c03251888b72bce3026de8149ad6111605bcae52ea5006a4ecfe97b4eb4e860d545c2b536475a67282e6

diff --git a/dev-go/act/act-1.6.0.ebuild b/dev-go/act/act-1.6.0.ebuild
new file mode 100644
index 00000000000..4518cc6df79
--- /dev/null
+++ b/dev-go/act/act-1.6.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit golang-base toolchain-funcs
+
+DESCRIPTION="Automated Component Toolkit code generator"
+HOMEPAGE="https://github.com/Autodesk/AutomaticComponentToolkit"
+SRC_URI="https://github.com/Autodesk/AutomaticComponentToolkit/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/AutomaticComponentToolkit-${PV}"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="strip test"
+
+# Package does not follow the usual go directory structure
+# Functions borrowed from dev-lang/go ebuild.
+go_arch() {
+	# By chance most portage arch names match Go
+	local portage_arch=$(tc-arch $@)
+	case "${portage_arch}" in
+		x86)	echo 386;;
+		x64-*)	echo amd64;;
+		*)		echo "${portage_arch}";;
+	esac
+}
+
+go_arm() {
+	case "${1:-${CHOST}}" in
+		armv5*) echo 5;;
+		armv6*) echo 6;;
+		armv7*) echo 7;;
+		*)
+			die "unknown GOARM for ${1:-${CHOST}}"
+			;;
+	esac
+}
+
+src_compile() {
+	export GOARCH=$(go_arch)
+	export GOOS=linux
+	if [[ ${ARCH} == arm ]]; then
+		export GOARM=$(go_arm)
+	fi
+
+	cd "${S}"/Source || die
+	go build -o ../${PN} *.go || die
+}
+
+src_install() {
+	newbin "${S}"/${PN} ${PN}
+	einstalldocs
+	dodoc -r Documentation/.
+}

diff --git a/dev-go/act/metadata.xml b/dev-go/act/metadata.xml
new file mode 100644
index 00000000000..0430f3d0a6b
--- /dev/null
+++ b/dev-go/act/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person" proxied="yes">
+    <email>waebbl-gentoo@posteo.net</email>
+    <name>Bernd Waibel</name>
+  </maintainer>
+  <maintainer type="project" proxied="proxy">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Gentoo Proxy Maintainers</name>
+  </maintainer>
+  <longdescription>
+  The Automatic Component Toolkit (ACT) is a code generator for a thin
+  C89-API, implementation stubs and language bindings for C, C++, Pascal,
+  Python3, Go, NodeJS, C#, based on an instance of an Interface Description
+  Language file.
+  </longdescription>
+  <upstream>
+    <remote-id type="github">Autodesk/AutomaticComponentToolkit</remote-id>
+  </upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: dev-go/act/
@ 2021-03-20  5:43 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2021-03-20  5:43 UTC (permalink / raw
  To: gentoo-commits

commit:     bb5b84a2390610c4db06fc852fb1df33fef34f17
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 05:33:05 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 05:33:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb5b84a2

dev-go/act: add -x for verbose Go build

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-go/act/act-1.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-go/act/act-1.6.0.ebuild b/dev-go/act/act-1.6.0.ebuild
index 4518cc6df79..df33b4de346 100644
--- a/dev-go/act/act-1.6.0.ebuild
+++ b/dev-go/act/act-1.6.0.ebuild
@@ -47,7 +47,7 @@ src_compile() {
 	fi
 
 	cd "${S}"/Source || die
-	go build -o ../${PN} *.go || die
+	go build -x -o ../${PN} *.go || die
 }
 
 src_install() {


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

* [gentoo-commits] repo/gentoo:master commit in: dev-go/act/
@ 2021-04-25  5:19 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2021-04-25  5:19 UTC (permalink / raw
  To: gentoo-commits

commit:     4a48cc9c9c86df0ceb937451090cd502c9123808
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 25 05:18:28 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 25 05:18:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a48cc9c

dev-go/act: Keyword 1.6.0 arm64, #780519

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-go/act/act-1.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-go/act/act-1.6.0.ebuild b/dev-go/act/act-1.6.0.ebuild
index df33b4de346..a204e46b65a 100644
--- a/dev-go/act/act-1.6.0.ebuild
+++ b/dev-go/act/act-1.6.0.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/AutomaticComponentToolkit-${PV}"
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 RESTRICT="strip test"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-go/act/
@ 2021-04-27 18:01 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2021-04-27 18:01 UTC (permalink / raw
  To: gentoo-commits

commit:     17dfd49bd378ecf7db7d33bb18dbf0689e48c8c2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 27 18:01:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 27 18:01:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17dfd49b

dev-go/act: Stabilize 1.6.0 amd64, #775362

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-go/act/act-1.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-go/act/act-1.6.0.ebuild b/dev-go/act/act-1.6.0.ebuild
index a204e46b65a..b10f7125184 100644
--- a/dev-go/act/act-1.6.0.ebuild
+++ b/dev-go/act/act-1.6.0.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/AutomaticComponentToolkit-${PV}"
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 
 RESTRICT="strip test"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-go/act/
@ 2021-04-27 18:02 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2021-04-27 18:02 UTC (permalink / raw
  To: gentoo-commits

commit:     ea1a06d5f6bf3b9969ab5c332a517ba423e6d1b9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 27 18:02:03 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 27 18:02:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea1a06d5

dev-go/act: Stabilize 1.6.0 x86, #775362

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-go/act/act-1.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-go/act/act-1.6.0.ebuild b/dev-go/act/act-1.6.0.ebuild
index b10f7125184..0d9fa048573 100644
--- a/dev-go/act/act-1.6.0.ebuild
+++ b/dev-go/act/act-1.6.0.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/AutomaticComponentToolkit-${PV}"
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 
 RESTRICT="strip test"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-go/act/
@ 2022-05-27  6:53 Joonas Niilola
  0 siblings, 0 replies; 8+ messages in thread
From: Joonas Niilola @ 2022-05-27  6:53 UTC (permalink / raw
  To: gentoo-commits

commit:     9554c9575d4151f5b22a9c6803cd4acf65b2ca8e
Author:     Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Sat May 21 10:32:28 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri May 27 06:53:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9554c957

dev-go/act: use go-module.eclass

Update to EAPI 8
Remove strip from RESTRICT, as this is set by the go-module.eclass already

Closes: https://bugs.gentoo.org/844643
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/25586
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-go/act/act-1.6.0.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-go/act/act-1.6.0.ebuild b/dev-go/act/act-1.6.0.ebuild
index 0d9fa048573c..3a2dd997297d 100644
--- a/dev-go/act/act-1.6.0.ebuild
+++ b/dev-go/act/act-1.6.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit golang-base toolchain-funcs
+inherit go-module toolchain-funcs
 
 DESCRIPTION="Automated Component Toolkit code generator"
 HOMEPAGE="https://github.com/Autodesk/AutomaticComponentToolkit"
@@ -14,7 +14,7 @@ LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 x86"
 
-RESTRICT="strip test"
+RESTRICT="test"
 
 # Package does not follow the usual go directory structure
 # Functions borrowed from dev-lang/go ebuild.


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

* [gentoo-commits] repo/gentoo:master commit in: dev-go/act/
@ 2022-11-07  5:01 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2022-11-07  5:01 UTC (permalink / raw
  To: gentoo-commits

commit:     58d84841ee2d310d991242fdabe01274d08347f3
Author:     Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Tue Nov  1 09:47:43 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov  7 05:01:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d84841

dev-go/act: no longer use go-module

The package doesn't use the usual Go structure and fails to build with
changes to go-module.
Thanks to William Hubbs for the suggestion to go related changes.

Suggested-by: William Hubbs <williamh <AT> gentoo.org>
Closes: https://bugs.gentoo.org/877881
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/28072
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-go/act/act-1.6.0.ebuild | 39 ++++++---------------------------------
 1 file changed, 6 insertions(+), 33 deletions(-)

diff --git a/dev-go/act/act-1.6.0.ebuild b/dev-go/act/act-1.6.0.ebuild
index 3a2dd997297d..4baa06a089d0 100644
--- a/dev-go/act/act-1.6.0.ebuild
+++ b/dev-go/act/act-1.6.0.ebuild
@@ -3,8 +3,6 @@
 
 EAPI=8
 
-inherit go-module toolchain-funcs
-
 DESCRIPTION="Automated Component Toolkit code generator"
 HOMEPAGE="https://github.com/Autodesk/AutomaticComponentToolkit"
 SRC_URI="https://github.com/Autodesk/AutomaticComponentToolkit/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -14,44 +12,19 @@ LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 x86"
 
-RESTRICT="test"
-
-# Package does not follow the usual go directory structure
-# Functions borrowed from dev-lang/go ebuild.
-go_arch() {
-	# By chance most portage arch names match Go
-	local portage_arch=$(tc-arch $@)
-	case "${portage_arch}" in
-		x86)	echo 386;;
-		x64-*)	echo amd64;;
-		*)		echo "${portage_arch}";;
-	esac
-}
+RESTRICT="strip test"
 
-go_arm() {
-	case "${1:-${CHOST}}" in
-		armv5*) echo 5;;
-		armv6*) echo 6;;
-		armv7*) echo 7;;
-		*)
-			die "unknown GOARM for ${1:-${CHOST}}"
-			;;
-	esac
-}
+BDEPEND="dev-lang/go"
 
-src_compile() {
-	export GOARCH=$(go_arch)
-	export GOOS=linux
-	if [[ ${ARCH} == arm ]]; then
-		export GOARM=$(go_arm)
-	fi
+QA_FLAGS_IGNORED="usr/bin/act"
 
-	cd "${S}"/Source || die
+src_compile() {
+	cd Source || die
 	go build -x -o ../${PN} *.go || die
 }
 
 src_install() {
-	newbin "${S}"/${PN} ${PN}
+	dobin ${PN}
 	einstalldocs
 	dodoc -r Documentation/.
 }


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

* [gentoo-commits] repo/gentoo:master commit in: dev-go/act/
@ 2023-12-03  5:45 Arthur Zamarin
  0 siblings, 0 replies; 8+ messages in thread
From: Arthur Zamarin @ 2023-12-03  5:45 UTC (permalink / raw
  To: gentoo-commits

commit:     6c66451968c7630786977a4550f0cf91cd34b86d
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  3 05:44:47 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Dec  3 05:44:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c664519

dev-go/act: Keyword 1.6.0 ppc64, #886101

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-go/act/act-1.6.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-go/act/act-1.6.0.ebuild b/dev-go/act/act-1.6.0.ebuild
index 4baa06a089d0..7ec06cae8ecd 100644
--- a/dev-go/act/act-1.6.0.ebuild
+++ b/dev-go/act/act-1.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ S="${WORKDIR}/AutomaticComponentToolkit-${PV}"
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 
 RESTRICT="strip test"
 


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

end of thread, other threads:[~2023-12-03  5:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-27  6:53 [gentoo-commits] repo/gentoo:master commit in: dev-go/act/ Joonas Niilola
  -- strict thread matches above, loose matches on Subject: below --
2023-12-03  5:45 Arthur Zamarin
2022-11-07  5:01 Sam James
2021-04-27 18:02 Sam James
2021-04-27 18:01 Sam James
2021-04-25  5:19 Sam James
2021-03-20  5:43 Sam James
2021-03-20  5:43 Sam James

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