* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/binaryen/
@ 2022-03-05 1:43 Alessandro Barbieri
0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2022-03-05 1:43 UTC (permalink / raw
To: gentoo-commits
commit: 086dd0f91c8e7f0e0057efeb4014ae024cb9284d
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Feb 25 09:44:29 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Mar 5 01:34:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=086dd0f9
dev-util/binaryen: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-util/binaryen/Manifest | 1 +
dev-util/binaryen/binaryen-105.ebuild | 28 ++++++++++++++++++++++++++++
dev-util/binaryen/metadata.xml | 11 +++++++++++
3 files changed, 40 insertions(+)
diff --git a/dev-util/binaryen/Manifest b/dev-util/binaryen/Manifest
new file mode 100644
index 000000000..cab1aa50b
--- /dev/null
+++ b/dev-util/binaryen/Manifest
@@ -0,0 +1 @@
+DIST binaryen-105.tar.gz 4044314 BLAKE2B e979a46f3c6f8d1acd077973006f9aba6958b5de24f81281cc249c53f046c83226c3e762031845054cc0ade403333c6335b2aba31dcf8b152577d152458dbe1d SHA512 5b16551fab37c660900abeae49fb4e23abc0b61165d326ce4db23959a0eab640df0df03c5649c0bcd35a8515b959a7a9d78d1014c4ea6cb08da4ef48f715f702
diff --git a/dev-util/binaryen/binaryen-105.ebuild b/dev-util/binaryen/binaryen-105.ebuild
new file mode 100644
index 000000000..742af417c
--- /dev/null
+++ b/dev-util/binaryen/binaryen-105.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Compiler and toolchain infrastructure library for WebAssembly"
+HOMEPAGE="https://github.com/WebAssembly/binaryen"
+SRC_URI="https://github.com/WebAssembly/binaryen/archive/version_${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/binaryen-version_${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_STATIC_LIB=OFF
+ -DENABLE_WERROR=OFF
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ ./check.py || die
+}
diff --git a/dev-util/binaryen/metadata.xml b/dev-util/binaryen/metadata.xml
new file mode 100644
index 000000000..19cddd85d
--- /dev/null
+++ b/dev-util/binaryen/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">WebAssembly/binaryen</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/binaryen/
@ 2022-03-05 3:05 Alessandro Barbieri
0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2022-03-05 3:05 UTC (permalink / raw
To: gentoo-commits
commit: bf0d752d5916cd82ec167cc366f682ad7e01a0bc
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Mar 5 01:59:18 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Mar 5 01:59:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf0d752d
dev-util/binaryen: add test use
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-util/binaryen/binaryen-105.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dev-util/binaryen/binaryen-105.ebuild b/dev-util/binaryen/binaryen-105.ebuild
index 742af417c..c9fb40713 100644
--- a/dev-util/binaryen/binaryen-105.ebuild
+++ b/dev-util/binaryen/binaryen-105.ebuild
@@ -13,6 +13,8 @@ S="${WORKDIR}/binaryen-version_${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="test"
+
RESTRICT="!test? ( test )"
src_configure() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/binaryen/
@ 2022-03-16 7:03 Alessandro Barbieri
0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2022-03-16 7:03 UTC (permalink / raw
To: gentoo-commits
commit: 91a379ff12c706b834973d9574b629bcd4bd346a
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Mar 16 07:03:38 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Mar 16 07:03:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=91a379ff
dev-util/binaryen: test dependencies
Closes: https://bugs.gentoo.org/834742
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-util/binaryen/binaryen-105.ebuild | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/dev-util/binaryen/binaryen-105.ebuild b/dev-util/binaryen/binaryen-105.ebuild
index c9fb40713..28534adea 100644
--- a/dev-util/binaryen/binaryen-105.ebuild
+++ b/dev-util/binaryen/binaryen-105.ebuild
@@ -3,7 +3,9 @@
EAPI=8
-inherit cmake
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit cmake python-any-r1
DESCRIPTION="Compiler and toolchain infrastructure library for WebAssembly"
HOMEPAGE="https://github.com/WebAssembly/binaryen"
@@ -15,6 +17,14 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+DEPEND="
+ test? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '>=dev-python/filecheck-0.0.17[${PYTHON_USEDEP}]')
+ $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+ )
+"
+
RESTRICT="!test? ( test )"
src_configure() {
@@ -26,5 +36,5 @@ src_configure() {
}
src_test() {
- ./check.py || die
+ LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/lib" "${EPYTHON}" check.py --binaryen-bin="${BUILD_DIR}/bin" || die
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-16 7:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-05 1:43 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/binaryen/ Alessandro Barbieri
-- strict thread matches above, loose matches on Subject: below --
2022-03-05 3:05 Alessandro Barbieri
2022-03-16 7:03 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox