From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AD07315838C for ; Thu, 18 Jan 2024 02:39:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3196E29B2; Thu, 18 Jan 2024 02:39:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5442E29B2 for ; Thu, 18 Jan 2024 02:39:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2070634338C for ; Thu, 18 Jan 2024 02:39:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7DAED14B1 for ; Thu, 18 Jan 2024 02:39:17 +0000 (UTC) From: "Rick Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" Message-ID: <1705545552.df5779f6acc052dd3150ba8176caa7163d42a151.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/volk/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/volk/Manifest sci-libs/volk/volk-3.1.0.ebuild X-VCS-Directories: sci-libs/volk/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: df5779f6acc052dd3150ba8176caa7163d42a151 X-VCS-Branch: master Date: Thu, 18 Jan 2024 02:39:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 664cc936-88e5-4852-9d30-7125a5c8558b X-Archives-Hash: 68ea3c79c46788f1f677e32cca917c92 commit: df5779f6acc052dd3150ba8176caa7163d42a151 Author: Rick Farina gentoo org> AuthorDate: Thu Jan 18 02:27:17 2024 +0000 Commit: Rick Farina gentoo org> CommitDate: Thu Jan 18 02:39:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df5779f6 sci-libs/volk: add 3.1.0 Signed-off-by: Rick Farina gentoo.org> sci-libs/volk/Manifest | 1 + sci-libs/volk/volk-3.1.0.ebuild | 58 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/sci-libs/volk/Manifest b/sci-libs/volk/Manifest index ccc9454c73e3..1e3ed7081c7e 100644 --- a/sci-libs/volk/Manifest +++ b/sci-libs/volk/Manifest @@ -1 +1,2 @@ DIST volk-3.0.0.tar.xz 394044 BLAKE2B 04e832916375610571387db521348df2a37f5460500c4bd6d223dd6af9c0a207f3b22c599fccbf9bd51b8a87ed90cb5239512c19fc6ddd02320b7aa27c3be588 SHA512 5d1ff90f28ec6ef2d21370d74025139ccc9872e5a477b271ffe6662725b7705203715ea4ffc430554ec2fec56e8d9b40a945e75186761995d3075218e1f16313 +DIST volk-3.1.0.tar.xz 420088 BLAKE2B 709c3561675b0f71a1400d7b9332aa18c6d2ae848c993914cb40484890f631bde48da12ab9756be38cca9fbb20d0d851cb40ff5bfe3722ff72cd0b4daff1b11d SHA512 0c39c06e5121782461c0ea2c84402c84f9609a2a09ce7218e976472081d09531746ea1cde767f329a69d72d51cf5715bf7f2df1b26a8d8ddd1694e8239f5ff21 diff --git a/sci-libs/volk/volk-3.1.0.ebuild b/sci-libs/volk/volk-3.1.0.ebuild new file mode 100644 index 000000000000..0a400d90ff06 --- /dev/null +++ b/sci-libs/volk/volk-3.1.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) + +#https://github.com/gnuradio/volk/issues/383 +CMAKE_BUILD_TYPE="None" +inherit cmake python-single-r1 + +DESCRIPTION="vector optimized library of kernels" +HOMEPAGE="http://libvolk.org" + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/gnuradio/volk.git" +else + SRC_URI="https://github.com/gnuradio/volk/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~riscv ~x86" +fi + +LICENSE="GPL-3" +SLOT="0/$(ver_cut 1-2)" +IUSE="orc test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RDEPEND="${PYTHON_DEPS} + orc? ( dev-lang/orc )" +DEPEND="${RDEPEND} + $(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]')" + +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DENABLE_ORC=$(usex orc) + -DPYTHON_EXECUTABLE="${PYTHON}" + -DENABLE_TESTING="$(usex test)" + -DENABLE_PROFILING=OFF + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + # Remove stray python files generated by the build system + find "${ED}" -name '*.pyc' -exec rm -f {} \; || die + find "${ED}" -name '*.pyo' -exec rm -f {} \; || die + python_optimize +} + +src_test() { + local myctestargs=( + -E "(check_lgpl)" + ) + cmake_src_test +}