mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-httmock: Switch to pyproject.
* gnu/packages/python-check.scm (python-httmock): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Enable tests with <#:test-backend, #:test-flags>. [native-inputs]: Add python-setuptools. Change-Id: Ied533d486455cf6fc4f5d699d681632831b99be6 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
cf3abcd096
commit
2f29f09044
1 changed files with 14 additions and 10 deletions
|
@ -965,17 +965,21 @@ modules are patched within the contexts exposed.")
|
||||||
(name "python-httmock")
|
(name "python-httmock")
|
||||||
(version "1.3.0")
|
(version "1.3.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "httmock" version))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/patrys/httmock")
|
||||||
(base32
|
(commit version)))
|
||||||
"1zj1fcm0n6f0wr9mr0hmlqz9430fnr5cdwd5jkcvq9j44bnsrfz0"))))
|
(file-name (git-file-name name version))
|
||||||
(build-system python-build-system)
|
(sha256
|
||||||
|
(base32 "1dy7pjq4gz476jcnbbpzk8w8qxr9l8wwgw9x2c7lf6fzsgnf404q"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f)); no tests
|
(list
|
||||||
(propagated-inputs
|
#:test-backend #~'custom
|
||||||
(list python-requests))
|
#:test-flags #~(list "tests.py")))
|
||||||
|
(native-inputs (list python-setuptools))
|
||||||
|
(propagated-inputs (list python-requests))
|
||||||
(home-page "https://github.com/patrys/httmock")
|
(home-page "https://github.com/patrys/httmock")
|
||||||
(synopsis "Mocking library for requests")
|
(synopsis "Mocking library for requests")
|
||||||
(description "This package provides a library for replying fake data to
|
(description "This package provides a library for replying fake data to
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue