gnu: graphite-web: Update to 1.1.10.

* gnu/packages/monitoring.scm (graphite-web): Update to 1.1.10.
[arguments]: Relax Django requirement.
[propagated-inputs]: Remove PYTHON-WHISPER , PYTHON-SCANDIR, and
PYTHON-TXAMPQ.  Replace PYTHON-DJANGO-2.2 with PYTHON-DJANGO-3.2.
This commit is contained in:
Marius Bakke 2023-09-09 20:48:46 +08:00
parent b9142073c4
commit 12af750868
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -454,14 +454,14 @@ (define-public python-carbon
(define-public graphite-web (define-public graphite-web
(package (package
(name "graphite-web") (name "graphite-web")
(version "1.1.7") (version "1.1.10")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "graphite-web" version)) (uri (pypi-uri "graphite-web" version))
(sha256 (sha256
(base32 (base32
"1l5a5rry9cakqxamvlx4xq63jifmncb6815bg9vy7fg1zyd3pjxk")))) "0nnk3kwn0b6bq9xnmv9bac6hpcbdgpgwf283c1ck5nm80panh61z"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:tests? #f ;XXX: not in PyPI release & requires database `(#:tests? #f ;XXX: not in PyPI release & requires database
@ -471,22 +471,20 @@ (define-public graphite-web
(lambda _ (lambda _
(substitute* "setup.py" (substitute* "setup.py"
;; Allow newer versions of django-tagging. ;; Allow newer versions of django-tagging.
(("django-tagging==") (("django-tagging==") "django-tagging>=")
"django-tagging>=")) ;; And Django.
#t)) (("Django>=1\\.8,<3\\.1") "Django>=1.8,<4"))))
;; Don't install to /opt ;; Don't install to /opt
(add-after 'unpack 'do-not-install-to-/opt (add-after 'unpack 'do-not-install-to-/opt
(lambda _ (setenv "GRAPHITE_NO_PREFIX" "1") #t))))) (lambda _ (setenv "GRAPHITE_NO_PREFIX" "1") #t)))))
(propagated-inputs (propagated-inputs
(list python-cairocffi (list python-cairocffi
python-pytz python-django-3.2
python-whisper
python-django-2.2
python-django-tagging python-django-tagging
python-scandir
python-urllib3
python-pyparsing python-pyparsing
python-txamqp)) python-pytz
python-six
python-urllib3))
(home-page "https://graphiteapp.org/") (home-page "https://graphiteapp.org/")
(synopsis "Scalable realtime graphing system") (synopsis "Scalable realtime graphing system")
(description "Graphite is a scalable real-time graphing system that does (description "Graphite is a scalable real-time graphing system that does