mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
1a4c0024af
commit
5d3f193208
1 changed files with 39 additions and 40 deletions
|
@ -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.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue