From: "Aisha Tammy" <gentoo@aisha.cc>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-libs/dpdk/
Date: Thu, 23 Dec 2021 15:08:08 +0000 (UTC) [thread overview]
Message-ID: <1640272043.ffa14bb00c8728959db17bd60ca297189a83250b.epsilon-0@gentoo> (raw)
commit: ffa14bb00c8728959db17bd60ca297189a83250b
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Thu Dec 23 15:07:23 2021 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Thu Dec 23 15:07:23 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ffa14bb0
net-libs/dpdk: fast userspace networking libraries
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
net-libs/dpdk/Manifest | 1 +
net-libs/dpdk/dpdk-21.11.ebuild | 63 +++++++++++++++++++++++++++++++++++++++++
net-libs/dpdk/metadata.xml | 8 ++++++
3 files changed, 72 insertions(+)
diff --git a/net-libs/dpdk/Manifest b/net-libs/dpdk/Manifest
new file mode 100644
index 000000000..cf0fb5cc1
--- /dev/null
+++ b/net-libs/dpdk/Manifest
@@ -0,0 +1 @@
+DIST dpdk-21.11.tar.xz 15102516 BLAKE2B e82fb03242b74e458810ee5e0d21feaf5d6d781b81b8dc5c2a2ab977bac202290dadc8734ea13993bb1cb1df4b5c4d770df574052a384b590ac798d19c370c59 SHA512 843282023c2f77a9b8af393d50c6dde54f09d490cd6f4a99f03d4df5df13a7d963aa86885fdf64e13f9da71e01c881d1f301dd093574a32cddd84f4b1fb58fd5
diff --git a/net-libs/dpdk/dpdk-21.11.ebuild b/net-libs/dpdk/dpdk-21.11.ebuild
new file mode 100644
index 000000000..ba9c719e8
--- /dev/null
+++ b/net-libs/dpdk/dpdk-21.11.ebuild
@@ -0,0 +1,63 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit python-single-r1 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}
+ ~sys-kernel/rte_kni-kmod-${PV}
+ 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
+ test? ( $(python_gen_cond_dep '
+ dev-python/pyelftools[${PYTHON_USEDEP}]
+ ') )
+"
+
+src_configure() {
+ local emesonargs=(
+ -Denable_kmods=false
+ -Dmachine=default
+ -Dplatform=generic
+ $(meson_use test tests)
+ )
+ meson_src_configure
+ python_setup
+}
+
+src_install() {
+ meson_src_install
+ local pyfiles=( "${ED}/usr/bin/*.py" )
+ for pyfile in "${pyfiles[@]}"; do
+ python_fix_shebang "${pyfile}"
+ done
+}
diff --git a/net-libs/dpdk/metadata.xml b/net-libs/dpdk/metadata.xml
new file mode 100644
index 000000000..65ac1f205
--- /dev/null
+++ b/net-libs/dpdk/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@aisha.cc</email>
+ <name>Aisha Tammy</name>
+ </maintainer>
+</pkgmetadata>
next reply other threads:[~2021-12-23 15:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-23 15:08 Aisha Tammy [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-23 21:34 [gentoo-commits] repo/proj/guru:dev commit in: net-libs/dpdk/ Aisha Tammy
2021-12-27 2:47 Aisha Tammy
2022-04-26 17:31 Aisha Tammy
2022-04-26 17:32 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-08-15 14:18 Aisha Tammy
2022-08-15 14:22 Aisha Tammy
2022-09-06 23:21 Aisha Tammy
2023-05-11 14:47 Adrian Schollmeyer
2024-04-14 1:21 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-14 0:29 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
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=1640272043.ffa14bb00c8728959db17bd60ca297189a83250b.epsilon-0@gentoo \
--to=gentoo@aisha.cc \
--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