diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-23 19:00:43 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-28 21:36:59 +0000 |
| commit | 9b9411722025fa30046f77be9186472311312854 (patch) | |
| tree | 6c35c45cf3c34af94af402958f26055ee04668cf /gnu/packages/python-web.scm | |
| parent | aa9a0c580cec08b5dc923626053ac9b472cb4e9f (diff) | |
gnu: python-robot-detection: Switch to pyproject.
* gnu/packages/python-web.scm (python-robot-detection):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend>: Set it.
[native-inputs]: Add python-setuptools.
Change-Id: Ic6b6eb595bdbc11925e9660cccd300830909fca7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 846cedd4372..d7f2ea41121 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -10964,16 +10964,19 @@ store.") (define-public python-robot-detection (package (name "python-robot-detection") - (version "0.4") + (version "0.4.0") (source - (origin - (method url-fetch) - (uri (pypi-uri "robot-detection" version)) - (sha256 - (base32 - "1xd2jm3yn31bnk1kqzggils2rxj26ylxsfz3ap7bhr3ilhnbg3rx")))) - (build-system python-build-system) - (arguments '(#:tests? #f)) ; Tests not shipped in pypi release. + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rory/robot-detection") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gxk13rn0gw5pfc4abhfnzg8qi05xa0ygs26pgkp0swygkzq6wsq")))) + (build-system pyproject-build-system) + (arguments (list #:test-backend #~'unittest)) + (native-inputs (list python-setuptools)) (propagated-inputs (list python-six)) (home-page "https://github.com/rory/robot-detection") (synopsis "Detect web crawlers") |
