mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-mohawk: Update to 1.1.0-0.b789916.
* gnu/packages/python-web.scm (python-mohawk): Update to 1.1.0-0.b789916. [source]: Switch to git-fetch. Use patch. [build-system]: Switch to pyproject-build-system. [arguments]: Set <#:test-flags>. [native-inputs]: Remove them. Add python-pytest and python-setuptools-next. * gnu/packages/patches/python-mohawk-pytest.patch: Add patch from upstream Github PR. * gnu/local.mk: Record patch. Change-Id: I866683573757909b9b5b808cd693991358131c46 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
d0283dde90
commit
ae3fbf21ca
3 changed files with 1044 additions and 17 deletions
|
@ -2054,6 +2054,7 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/python-feedparser-missing-import.patch \
|
||||
%D%/packages/patches/python-louvain-fix-test.patch \
|
||||
%D%/packages/patches/python-matplotlib-fix-legend-loc-best-test.patch \
|
||||
%D%/packages/patches/python-mohawk-pytest.patch \
|
||||
%D%/packages/patches/python-numpy-gcc-14.patch \
|
||||
%D%/packages/patches/python-random2-getrandbits-test.patch \
|
||||
%D%/packages/patches/python-pillow-use-zlib-1.3.patch \
|
||||
|
|
1018
gnu/packages/patches/python-mohawk-pytest.patch
Normal file
1018
gnu/packages/patches/python-mohawk-pytest.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -5450,24 +5450,32 @@ protocol, both client and server for Python asyncio module.
|
|||
(license license:asl2.0)))
|
||||
|
||||
(define-public python-mohawk
|
||||
(package
|
||||
(name "python-mohawk")
|
||||
(version "1.1.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "mohawk" version))
|
||||
(sha256
|
||||
(base32
|
||||
"08wppsv65yd0gdxy5zwq37yp6jmxakfz4a2yx5wwq2d222my786j"))))
|
||||
(build-system python-build-system)
|
||||
(native-inputs (list python-mock python-nose))
|
||||
(propagated-inputs (list python-six))
|
||||
(home-page "https://github.com/kumar303/mohawk")
|
||||
(synopsis "Library for Hawk HTTP authorization")
|
||||
(description
|
||||
"Mohawk is an alternate Python implementation of the Hawk HTTP
|
||||
(let ((commit "b7899166880e890f01cf2531b5686094ba08df8f")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "python-mohawk")
|
||||
(version (git-version "1.1.0" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/kumar303/mohawk")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "00y9fimcj851rk2770wqk61fac9pnxfnzca4fvsci57zw18i50m6"))
|
||||
(patches
|
||||
(search-patches "python-mohawk-pytest.patch"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list #:test-flags #~(list "mohawk/tests.py")))
|
||||
(native-inputs (list python-pytest python-setuptools-next))
|
||||
(home-page "https://github.com/kumar303/mohawk")
|
||||
(synopsis "Library for Hawk HTTP authorization")
|
||||
(description
|
||||
"Mohawk is an alternate Python implementation of the Hawk HTTP
|
||||
authorization scheme.")
|
||||
(license license:bsd-3)))
|
||||
(license license:bsd-3))))
|
||||
|
||||
(define-public python-msal
|
||||
(package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue