summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-30 17:58:00 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-04 21:49:58 +0000
commit55ab7a1f1721bd184f54f4318094c0c329dba873 (patch)
tree27b395de2e22d6f0e51eb737a59d409694ba4e78 /gnu/packages/python-web.scm
parent4f9b0148c4f8bc3672b5dd01e286d5deb6db065a (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm24
1 files changed, 16 insertions, 8 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 81fef34d22f..67292785fd9 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