summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-28 22:02:42 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 17:11:49 +0000
commit78a9398975fcf576fd0648a8a28151d4b4e15cfe (patch)
treed99a6d7fb39915808b87ea0cc1420f0a1fdd0e9e /gnu
parente5b8f6d0b54616051407b6855c511deb02234f22 (diff)
gnu: python-pysctp: Update to 0.7.2.
* gnu/packages/networking.scm (python-pysctp): Update to 0.7.2. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Improve style. <#:test-backend>: Set it, because pytest fails to run here. [native-inputs]: Add python-setuptools. Change-Id: Id45e482d381ce4ffae461350d34556c1a689db03 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/networking.scm43
1 files changed, 24 insertions, 19 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 969d7fa0302..a2e1202a934 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -785,29 +785,34 @@ It also includes some SCTP-related helper utilities.")
785(define-public python-pysctp 785(define-public python-pysctp
786 (package 786 (package
787 (name "python-pysctp") 787 (name "python-pysctp")
788 (version "0.6.1") 788 (version "0.7.2")
789 (source 789 (source
790 (origin 790 (origin
791 (method url-fetch) 791 (method git-fetch)
792 (uri (pypi-uri "pysctp" version)) 792 (uri (git-reference
793 (url "https://github.com/p1sec/pysctp")
794 (commit (string-append "v" version))))
795 (file-name (git-file-name name version))
793 (sha256 796 (sha256
794 (base32 "14h2qlmfi24bizhvvqkfqfa78pzm3911ibrzy9k94i97xy1978dy")))) 797 (base32 "03nw6szak7xdcndyg0m62l4lmkv2bl8ixl7pa0ximwlk4v26wc2w"))))
795 (build-system python-build-system) 798 (build-system pyproject-build-system)
796 (inputs
797 (list lksctp-tools))
798 (arguments 799 (arguments
799 `(#:tests? #f ;; tests require network 800 (list
800 #:phases 801 #:tests? #f ;tests require network
801 (modify-phases %standard-phases 802 #:test-backend #~'unittest
802 (add-after 'unpack 'patch-setup.py 803 #:phases
803 (lambda _ 804 #~(modify-phases %standard-phases
804 (substitute* "setup.py" 805 (add-after 'unpack 'patch-setup.py
805 (("include_dirs\\s*=.*") 806 (lambda _
806 (string-append "include_dirs = ['.'] + '" 807 (substitute* "setup.py"
807 (getenv "C_INCLUDE_PATH") "'.split(':'),")) 808 (("include_dirs\\s*=.*")
808 (("library_dirs\\s*=.*") 809 (string-append "include_dirs = ['.'] + '"
809 (string-append "library_dirs = '" 810 (getenv "C_INCLUDE_PATH") "'.split(':'),"))
810 (getenv "LIBRARY_PATH") "'.split(':'),")))))))) 811 (("library_dirs\\s*=.*")
812 (string-append "library_dirs = '"
813 (getenv "LIBRARY_PATH") "'.split(':'),"))))))))
814 (native-inputs (list python-setuptools))
815 (inputs (list lksctp-tools))
811 (home-page "https://github.com/p1sec/pysctp") 816 (home-page "https://github.com/p1sec/pysctp")
812 (synopsis "Python module for the SCTP protocol stack and library") 817 (synopsis "Python module for the SCTP protocol stack and library")
813 (description "@code{pysctp} implements the SCTP socket API. You need a 818 (description "@code{pysctp} implements the SCTP socket API. You need a