diff options
author | Sergey Trofimov <sarg@sarg.org.ru> | 2024-12-25 15:00:57 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-20 21:37:26 +0100 |
commit | 980d59617c951f24751057381db2500ef39defaf (patch) | |
tree | 9bca086b6bae65d7df0c243b54df595b2cd6a36f /gnu | |
parent | 6f66ff8adb75de81497f627a01276436dbad906f (diff) | |
download | guix-980d59617c951f24751057381db2500ef39defaf.tar.gz guix-980d59617c951f24751057381db2500ef39defaf.zip |
gnu: python-flask-babel: Update to 4.0.0.
* gnu/packages/python-web.scm (python-flask-babel): Update to 4.0.0.
[source]: Fetch from git as PyPI release doesn't include tests.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-poetry-core, python-pytest,
python-pytest-cov, and python-pytest-mock.
[propagated-inputs]: Sort.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I253b88eac7bec8152dc97634059c2402624cb961
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-web.scm | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index f7e87b6ff7..8b4a73575d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2111,17 +2111,27 @@ support for merging, minifying and compiling CSS and Javascript files.") (define-public python-flask-babel (package (name "python-flask-babel") - (version "2.0.0") + (version "4.0.0") (source - (origin - (method url-fetch) - (uri (pypi-uri "Flask-Babel" version)) - (sha256 - (base32 - "0z95v77vib5il8hphyh16n7i15a2gmc06i615vm346ifvdfg9ypr")))) - (build-system python-build-system) + (origin + (method git-fetch) ;no tests in pypi release + (uri (git-reference + (url "https://github.com/python-babel/flask-babel") + (commit (string-append "v" version)))) + (sha256 + (base32 + "19yq3f5rixbwhv7wxdarvi9hdj98a9dq8y76in9c1q3jxaigw104")))) + (build-system pyproject-build-system) + (native-inputs + (list python-poetry-core + python-pytest + python-pytest-cov + python-pytest-mock)) (propagated-inputs - (list python-flask python-babel python-jinja2 python-pytz)) + (list python-babel + python-flask + python-jinja2 + python-pytz)) (home-page "https://github.com/python-babel/flask-babel") (synopsis "Add i18n/l10n support to Flask applications") (description "This package implements internationalization and localization |