[bug#55474,v2,17/17] gnu: Add python-wagtail-localize.
Commit Message
* gnu/packages/django.scm (python-wagtail-localize): New variable.
---
gnu/packages/django.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Comments
Hi!
Quick reminder for this patch series waiting for 4 months ;)
Hi Nicolas,
> Quick reminder for this patch series waiting for 4 months ;)
does it still make sense to add wagtail 2.16? There’s release 4.1.1
available. Maybe we can also drop the extra versions of beautifulsoup4
and psycopg2, since both got updated in the meantime.
Cheers,
Lars
Hi Nicolas,
> I'll come up with a new patch series in the coming weeks merging this
> one, 57094, and updating up to the latest version. (I didn't have the
> knowledge or confidence to do it this way 8 months ago).
alright. Please send it as v3 to #55474. Also note that we have
pyproject-build-system now, which makes your life easier for
pyproject.toml-based packages (i.e. no custom phases required).
Thanks,
Lars
On 2023-01-05 08:53, Lars-Dominik Braun wrote:
> Hi Nicolas,
>
>> I'll come up with a new patch series in the coming weeks merging this
>> one, 57094, and updating up to the latest version. (I didn't have the
>> knowledge or confidence to do it this way 8 months ago).
> alright. Please send it as v3 to #55474. Also note that we have
> pyproject-build-system now, which makes your life easier for
> pyproject.toml-based packages (i.e. no custom phases required).
Hey Lars,
I've sent an updated patch series. The v4 uses pyproject-build-system.
>
> Thanks,
> Lars
>
@@ -1584,3 +1584,33 @@ (define-public python-wagtail
(description "This package provides a Content Management System based on
Django.")
(license license:bsd-3)))
+
+(define-public python-wagtail-localize
+ (package
+ (name "python-wagtail-localize")
+ (version "1.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wagtail/wagtail-localize")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "014vcjzm1akbjinzqksqi228ic97f4brl0qvhxlyr42p49nxgh0y"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs #:allow-other-keys)
+ (if tests?
+ (invoke "python" "testmanage.py")
+ (format #t "test suite not run~%")))))))
+ (propagated-inputs (list python-django python-polib python-wagtail))
+ (native-inputs (list python-dj-database-url python-freezegun))
+ (home-page "https://www.wagtail-localize.org")
+ (synopsis "Translating for Wagtail Content Management System (CMS)")
+ (description "This package provides a translation plugin for Wagtail CMS.")
+ (license license:bsd-3)))