diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-06 17:07:02 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-06 22:08:09 +0100 |
| commit | 5d3f193208441e688dfeaa9d8fffc57892d3b3c0 (patch) | |
| tree | c1211d2ae65a17d0efe81959a17d0d255ba7a639 /gnu | |
| parent | 1a4c0024af9fcbb886a235074000519c0f43a077 (diff) | |
gnu: offlate: Switch to pyproject.
* gnu/packages/python-xyz.scm (offlate):
[build-system]: Switch to pyproject-build-system.
[arguments, description]: Improve style.
[native-inputs]: Add python-setuptools-next.
Change-Id: I40c59c552950055cc7bea3d354f0eda246d56a71
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 79 |
1 files changed, 39 insertions, 40 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5f9946ad466..fa12264e7b4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32619,50 +32619,49 @@ with features similar to the @command{wget} utility.") (name "offlate") (version "0.6.1") (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://framagit.org/tyreunom/offlate") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1sx5cv8pamyw1m089b6x8ykaxdkx26jk9cblhbzlf0m3ckz52jik")))) - (build-system python-build-system) + (origin + (method git-fetch) + (uri (git-reference + (url "https://framagit.org/tyreunom/offlate") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1sx5cv8pamyw1m089b6x8ykaxdkx26jk9cblhbzlf0m3ckz52jik")))) + (build-system pyproject-build-system) (arguments - ;; No tests - `(#:tests? #f - #:phases - (modify-phases %standard-phases - (add-before 'build 'generate-fonts - (lambda _ - (invoke "make" "fonts"))) - (add-before 'build 'generate-translations - (lambda _ - (invoke "make" "update-langs")))))) + (list + #:tests? #f ; No tests. + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'generate-fonts + (lambda _ + (invoke "make" "fonts"))) + (add-before 'build 'generate-translations + (lambda _ + (invoke "make" "update-langs")))))) (propagated-inputs - (list python-android-stringslib - python-dateutil - python-gitlab - python-lxml - python-polib - python-pycountry - python-pyenchant - python-pygit2 - python-pygithub - python-pyqt - python-requests - python-ruamel.yaml - python-translate-toolkit - python-translation-finder - python-watchdog)) - (native-inputs - (list qttools-5 fontforge)) + (list python-android-stringslib + python-dateutil + python-gitlab + python-lxml + python-polib + python-pycountry + python-pyenchant + python-pygit2 + python-pygithub + python-pyqt + python-requests + python-ruamel.yaml + python-translate-toolkit + python-translation-finder + python-watchdog)) + (native-inputs (list qttools-5 fontforge python-setuptools-next)) (home-page "https://framagit.org/tyreunom/offlate") (synopsis "Offline translation interface for online translation tools") - (description "Offlate offers a unified interface for different translation -file formats, as well as many different online translation platforms. You can -use it to get work from online platforms, specialized such as the Translation + (description + "Offlate offers a unified interface for different translation file +formats, as well as many different online translation platforms. You can use +it to get work from online platforms, specialized such as the Translation Project, or not such a gitlab instance when your upstream doesn't use any dedicated platform. The tool proposes a unified interface for any format and an upload option to send your work back to the platform.") |
