mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: mdpo: Update to 0.3.86.
* gnu/packages/gettext.scm (mdpo): Update to 0.3.86. [source]: Switch to git-fetch. [build-system]: Switch pyproject-build-system. [inputs]: Add python-polib and python-pymd4c. [propagated-inputs]: Remove python-polib and python-pymd4c. [native-inputs]: Remove python-bump2version and python-yamllint; add python-setuptools. Change-Id: I1f5bc5dd273768adad5d87f70f0646c60310668f
This commit is contained in:
parent
eb4aa7bd2c
commit
56598668a7
1 changed files with 31 additions and 9 deletions
|
|
@ -34,10 +34,11 @@
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix gexp)
|
#:use-module (guix gexp)
|
||||||
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix build-system perl)
|
#:use-module (guix build-system perl)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system pyproject)
|
||||||
#:use-module (gnu packages bash)
|
#:use-module (gnu packages bash)
|
||||||
#:use-module (gnu packages check)
|
#:use-module (gnu packages check)
|
||||||
#:use-module (gnu packages docbook)
|
#:use-module (gnu packages docbook)
|
||||||
|
|
@ -48,6 +49,7 @@
|
||||||
#:use-module (gnu packages perl-check)
|
#:use-module (gnu packages perl-check)
|
||||||
#:use-module (gnu packages tex)
|
#:use-module (gnu packages tex)
|
||||||
#:use-module (gnu packages xml)
|
#:use-module (gnu packages xml)
|
||||||
|
#:use-module (gnu packages python-build)
|
||||||
#:use-module (gnu packages python-xyz)
|
#:use-module (gnu packages python-xyz)
|
||||||
#:use-module (gnu packages sphinx)
|
#:use-module (gnu packages sphinx)
|
||||||
#:use-module (guix utils))
|
#:use-module (guix utils))
|
||||||
|
|
@ -232,17 +234,37 @@ color, font attributes (weight, posture), or underlining.")
|
||||||
(define-public mdpo
|
(define-public mdpo
|
||||||
(package
|
(package
|
||||||
(name "mdpo")
|
(name "mdpo")
|
||||||
(version "0.3.6")
|
(version "0.3.86") ;the last version without Rust
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "mdpo" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/mondeja/mdpo")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0kgbm0af7jwpfspa2xxiy9nc2l1r2s1rhbhz4r229zcqv49ak6sq"))))
|
(base32 "130g8ggy0xgk5jmlx23569wmv9fz7fhm8qi46cjj7n4fxr0vnmyx"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(native-inputs (list python-bump2version python-pytest python-yamllint))
|
(arguments
|
||||||
(propagated-inputs
|
(list
|
||||||
(list python-polib python-pymd4c))
|
;; tests: 91 passed
|
||||||
|
#:test-flags
|
||||||
|
;; XXX: The Most of the tests fail because 0.3.86 was released in 2022
|
||||||
|
;; and depends on python-pytest@6.2.4.
|
||||||
|
;;
|
||||||
|
;; OSError: pytest: reading from stdin while output is captured!
|
||||||
|
;; Consider using `-s`.
|
||||||
|
#~(list "--ignore=test/test_integration/"
|
||||||
|
"--ignore=test/test_unit/test_md2po/"
|
||||||
|
"--ignore=test/test_unit/test_md2po2md/"
|
||||||
|
"--ignore=test/test_unit/test_mdpo2html/"
|
||||||
|
"--ignore=test/test_unit/test_po2md/")))
|
||||||
|
(native-inputs
|
||||||
|
(list python-pytest
|
||||||
|
python-setuptools))
|
||||||
|
(inputs
|
||||||
|
(list python-polib
|
||||||
|
python-pymd4c))
|
||||||
(home-page "https://github.com/mondeja/mdpo")
|
(home-page "https://github.com/mondeja/mdpo")
|
||||||
(synopsis "Markdown file translation utilities using pofiles")
|
(synopsis "Markdown file translation utilities using pofiles")
|
||||||
(description
|
(description
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue