gnu: python-cbor2: Move to pyproject-build-system.

* gnu/packages/python-web.scm (python-cbor2):
  [build-system]: Move to pyproject-build-system.
  [arguments]: Remove uneeded field.

Change-Id: I2e27fa48950aa9d10e140bfbdc12df3d22661282
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Nicolas Graves 2024-05-10 00:53:31 +02:00 committed by Sharlatan Hellseher
parent d0b95ce40f
commit b0834fe777
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1037,15 +1037,7 @@ to the OVHcloud APIs.")
(uri (pypi-uri "cbor2" version))
(sha256
(base32 "15y78xcc3zkmvj1mdzz8gyhf3apbl91073kwhzbjk5abc1civwlw"))))
(build-system python-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(build-system pyproject-build-system)
(native-inputs (list python-pytest python-pytest-cov python-setuptools-scm))
(home-page "https://github.com/agronholm/cbor2")
(synopsis "Concise Binary Object Representation (CBOR) (de)serializer")