unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Alex Griffin" <a@ajgrf.com>
To: 36213@debbugs.gnu.org
Subject: [bug#36213] [PATCH 2/4] gnu: Add python-pyroute2, python2-pyroute2.
Date: Fri, 14 Jun 2019 19:23:29 +0000	[thread overview]
Message-ID: <45b0bac5-1b53-4939-a1b8-effd0ea0c6fb@www.fastmail.com> (raw)
In-Reply-To: <9f57b4cb-e4e9-4dfa-9308-9263b5edfe23@www.fastmail.com>

[-- Attachment #1: Type: text/plain, Size: 26 bytes --]

attached

-- 
Alex Griffin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-Add-python-pyroute2-python2-pyroute2.patch --]
[-- Type: text/x-patch; name="0002-gnu-Add-python-pyroute2-python2-pyroute2.patch", Size: 2110 bytes --]

From 427cfc454cba81de55985eb39dde83ab30b8c7f9 Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Thu, 13 Jun 2019 15:46:10 -0500
Subject: [PATCH 2/4] gnu: Add python-pyroute2, python2-pyroute2.

* gnu/packages/python-xyz.scm (python-pyroute2): New variable.
(python2-pyroute2): New variable.

fixup pyroute2
---
 gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e07f9532ed..cceddf8f3b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6650,6 +6650,42 @@ and MAC network addresses.")
 (define-public python2-netaddr
   (package-with-python2 python-netaddr))
 
+(define-public python-pyroute2
+  (package
+    (name "python-pyroute2")
+    (version "0.5.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyroute2" version))
+       (sha256
+        (base32
+         "1gmz4r1w0yzj6fjjypnalmfyy0lnfznydyn62gi3wk50j5hhxbny"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/svinota/pyroute2")
+    (synopsis "Python netlink library")
+    (description
+     "Pyroute2 is a pure Python netlink library with minimal dependencies.
+Supported netlink families and protocols include:
+@itemize
+@item rtnl, network settings - addresses, routes, traffic controls
+@item nfnetlink - netfilter API: ipset, nftables, ...
+@item ipq - simplest userspace packet filtering, iptables QUEUE target
+@item devlink - manage and monitor devlink-enabled hardware
+@item generic - generic netlink families
+  @itemize
+  @item nl80211 - wireless functions API (basic support)
+  @item taskstats - extended process statistics
+  @item acpi_events - ACPI events monitoring
+  @item thermal_events - thermal events monitoring
+  @item VFS_DQUOT - disk quota events monitoring
+  @end itemize
+@end itemize")
+    (license license:gpl2+)))
+
+(define-public python2-pyroute2
+  (package-with-python2 python-pyroute2))
+
 (define-public python-wrapt
   (package
     (name "python-wrapt")
-- 
2.22.0


  parent reply	other threads:[~2019-06-14 19:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 19:21 [bug#36213] [PATCH 0/4] Add pulseaudio-dlna Alex Griffin
2019-06-14 19:22 ` [bug#36213] [PATCH 1/4] gnu: Add python-notify2, python2-notify2 Alex Griffin
2019-06-14 19:23 ` Alex Griffin [this message]
2019-06-14 19:27 ` [bug#36213] [PATCH 3/4] gnu: Add python2-zeroconf Alex Griffin
2019-06-14 19:28 ` [bug#36213] [PATCH 4/4] gnu: Add pulseaudio-dlna Alex Griffin
2019-07-02 15:54   ` Ludovic Courtès
2019-07-02 16:01     ` Alex Griffin
2019-07-04 16:07       ` bug#36213: " Ludovic Courtès

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45b0bac5-1b53-4939-a1b8-effd0ea0c6fb@www.fastmail.com \
    --to=a@ajgrf.com \
    --cc=36213@debbugs.gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).