public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/lanes/
Date: Fri,  9 Jul 2021 15:38:44 +0000 (UTC)	[thread overview]
Message-ID: <1625844765.037d049d7c64be83a9d77612f57393d2098f7079.conikost@gentoo> (raw)

commit:     037d049d7c64be83a9d77612f57393d2098f7079
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  9 15:32:45 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Jul  9 15:32:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=037d049d

dev-lua/lanes: bump to version 3.15.1

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

 dev-lua/lanes/Manifest            |  1 +
 dev-lua/lanes/lanes-3.15.1.ebuild | 93 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)

diff --git a/dev-lua/lanes/Manifest b/dev-lua/lanes/Manifest
index 5acacb0d27a..53a609f247e 100644
--- a/dev-lua/lanes/Manifest
+++ b/dev-lua/lanes/Manifest
@@ -1,2 +1,3 @@
 DIST lanes-3.13.0.tar.gz 247978 BLAKE2B e330f3648e865b8b7c1b77061b6a8210f46e1db650066736afe62040dbb20c7e31e0037b420fded8fb0931cc2ac59687e2039fb31f43c1bdf0cae8cd3c031307 SHA512 bb509181757fa2b4f07a55962015b35ca6bb867b18ec89dd655f333babe2e12f56479fa85bc98e0dacf5bec2a523265bbc3a978396dc332dc1fdda4df760b2e5
 DIST lanes-3.15.0.tar.gz 251497 BLAKE2B fbe02a205d3a1e9e14258fcecd5133a01a2376938678840f680ce37d763e44b924cc718f49df6c985871798f03ad51de5f6289456cbc2954b98d7c0b883fa62d SHA512 da198a70e5d88c25e55cf0947a69405b9c666bf10ac92ab0e4018cf689791c5e5bfff31ae39f8b3e0577217d24b2fcd0b70d5b4e31cebb6d5958e570f017ced4
+DIST lanes-3.15.1.tar.gz 252057 BLAKE2B 36de0b85d6d7f43406249e4463c6560d3d539791700d4bd77cd366dd04b8cb672c5aff68c4409dd4e6b5df8ab93f6841c2168ecea9f4ea60768e42f3ffc543e9 SHA512 110528e3ffda5e721046f52a31d9cc707db4b7cca1a706d8c2e35b54d26375855f8ba52f4568c42caa2707da7c05ac1278460af185346bfd4fafdd7c237d256a

diff --git a/dev-lua/lanes/lanes-3.15.1.ebuild b/dev-lua/lanes/lanes-3.15.1.ebuild
new file mode 100644
index 00000000000..c0bf2fbb307
--- /dev/null
+++ b/dev-lua/lanes/lanes-3.15.1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua toolchain-funcs
+
+DESCRIPTION="Lightweight, native, lazy evaluating multithreading library"
+HOMEPAGE="https://github.com/LuaLanes/lanes"
+SRC_URI="https://github.com/LuaLanes/lanes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+# Tests are currently somehow problematic.
+# https://github.com/LuaLanes/lanes/issues/197
+# https://github.com/LuaLanes/lanes/issues/198
+RESTRICT="test"
+
+RDEPEND="${LUA_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+	test? ( ${RDEPEND} )
+"
+
+HTML_DOCS=( "docs/." )
+
+PATCHES=( "${FILESDIR}/${PN}-3.13.0-makefile.patch" )
+
+src_prepare() {
+	default
+
+	lua_copy_sources
+}
+
+lua_src_compile() {
+	pushd "${BUILD_DIR}" || die
+
+	local myemakeargs=(
+		"CC=$(tc-getCC)"
+		"LUA=${ELUA}"
+		"LUA_FLAGS=$(lua_get_CFLAGS)"
+		"LUA_LIBS="
+		"OPT_FLAGS=${CFLAGS}"
+	)
+
+	tc-export PKG_CONFIG
+
+	emake "${myemakeargs[@]}"
+
+	popd
+}
+
+src_compile() {
+	lua_foreach_impl lua_src_compile
+}
+
+lua_src_test() {
+	pushd "${BUILD_DIR}" || die
+
+	emake LUA="${ELUA}" test
+
+	popd
+}
+
+src_test() {
+	lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+	pushd "${BUILD_DIR}" || die
+
+	local myemakeargs=(
+		"LUA_LIBDIR=${ED}/$(lua_get_cmod_dir)"
+		"LUA_SHAREDIR=${ED}/$(lua_get_lmod_dir)"
+	)
+
+	emake "${myemakeargs[@]}" install
+
+	popd
+}
+
+src_install() {
+	lua_foreach_impl lua_src_install
+
+	einstalldocs
+}


             reply	other threads:[~2021-07-09 15:38 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09 15:38 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-17 22:31 [gentoo-commits] repo/gentoo:master commit in: dev-lua/lanes/ Conrad Kostecki
2024-06-17 22:31 Conrad Kostecki
2024-06-10 20:39 William Hubbs
2024-05-05 18:56 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-03-09 13:57 Conrad Kostecki
2023-10-02 18:40 Conrad Kostecki
2023-10-02 18:40 Conrad Kostecki
2023-08-27 15:00 Conrad Kostecki
2023-08-27 15:00 Conrad Kostecki
2023-08-26 23:42 Conrad Kostecki
2022-04-01 16:57 Conrad Kostecki
2022-04-01 16:57 Conrad Kostecki
2022-03-01 20:46 Conrad Kostecki
2021-08-08 20:36 Conrad Kostecki
2021-08-08 20:36 Conrad Kostecki
2021-07-09 15:38 Conrad Kostecki
2021-07-01 10:28 Conrad Kostecki
2021-04-21 20:29 Conrad Kostecki
2021-04-19 18:32 Sergei Trofimovich
2021-04-18 19:41 Sergei Trofimovich
2021-02-21 21:22 Conrad Kostecki
2021-01-10 21:58 Sam James
2020-12-03 13:50 Marek Szuba
2015-09-08 20:07 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1625844765.037d049d7c64be83a9d77612f57393d2098f7079.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox