diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /dev-lua/lanes | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-lua/lanes')
-rw-r--r-- | dev-lua/lanes/Manifest | 4 | ||||
-rw-r--r-- | dev-lua/lanes/lanes-3.15.1-r1.ebuild (renamed from dev-lua/lanes/lanes-3.15.1.ebuild) | 4 | ||||
-rw-r--r-- | dev-lua/lanes/lanes-3.16.0.ebuild | 93 |
3 files changed, 98 insertions, 3 deletions
diff --git a/dev-lua/lanes/Manifest b/dev-lua/lanes/Manifest index e029932a3fe7..05084ef0ab97 100644 --- a/dev-lua/lanes/Manifest +++ b/dev-lua/lanes/Manifest @@ -1,4 +1,6 @@ AUX lanes-3.13.0-makefile.patch 2719 BLAKE2B 2ee48812f971a3ed9d6425b115fa7415fb4c47596f25a32efd4c3d5fb8eb7f70839ae21d4970fa2120c5f16847d6bb10a417a228594a7f6eedb6d53a7bd062c8 SHA512 6a511ad7cf2dac9abff275c01c885adac04b40de46fe7d776ebea1663291e9a043d9ced6f470931cafdddc200895006e389a6fb6a2e5164bdef6b6acd2f1d38c DIST lanes-3.15.1.tar.gz 252057 BLAKE2B 36de0b85d6d7f43406249e4463c6560d3d539791700d4bd77cd366dd04b8cb672c5aff68c4409dd4e6b5df8ab93f6841c2168ecea9f4ea60768e42f3ffc543e9 SHA512 110528e3ffda5e721046f52a31d9cc707db4b7cca1a706d8c2e35b54d26375855f8ba52f4568c42caa2707da7c05ac1278460af185346bfd4fafdd7c237d256a -EBUILD lanes-3.15.1.ebuild 1584 BLAKE2B 80bf6221f1aa611ed32cb4e50859975cb659e9f376b6e00b22f8f892310955686b4fb4550b34913483961b6cbdd5011b354a98cdb47c0caceebb75dec077ebd9 SHA512 289db40c60c855c57f390c045fff2c2d0ca4c07dbcf33fec68115feff07e1e4d2bd5973de0a258403eea90e8ec20e5700584d6310030f828897990f274d15c45 +DIST lanes-3.16.0.tar.gz 257945 BLAKE2B aecc0bd551f10b29791acdde8da30fb83591395eac4d152999a0e92fe9738a6171b13363edae2d94b1db47398a01e011833ccee7a7f234033d3230605423c0b6 SHA512 ffd935baae8af752591251bbb1a7f936034ad281870d453e6e1b4291c175c91537ccae23ec25a616b45e8ab601222f323e05e938d7887091ba7e132b0cd5e449 +EBUILD lanes-3.15.1-r1.ebuild 1584 BLAKE2B d1ec0f298770de80c4530a1946ae0b8c0392556e2cfff75005fbd82582a97e058721a36a19ec62a675f4f698071cdf62449ea492e38b0c339d4f6895f0fdfcea SHA512 74c40ce0d417d7967d38ac86b811cb35329965047b9b02d1f7ed90ffd8c6b0b34e7c885720b26d62ce95d74f89f1e3dcb0552d11a4f1d570a2ab3c17c2963735 +EBUILD lanes-3.16.0.ebuild 1585 BLAKE2B f6fb98139e1abcd8830577765bb8a8840df5bb9ccf4b3d5ec1603ae5809679f2d5a3692d687a2b0782b1cbd861f48d0238478d9fd889ec2500d518f4044fae04 SHA512 6c96f870a8dd1d2e61f811faf207e294a9d7ba69be578580e447892266c6cc51db29657738e705e9409d362712a922445cc7a052b2ee967d0ae7976e3b652a5a MISC metadata.xml 439 BLAKE2B 64ca90f83e145d31acd41464d9661aa5ad164df3a9050084d4d272f7a834455bc6a9b7657bf34a3829927208a14ad8fb409a2e12f890be90008d858392f5065a SHA512 a55de988fd5da55fc51cbc3750361b95a7aa1c98e343725416eeaf8fe5c09c12c80f736593abd3bf08840b66602e6087094d9748ea238135de1f08a324a92c0a diff --git a/dev-lua/lanes/lanes-3.15.1.ebuild b/dev-lua/lanes/lanes-3.15.1-r1.ebuild index 5b0acc4cce82..f31509f4e45e 100644 --- a/dev-lua/lanes/lanes-3.15.1.ebuild +++ b/dev-lua/lanes/lanes-3.15.1-r1.ebuild @@ -1,7 +1,7 @@ -# 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 LUA_COMPAT=( lua5-{1..4} luajit ) diff --git a/dev-lua/lanes/lanes-3.16.0.ebuild b/dev-lua/lanes/lanes-3.16.0.ebuild new file mode 100644 index 000000000000..da2c983695a2 --- /dev/null +++ b/dev-lua/lanes/lanes-3.16.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 +} |