summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-28 22:25:55 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 14:26:14 +0000
commit72573dd179cec214d7e4d4be4c703f478e6ff1bf (patch)
treedc6e6e922e874c01fdfa265101818e731c0e6106 /gnu
parent910d808ae580a187178252fccecb10a698b23119 (diff)
gnu: python-ipy: Switch to pyproject.
* gnu/packages/networking.scm (python-ipy): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools. [description]: Improve style. Change-Id: Id2b1673321af264fad84008f4029bfab3362379c Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/networking.scm24
1 files changed, 14 insertions, 10 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index e32c09ed98..663bde99d3 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3275,18 +3275,22 @@ IPFIX, RSPAN, CLI, LACP, 802.1ag).")
(package
(name "python-ipy")
(version "1.01")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "IPy" version))
- (sha256
- (base32
- "06nclwafzsbi8ls019ry1xnfhgwc5103g8lgav54mmd2vr0sgv7d"))))
- (build-system python-build-system)
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/autocracy/python-ipy/")
+ (commit (string-append "IPy-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "106rirmirlpb5ppznn3fd8189a8z02zf99jvk6j4hcq05ajclfc6"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools))
(home-page "https://github.com/autocracy/python-ipy/")
(synopsis "Python class and tools for handling IP addresses and networks")
- (description "The @code{IP} class allows a comfortable parsing and
-handling for most notations in use for IPv4 and IPv6 addresses and
-networks.")
+ (description
+ "The @code{IP} class allows a comfortable parsing and handling for most
+notations in use for IPv4 and IPv6 addresses and networks.")
(license license:bsd-3)))
(define-public speedtest-cli