guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 55ab7a1f1721bd184f54f4318094c0c329dba873
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Nov 30 17:58:00 2025 +0100
gnu: python-dpkt: Update to 1.9.8.
* gnu/packages/python-web.scm (python-dpkt): Update to 1.9.8.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Add flags.
[native-inputs]: Add python-pytest, python-pytest-cov,
python-setuptools.
[description]: Improve style.
Change-Id: I0a4cc677523d0579590d37692818ecc420c8eeaf
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-web.scm | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 81fef34d22..67292785fd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7493,19 +7493,27 @@ mainloop.")
(define-public python-dpkt
(package
(name "python-dpkt")
- (version "1.9.4")
+ (version "1.9.8")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "dpkt" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kbandla/dpkt")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "1d28r8pmhzjjd6hrn1xcddinfhwv8lcl1s59ygmqa8kfmz5pkrgl"))))
- (build-system python-build-system)
+ (base32 "0dhy8l4sqfxqdda6lishb95g3v6hnw14l20ipqpzb6vaw1vf7mzj"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "--pyargs" "dpkt")))
+ (native-inputs (list python-pytest python-pytest-cov python-setuptools))
(home-page "https://github.com/kbandla/dpkt")
(synopsis "Packet generator and parser for TCP/IP protocols")
- (description "The dpkt module is a fast, simple packet generator and parser
-for the basic TCP/IP protocols.")
+ (description
+ "The dpkt module is a fast, simple packet generator and parser for the
+basic TCP/IP protocols.")
(license license:bsd-3)))
(define-public python-geventhttpclient