From 955b5fcaf4acc77c39a1f145d7c56e99f13083a7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 23 May 2023 08:58:35 +0100 Subject: gentoo auto-resync : 23:05:2023 - 08:58:35 --- dev-util/Manifest.gz | Bin 68444 -> 68456 bytes dev-util/byacc/Manifest | 3 + dev-util/byacc/byacc-20230521.ebuild | 26 +++++++++ dev-util/scap-driver/Manifest | 2 + .../files/0.29.3-fix-kmod-build-on-6.4+.patch | 33 +++++++++++ dev-util/scap-driver/scap-driver-0.29.3-r3.ebuild | 61 ++++++++++++++++++++ dev-util/spirv-llvm-translator/Manifest | 8 +-- dev-util/spirv-llvm-translator/metadata.xml | 12 ++-- .../spirv-llvm-translator-14.0.0-r1.ebuild | 4 +- .../spirv-llvm-translator-15.0.0-r1.ebuild | 57 +++++++++++++++++++ .../spirv-llvm-translator-15.0.0.ebuild | 57 ------------------- .../spirv-llvm-translator-16.0.0-r1.ebuild | 62 +++++++++++++++++++++ .../spirv-llvm-translator-16.0.0.ebuild | 62 --------------------- dev-util/stripe-mock/Manifest | 2 + dev-util/stripe-mock/stripe-mock-0.163.0.ebuild | 27 +++++++++ 15 files changed, 283 insertions(+), 133 deletions(-) create mode 100644 dev-util/byacc/byacc-20230521.ebuild create mode 100644 dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.4+.patch create mode 100644 dev-util/scap-driver/scap-driver-0.29.3-r3.ebuild create mode 100644 dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild delete mode 100644 dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0.ebuild create mode 100644 dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild delete mode 100644 dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0.ebuild create mode 100644 dev-util/stripe-mock/stripe-mock-0.163.0.ebuild (limited to 'dev-util') diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz index f777b70fffba..a05347ecb05a 100644 Binary files a/dev-util/Manifest.gz and b/dev-util/Manifest.gz differ diff --git a/dev-util/byacc/Manifest b/dev-util/byacc/Manifest index 4e9ad4de6b57..35a5568d1c74 100644 --- a/dev-util/byacc/Manifest +++ b/dev-util/byacc/Manifest @@ -4,7 +4,10 @@ DIST byacc-20230201.tgz 897063 BLAKE2B a15bf462532b84d8b60a5a00d0b8c6be3699920bd DIST byacc-20230201.tgz.asc 729 BLAKE2B ee22cd98a551b1d2226684fa592d94880a007297de0beb44d08eff28be2e81679c5f03129701792ab562bb7b8613759a6c7e24aacb38f7c2c3a2b55a24e476fc SHA512 95100111c5af34dfc79ff705aa24378d60359742a0f4ea1f7f800890035641798d65d018cd372811243df78a47380da75fd85763947ee52ec8a57e070325e173 DIST byacc-20230219.tgz 898360 BLAKE2B aaa5fe5a1a3ea90bacc77bbf4ca71f1af491e8b971c65dd9384e8ad37b1fc1f5838980e3f32c9a96c044dfe333afa58e2931c0860a1c1a4a09bb0f9984b1e6a7 SHA512 55fb9abc82afffb68a2167eb3f6211b1c2c91dda4f3b6004c01c46b2022bbec4ed8f793cfb86094eaa66decbd40d9e6f06af5b0da9d72f30ca0676aa38eb2d5e DIST byacc-20230219.tgz.asc 729 BLAKE2B a03f6a66e40462ddf1e584f8f6546e9bce00b517403b67c5b8e4778f2d13a8b9a61ef8569fbbf97e51ff4324307acb404df1bd85c29c1c0ea83f7cd54df55e85 SHA512 e55d8b395f34c931a59f2f0fa035908994b5cc2423de95c06ee608a93c9776a79a50ca5ad97f4de7e9e04eef4160174c4c4dfab826aa4d741ea60db7dbed45e2 +DIST byacc-20230521.tgz 905214 BLAKE2B daa48f0aed1f3e2d7aeb4cb51551a7528fe1ad043f0e10191fe553ab29c454aeb1f5705a76479517fbf939ccb3775a2f19c47b5ed02cd007519064f01c112a16 SHA512 9437806510f49a785ab7d4685c56708cd0053d242f1491e9c40af36112d6c6c471e579a75da75980a0356c1c9f319afbb8cc01139d6823511d285e0dd413d9c4 +DIST byacc-20230521.tgz.asc 729 BLAKE2B 493e2d775e927981175d8bde4e9e152b16e8471bddab5b2a5a6d9c7785f873b9b238bb303f386a06e17ac991485d526800ebf1e6e6b811476e66dbf91887a741 SHA512 952adc16913d058c78398caaecb8ea69472127b759f2a62090cc0b43a168884458d02e2f2f13c0b3aa277ead784b0fabd02fa1b2cebe249bc7d91c7ee24ec049 EBUILD byacc-20221229.ebuild 862 BLAKE2B a025a73a63f3bc246648f2bfc5c5a30334681b13981c0c5a32008958415cf57dbdbd68ccf5abaa5d9e61fb0c214dc9ac922484e7463ccae1696e4b29bb183668 SHA512 abfe6961e2f1f698caf2ad9f69e712cc5aa86ce11fd3e09fa2200fd33f15813fc289b1827c3d7e61eebc4d65d1bd34263e27bd52f6f70fdb83bb7bd40914d2c8 EBUILD byacc-20230201.ebuild 862 BLAKE2B a025a73a63f3bc246648f2bfc5c5a30334681b13981c0c5a32008958415cf57dbdbd68ccf5abaa5d9e61fb0c214dc9ac922484e7463ccae1696e4b29bb183668 SHA512 abfe6961e2f1f698caf2ad9f69e712cc5aa86ce11fd3e09fa2200fd33f15813fc289b1827c3d7e61eebc4d65d1bd34263e27bd52f6f70fdb83bb7bd40914d2c8 EBUILD byacc-20230219.ebuild 862 BLAKE2B a025a73a63f3bc246648f2bfc5c5a30334681b13981c0c5a32008958415cf57dbdbd68ccf5abaa5d9e61fb0c214dc9ac922484e7463ccae1696e4b29bb183668 SHA512 abfe6961e2f1f698caf2ad9f69e712cc5aa86ce11fd3e09fa2200fd33f15813fc289b1827c3d7e61eebc4d65d1bd34263e27bd52f6f70fdb83bb7bd40914d2c8 +EBUILD byacc-20230521.ebuild 910 BLAKE2B c4212b4ae1e536128f339ebe20c23591f922583af32b557d729656b98d97cc42b400332f2a606d68c4d969c286ce3898193b16731119b8573b44155effc82335 SHA512 5d83cdf46520fc957d9432ac5dee52fda943b8b8e2fd9b0447429832e794d99284ae8848a89167c674e68b870020dd964bfe66cc14fa67e7cba10b2cc22bf1fc MISC metadata.xml 424 BLAKE2B f7c1172e12c784d254658b3743db6fec9d6ef008891fe84114c71c1d0edf24a37f00ad61a1705716bbaf6c912b763756995185f2cffd95c831b8ca57abec6d68 SHA512 8bbdcf35f0499db09f1d55d038d93f8c3aa516e0baa74ec078c7a3032d4885110530be47cdd309de1a44b8c92e6dca3f4353d3ff1d3da04b052d492c91549067 diff --git a/dev-util/byacc/byacc-20230521.ebuild b/dev-util/byacc/byacc-20230521.ebuild new file mode 100644 index 000000000000..71ee96f9567f --- /dev/null +++ b/dev-util/byacc/byacc-20230521.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/thomasdickey.asc +inherit verify-sig + +DESCRIPTION="The best variant of the Yacc parser generator" +HOMEPAGE="https://invisible-island.net/byacc/byacc.html" +SRC_URI="https://invisible-island.net/archives/${PN}/${P}.tgz" +SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${P}.tgz.asc )" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-thomasdickey )" + +DOCS=( ACKNOWLEDGEMENTS AUTHORS CHANGES NEW_FEATURES NOTES README ) + +src_configure() { + econf \ + --program-prefix=b \ + --with-manpage-format=formatted +} diff --git a/dev-util/scap-driver/Manifest b/dev-util/scap-driver/Manifest index f70143e6160e..0b1cef863a71 100644 --- a/dev-util/scap-driver/Manifest +++ b/dev-util/scap-driver/Manifest @@ -1,8 +1,10 @@ AUX 0.29.3-fix-kmod-build-on-5.18+.patch 2363 BLAKE2B 8e5a89b68fb67076d01a7dc295157d2f2542a2db84460a35ed3162b77ff860097f1761317b93dec6aa0d6294b4414e445fd2c94df700bb5d738210982174f595 SHA512 f7c1e57cb05de1a97a3332055f6d6f74a637f38281a4e98b202cf84c9dd02b90e0b4fee3dbc44653760231ce55ad396aec3018b3b239249b6a37b018f672fba4 AUX 0.29.3-fix-kmod-build-on-6.2+.patch 1420 BLAKE2B 45f312bce9ce3dbaa0ddd300ccfd7dfcc3fb6d537cd0b716642d25b4c5a3747798ca23d237d67c92d32da500edb5e0458bfdff4a940d2f6fdb84144c5687028d SHA512 4b84a2559cb6a72d294b5cac6ec2d6f2de8ae90e298e27afcdff6bc046366afca6468ac923c4197623f14bbe0a4d0bd3757f34740a367e6b7c4e76472b102379 AUX 0.29.3-fix-kmod-build-on-6.3+.patch 939 BLAKE2B c626a6c9e41510d9720a8d161f4b6fa2efc729437cffdeea97ab346b0dca9a18af82339e403b63c7ac297304893f686a20f5c612df417229b82701367530098d SHA512 c2b020de87c92724f93a0937e2ece2f1e88f8b0dbb5b1d85bffccd51fddc1fc2024fe0ae222f2f01adeb5dc34964b1e86f27f0bdfee347bf1bb927388c1b6c5c +AUX 0.29.3-fix-kmod-build-on-6.4+.patch 1029 BLAKE2B 6025b3f598cb96c01085ef0ca807aa54894217c1929a1c1377c2f1399ff5bcbd56ce8c31c50d310f4f63df55587593e133ce00914c49edeb6a73d1d088d69083 SHA512 f2dfab8dd67d9694da592bcd10231b5132c459b71f6751d1baaa09e29a704f3185706618ab8d28b17d4c7a7e4b9c5e14fb4f53680bd502cfc98aa9693d2a5537 DIST falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz 816972 BLAKE2B b47ae6a7677935500ebdab8aea7f4c49ef50b7175ec097e7213a1f041ac2b5aa642379924927ec12c84271016e9ab9d191c0c1d4ffacd6ade58b7a03c37f9221 SHA512 65e5916e5f9507fd867a5e9ba3b2670a1b73b7672a22479d3019e948a52ad74441d7e2ce1c74ebd0fdbd1ce66808efa49f285bd5180bceae9d4e6730a60787ce EBUILD scap-driver-0.29.3-r1.ebuild 1871 BLAKE2B fa97c444251044913625228bd42d8ab22be21f69ddc75f4e45c15df832c1d1a6dab927f146fdb03addfa244a71ae2329d9651a2a454b79f45dd8a99eb53509da SHA512 7cc7ec73b64691fb8109b4fb406ce3ce565d9d09ead707290394599035f9d6059e5f88bce857b380c967a1edf008442541d692fd453a57880c1f61458da736d9 EBUILD scap-driver-0.29.3-r2.ebuild 1921 BLAKE2B 992e21dfddd65f396a715da0040abbd33dea30c8e0347bdb4dd3886e10f4b4ccfd1c9083e63d422b99b4eff32494dfc026550ddef96e345a03d19d8ea5a94219 SHA512 6a7ba57ae0a3cde946981dea2e36a77342a4333dd41d47e4cb3f1938219d47c5fc89f267ced7650413217a36de2f132c8aac3650d20b18e2574c88654ab094a5 +EBUILD scap-driver-0.29.3-r3.ebuild 1971 BLAKE2B 30cf8f6931152a1229898ae8c756ee2777111512fb9917585546f61c6a3a39e91c7ad32efda0c0cc473d5c37d45bd6d9bd22e51e22ebacd5acc97854e66f68bc SHA512 f7b1e7864cbeb551cb89629616aa8b09aa13a6a32f9481251d8eb74b9fa83cef30893885c643680ffcd4fbf59ed09e8b4ee294ddebc17f2d93acaca026aac2c0 EBUILD scap-driver-0.29.3.ebuild 1818 BLAKE2B 739c7da7402f536aa4ee483c77de16498fef6460bdaad84f35bb7bb6f4ad06daac2e99349498f68f741c8348120ccb535bdaa7333d17ce10f3feea78d4889ddf SHA512 7c7d39dc69f2cdc28e656911513ca560722399b051adb5ef6a5626503536337ab7eeae39a2b9ababd217188324e4f270cc3ff9105ca04c63f3f9a919ebf26931 MISC metadata.xml 494 BLAKE2B d0bc754d3af2488b9dc7672fc63e962f4c885d88a819e4332bd1c25f84c967e2e1cd8489122490a864cbfd930225b3dc28c8bfad4426750c030dce6ef5a08b4e SHA512 b77b7c103cfb606333814af210a0fae1f7956ddd9d3c3a044b0bebf42553f5ffe99d04549fb9c5e40fce33e9d23761830b4944b2cd83bd8ca2193f9b7da60fc0 diff --git a/dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.4+.patch b/dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.4+.patch new file mode 100644 index 000000000000..ac0a4aeca285 --- /dev/null +++ b/dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.4+.patch @@ -0,0 +1,33 @@ + +From: https://github.com/falcosecurity/libs/pull/1110 +Bug: https://github.com/falcosecurity/libs/issues/1109 + +From 394c9d84e64ad9828cdce6cdad5a76c352e252d2 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= +Date: Fri, 19 May 2023 03:54:40 +0200 +Subject: [PATCH] fix(driver): fixed 6.4 kernel build +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Holger Hoffstätte +--- + driver/main.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/driver/main.c b/driver/main.c +index 380f85c27c..668e45429a 100644 +--- a/driver/main.c ++++ b/driver/main.c +@@ -2912,7 +2912,11 @@ int scap_init(void) + goto init_module_err; + } + ++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 0) + g_ppm_class = class_create(THIS_MODULE, DRIVER_DEVICE_NAME); ++#else ++ g_ppm_class = class_create(DRIVER_DEVICE_NAME); ++#endif + if (IS_ERR(g_ppm_class)) { + pr_err("can't allocate device class\n"); + ret = -EFAULT; diff --git a/dev-util/scap-driver/scap-driver-0.29.3-r3.ebuild b/dev-util/scap-driver/scap-driver-0.29.3-r3.ebuild new file mode 100644 index 000000000000..deb27234ee35 --- /dev/null +++ b/dev-util/scap-driver/scap-driver-0.29.3-r3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake linux-mod + +DESCRIPTION="Kernel module for dev-util/sysdig" +HOMEPAGE="https://sysdig.com/" + +# The driver is part of falcosecurity/libs, but for versioning reasons we cannot (yet) +# use semver-released packages; instead we pull in a commit that is used and known +# to work with sysdig, see sysdig/cmake/modules/falcosecurity-libs.cmake for details. +# For now the commit here and the one referenced in sysdig should be in sync. +LIBS_COMMIT="e5c53d648f3c4694385bbe488e7d47eaa36c229a" +SRC_URI="https://github.com/falcosecurity/libs/archive/${LIBS_COMMIT}.tar.gz -> falcosecurity-libs-${LIBS_COMMIT}.tar.gz" +S="${WORKDIR}/libs-${LIBS_COMMIT}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND="! - - gentoo@taujhe.de - Jan Henke - - - proxy-maint@gentoo.org - Proxy Maintainers - conikost@gentoo.org Conrad Kostecki + + x11@gentoo.org + X11 + Install the command-line translator llvm-spirv diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-14.0.0-r1.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-14.0.0-r1.ebuild index 14c92492c2e6..022166bd2111 100644 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-14.0.0-r1.ebuild +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-14.0.0-r1.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 @@ -43,7 +43,7 @@ src_configure() { local mycmakeargs=( -DCCACHE_ALLOWED="OFF" -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})" - -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${BROOT}/usr/include/spirv" + -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv" -DLLVM_BUILD_TOOLS=$(usex tools "ON" "OFF") -DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF") -Wno-dev diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild new file mode 100644 index 000000000000..71e848b4a204 --- /dev/null +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_MAX_SLOT="15" +MY_PN="SPIRV-LLVM-Translator" +MY_P="${MY_PN}-${PV}" + +inherit cmake flag-o-matic llvm + +DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR" +HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator" +SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="UoI-NCSA" +SLOT="$(ver_cut 1)" +KEYWORDS="amd64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/spirv-tools + sys-devel/llvm:${SLOT}= +" +DEPEND="${RDEPEND} + dev-util/spirv-headers +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lit + sys-devel/clang:${SLOT} + ) +" + +src_prepare() { + append-flags -fPIC + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCCACHE_ALLOWED="OFF" + -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})" + -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv" + -DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF") + -Wno-dev + ) + + cmake_src_configure +} + +src_test() { + lit "${BUILD_DIR}/test" || die +} diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0.ebuild deleted file mode 100644 index 9eff73eadc5a..000000000000 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_MAX_SLOT="15" -MY_PN="SPIRV-LLVM-Translator" -MY_P="${MY_PN}-${PV}" - -inherit cmake flag-o-matic llvm - -DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR" -HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator" -SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="UoI-NCSA" -SLOT="$(ver_cut 1)" -KEYWORDS="amd64 ~riscv ~x86" -IUSE="test +tools" -REQUIRED_USE="test? ( tools )" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/spirv-headers - sys-devel/clang:${SLOT} - sys-devel/llvm:${SLOT} -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - virtual/pkgconfig - test? ( dev-python/lit ) -" - -src_prepare() { - append-flags -fPIC - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCCACHE_ALLOWED="OFF" - -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})" - -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${BROOT}/usr/include/spirv" - -DLLVM_BUILD_TOOLS=$(usex tools "ON" "OFF") - -DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF") - -Wno-dev - ) - - cmake_src_configure -} - -src_test() { - lit "${BUILD_DIR}/test" || die -} diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild new file mode 100644 index 000000000000..9092ec145992 --- /dev/null +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_MAX_SLOT="16" +MY_PN="SPIRV-LLVM-Translator" +MY_P="${MY_PN}-${PV}" + +inherit cmake flag-o-matic llvm multiprocessing + +DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR" +HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator" +SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="UoI-NCSA" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/spirv-tools + sys-devel/llvm:${SLOT}= +" +DEPEND="${RDEPEND} + dev-util/spirv-headers +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lit + sys-devel/clang:${SLOT} + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-16.0.0-llvm-link-llvm-dylib.patch" + "${FILESDIR}/${PN}-16.0.0-ld_library_path.patch" +) + +src_prepare() { + append-flags -fPIC + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCCACHE_ALLOWED="OFF" + -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})" + -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv" + -DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF") + -Wno-dev + ) + + cmake_src_configure +} + +src_test() { + lit -vv "-j${LIT_JOBS:-$(makeopts_jobs)}" "${BUILD_DIR}/test" || die +} diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0.ebuild deleted file mode 100644 index fd9d9851fd82..000000000000 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_MAX_SLOT="16" -MY_PN="SPIRV-LLVM-Translator" -MY_P="${MY_PN}-${PV}" - -inherit cmake flag-o-matic llvm multiprocessing - -DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR" -HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator" -SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="UoI-NCSA" -SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~x86" -IUSE="test +tools" -REQUIRED_USE="test? ( tools )" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/spirv-headers - sys-devel/clang:${SLOT} - sys-devel/llvm:${SLOT} -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - virtual/pkgconfig - test? ( dev-python/lit ) -" - -PATCHES=( - "${FILESDIR}/${PN}-16.0.0-llvm-link-llvm-dylib.patch" - "${FILESDIR}/${PN}-16.0.0-ld_library_path.patch" -) - -src_prepare() { - append-flags -fPIC - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCCACHE_ALLOWED="OFF" - -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})" - -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${BROOT}/usr/include/spirv" - -DLLVM_BUILD_TOOLS=$(usex tools "ON" "OFF") - -DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF") - -Wno-dev - ) - - cmake_src_configure -} - -src_test() { - lit -vv "-j${LIT_JOBS:-$(makeopts_jobs)}" "${BUILD_DIR}/test" || die -} diff --git a/dev-util/stripe-mock/Manifest b/dev-util/stripe-mock/Manifest index 1cb884184819..e5ec5fe09be0 100644 --- a/dev-util/stripe-mock/Manifest +++ b/dev-util/stripe-mock/Manifest @@ -2,8 +2,10 @@ DIST stripe-mock-0.159.0.tar.gz 1222638 BLAKE2B bee23971e2c1578e06e9d3b159538f66 DIST stripe-mock-0.160.0.tar.gz 1225411 BLAKE2B b7b6036371e583b7637e90af46380835c4ccaa8de1ad1f6026f56c8cfaca015c25bf4ad4a3f30aabeca694ad17ee381b83628c5d3faebfe91c2e42f4e71c0ca4 SHA512 8741a8822f0d82c397ed472aedef0da625838d2e18861e3934fdc22234840d81ec626f5dd0d0e11f5352785fea4f04af3bdedfd9b6a7ac30b1163864c22fbbf9 DIST stripe-mock-0.161.0.tar.gz 1230765 BLAKE2B d78775acf639b4c5320e36fa3adedba2afc17fee693d88effe120935282d3be67665d67c4b12c512f4b7158281186ef52694765871a1d3031d176b73fc4e5e9f SHA512 e57a07947ce49000201fff688f0e5f1908e4253bef4a8639b19811415ba582df6dc9c512cab203a6eaf0575cfc718885c98805f39bf463aefe272ce1092da4b3 DIST stripe-mock-0.162.0.tar.gz 1232326 BLAKE2B 6767608c3cec80b20a547855c982b1e1751ce30cc93ba33700c1140f4233d1cff4c6575b1bc30f510f08a3af836139190365ff79bb02e50710e4d379cc1a2a60 SHA512 936ce2e73fdcc94c9d7acf1edf3bff086b15de15c7e6aa2f2e79a64f8f02cb55ac319e63c263c78aa43d9bf4616eb9b2cedeb21a95db88b4494773444e6f7f7c +DIST stripe-mock-0.163.0.tar.gz 1247893 BLAKE2B 526661385d98b73593a5e934f4546063f9e4f465eb26c1a84ea7d39a83f3e07cc0adf69f6364d7628f49cd80ff30bea5e537a630f9c87b889161d0aee0f1bcbe SHA512 1e283ef706142227244444e933e1ea220f8b49c0b48424b9fc49c107aeb4be990524e218653044e422daaec281a3f4dade94fbe163a585e364938ee82e2919fa EBUILD stripe-mock-0.159.0.ebuild 498 BLAKE2B a8e1dd0ac1f07195ecdadc4d5e68499e6d48ef5ac47fd770a7a421cc6b8fdc035bb1ae7c4f0ee7028c7ded5dbca4f260499f4fabb58d80794e807d6206232b1e SHA512 9fc51687f9fad3ac4c9c505c4a5f6b7bc668acd17f186bdec61a13cb4eb0b8d024b3eca7717434c6720f7ae4bd89431a7916575492700ad9dd9f86508b85d007 EBUILD stripe-mock-0.160.0.ebuild 500 BLAKE2B 86bc55d32bc4a634af3ae5f31db1716bfe8bba864b44d5a78a75519cc9347f4593763d06337aa5c97b4cc96775469d64812f8b7072806ecdcf7f5ceaa3cde9af SHA512 df95803239ecb13e6c4943af3b6c61b1229d16ad15a5168e3261413a1bc9d98a28e3920b4aa64ca88a542619be5391db4adcedf3a9ba9218ad010b6e6823fb6b EBUILD stripe-mock-0.161.0.ebuild 500 BLAKE2B 86bc55d32bc4a634af3ae5f31db1716bfe8bba864b44d5a78a75519cc9347f4593763d06337aa5c97b4cc96775469d64812f8b7072806ecdcf7f5ceaa3cde9af SHA512 df95803239ecb13e6c4943af3b6c61b1229d16ad15a5168e3261413a1bc9d98a28e3920b4aa64ca88a542619be5391db4adcedf3a9ba9218ad010b6e6823fb6b EBUILD stripe-mock-0.162.0.ebuild 500 BLAKE2B 86bc55d32bc4a634af3ae5f31db1716bfe8bba864b44d5a78a75519cc9347f4593763d06337aa5c97b4cc96775469d64812f8b7072806ecdcf7f5ceaa3cde9af SHA512 df95803239ecb13e6c4943af3b6c61b1229d16ad15a5168e3261413a1bc9d98a28e3920b4aa64ca88a542619be5391db4adcedf3a9ba9218ad010b6e6823fb6b +EBUILD stripe-mock-0.163.0.ebuild 500 BLAKE2B 86bc55d32bc4a634af3ae5f31db1716bfe8bba864b44d5a78a75519cc9347f4593763d06337aa5c97b4cc96775469d64812f8b7072806ecdcf7f5ceaa3cde9af SHA512 df95803239ecb13e6c4943af3b6c61b1229d16ad15a5168e3261413a1bc9d98a28e3920b4aa64ca88a542619be5391db4adcedf3a9ba9218ad010b6e6823fb6b MISC metadata.xml 643 BLAKE2B 6a45b4c6f7e3372850e8947db71b028a32f6fc63d202b912a0fed600dd7f426984828af2f80dbfbdafb69a15a3b58b82c2b738b424727b28704aefb43f43e361 SHA512 3a1d0724f14ca0885c6dde06b9c0fed1dcf7a9dcbfb32de75682cee9ad2b29fc94f9544319a2fe5d5fe3c25afb01e0f6492616e13e3d01640af7defd0ba9c098 diff --git a/dev-util/stripe-mock/stripe-mock-0.163.0.ebuild b/dev-util/stripe-mock/stripe-mock-0.163.0.ebuild new file mode 100644 index 000000000000..ca0f4e60efa7 --- /dev/null +++ b/dev-util/stripe-mock/stripe-mock-0.163.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Mock HTTP server that responds like the real Stripe API" +HOMEPAGE="https://github.com/stripe/stripe-mock/" +SRC_URI="https://github.com/stripe/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT ISC BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_compile() { + emake build +} + +src_test() { + emake test +} + +src_install() { + dobin stripe-mock + einstalldocs +} -- cgit v1.2.3