public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Adrian Schollmeyer" <nex+b-g-o@nexadn.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-libs/dpdk/
Date: Thu, 11 May 2023 14:47:01 +0000 (UTC)	[thread overview]
Message-ID: <1683816421.acc6acd0a6223b1b66f3595aec1ca0e7dcb60d24.nex+b-g-o@gentoo> (raw)

commit:     acc6acd0a6223b1b66f3595aec1ca0e7dcb60d24
Author:     Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de>
AuthorDate: Thu May 11 14:46:34 2023 +0000
Commit:     Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de>
CommitDate: Thu May 11 14:47:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=acc6acd0

net-libs/dpdk: add 23.03

Signed-off-by: Adrian Schollmeyer <nex+b-g-o <AT> nexadn.de>

 net-libs/dpdk/Manifest          |  1 +
 net-libs/dpdk/dpdk-23.03.ebuild | 70 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/net-libs/dpdk/Manifest b/net-libs/dpdk/Manifest
index 26d1a089d..f303cab39 100644
--- a/net-libs/dpdk/Manifest
+++ b/net-libs/dpdk/Manifest
@@ -1,2 +1,3 @@
 DIST dpdk-21.11.1.tar.xz 15115156 BLAKE2B 089e98279922b5494b205d957f9ac05001a668f4536d45e5fd89b9f7d04779e0671ec428b2408963641da3ae999d5943a1ff5dc59c23020ccefce824609c8f11 SHA512 d7afc0c918626b1706a18a129086fcd3741b251c28fa00c5711eb85a03137e5ee6e08de7bd5ebe957e442dc9b901314042b382b223e74f0fdd5d560ac657f1b3
 DIST dpdk-22.07.tar.xz 15231912 BLAKE2B 29e36519fb91d440645259932863b5fb6c2386f78d9ba78a871505d7d32e9f4803012aa62044aa578585eee4507aa1c277bda6ec0428a27820faef644f5bfd79 SHA512 8b2adb8a47732efca4e35a68ab03d6c579fc0f699344c0c10be45e62c90d412ebea5ddc37a26efd08a9af08e65c84de177817300a66e6107674f15ecfe3e696c
+DIST dpdk-23.03.tar.xz 15816416 BLAKE2B bfcd533039a765683458a784ee3827836ceca245cfd2108f807b6d8bfb3139a2d30eceb9167131b96c18e3b4d6b640b6c79a20e5f1ec4cfca54e481087f965d4 SHA512 c879ad1d84200af3233d8d717b25121e8a9906cd9f2908411e9e6044f388d7f60046427873e592bb922fd603da400ea680d2338a707809ca54bd5f5c944d945d

diff --git a/net-libs/dpdk/dpdk-23.03.ebuild b/net-libs/dpdk/dpdk-23.03.ebuild
new file mode 100644
index 000000000..6729c9c1f
--- /dev/null
+++ b/net-libs/dpdk/dpdk-23.03.ebuild
@@ -0,0 +1,70 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_11 )
+inherit python-single-r1 toolchain-funcs meson
+
+DESCRIPTION="Data Plane Development Kit libraries for fast userspace networking"
+HOMEPAGE="https://dpdk.org/"
+SRC_URI="https://fast.dpdk.org/rel/${P}.tar.xz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+# tests require rte_kni module to be loaded
+# and also needs network and /dev access
+# and need to be run as root
+RESTRICT="test"
+
+DEPEND="${PYTHON_DEPS}
+	$(python_gen_cond_dep '
+		dev-python/pyelftools[${PYTHON_USEDEP}]
+	')
+	~sys-kernel/dpdk-kmod-${PV}[${PYTHON_SINGLE_USEDEP}]
+	app-arch/libarchive
+	app-crypt/intel-ipsec-mb
+	dev-libs/elfutils
+	dev-libs/isa-l
+	dev-libs/jansson
+	dev-libs/libbpf
+	dev-libs/libbsd
+	dev-libs/openssl
+	net-libs/libmnl
+	net-libs/libpcap
+	sys-apps/dtc
+	sys-cluster/rdma-core
+	sys-process/numactl
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	dev-lang/nasm
+"
+
+PATCHES=( "${FILESDIR}/dpdk-22.03-binutils.patch" )
+
+src_prepare() {
+	default
+	sed -e "s/@OBJDUMP@/$(tc-getOBJDUMP)/g" -i \
+		buildtools/meson.build \
+		buildtools/check-symbols.sh \
+		devtools/check-abi-version.sh || die
+}
+
+src_configure() {
+	python-single-r1_pkg_setup
+	local emesonargs=(
+		-Denable_kmods=false
+		-Dplatform=generic
+		$(meson_use test tests)
+	)
+	meson_src_configure
+}
+
+src_install() {
+	meson_src_install
+	python_fix_shebang "${ED}"
+}


             reply	other threads:[~2023-05-11 14:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-11 14:47 Adrian Schollmeyer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-14  1:21 [gentoo-commits] repo/proj/guru:master commit in: net-libs/dpdk/ Julien Roy
2024-04-14  0:29 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2022-09-06 23:21 Aisha Tammy
2022-08-15 14:22 Aisha Tammy
2022-08-15 14:18 Aisha Tammy
2022-05-09 18:44 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2022-05-09 18:42 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-04-26 17:32 Aisha Tammy
2022-04-26 17:31 Aisha Tammy
2021-12-27  2:47 Aisha Tammy
2021-12-23 21:34 Aisha Tammy
2021-12-23 15:08 Aisha Tammy

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=1683816421.acc6acd0a6223b1b66f3595aec1ca0e7dcb60d24.nex+b-g-o@gentoo \
    --to=nex+b-g-o@nexadn.de \
    --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