guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 5d3f193208441e688dfeaa9d8fffc57892d3b3c0
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Sep 6 17:07:02 2025 +0200
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 <[email protected]>
---
gnu/packages/python-xyz.scm | 79 ++++++++++++++++++++++-----------------------
1 file changed, 39 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5f9946ad46..fa12264e7b 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.")