gnu: offlate: Update to 0.6.1.

* gnu/packages/python-xyz.scm (offlate): Update to 0.6.1.
This commit is contained in:
Julien Lepiller 2022-06-11 22:54:32 +02:00
parent c23d4871a6
commit 1643402950
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -24331,7 +24331,7 @@ (define-public python-wget
(define-public offlate (define-public offlate
(package (package
(name "offlate") (name "offlate")
(version "0.5") (version "0.6.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -24341,33 +24341,37 @@ (define-public offlate
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"13pqnbl05wcyldfvl75fp89vjgwsvxyc69vhnb17kkha2rc2k1h7")))) "1sx5cv8pamyw1m089b6x8ykaxdkx26jk9cblhbzlf0m3ckz52jik"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
;; No tests ;; No tests
`(#:tests? #f `(#:tests? #f
#:phases (modify-phases %standard-phases #:phases
(add-after 'unpack 'patch-for-pygit2 (modify-phases %standard-phases
(lambda _ (add-before 'build 'generate-fonts
(substitute* "offlate/systems/git.py" (lambda _
(("pygit2.remote.RemoteCallbacks") (invoke "make" "fonts")))
"pygit2.RemoteCallbacks"))))))) (add-before 'build 'generate-translations
(lambda _
(invoke "make" "update-langs"))))))
(propagated-inputs (propagated-inputs
(list python-android-stringslib (list python-android-stringslib
python-dateutil python-dateutil
python-gitlab python-gitlab
python-lxml python-lxml
python-polib python-polib
python-pycountry
python-pyenchant python-pyenchant
python-pygit2 python-pygit2
python-pygithub python-pygithub
python-pyqt python-pyqt
python-requests python-requests
python-ruamel.yaml python-ruamel.yaml
python-translate-toolkit
python-translation-finder python-translation-finder
python-watchdog)) python-watchdog))
(native-inputs (native-inputs
(list qttools)) (list qttools fontforge))
(home-page "https://framagit.org/tyreunom/offlate") (home-page "https://framagit.org/tyreunom/offlate")
(synopsis "Offline translation interface for online translation tools") (synopsis "Offline translation interface for online translation tools")
(description "Offlate offers a unified interface for different translation (description "Offlate offers a unified interface for different translation