[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/12: gnu: Add python-translation-finder.
From: |
guix-commits |
Subject: |
04/12: gnu: Add python-translation-finder. |
Date: |
Sun, 26 Jan 2020 12:50:37 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 18d18ee139b6e8f678670125edb05c6e901d38a8
Author: Julien Lepiller <address@hidden>
AuthorDate: Sun Jan 12 23:47:20 2020 +0100
gnu: Add python-translation-finder.
* gnu/packages/python-web.scm (python-translation-finder): New variable.
---
gnu/packages/python-web.scm | 40 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 39 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8f33201..08f4307 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7,7 +7,7 @@
;;; Copyright © 2016, 2017 Marius Bakke <address@hidden>
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <address@hidden>
;;; Copyright © 2017 Roel Janssen <address@hidden>
-;;; Copyright © 2016, 2017 Julien Lepiller <address@hidden>
+;;; Copyright © 2016, 2017, 2020 Julien Lepiller <address@hidden>
;;; Copyright © 2016, 2017 ng0 <address@hidden>
;;; Copyright © 2014, 2017 Eric Bavier <address@hidden>
;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
@@ -67,6 +67,7 @@
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages serialization)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages tls)
@@ -3431,3 +3432,40 @@ Unicorn project. The Gunicorn server is broadly
compatible with
various web frameworks, simply implemented, light on server resources,
and fairly speedy.")
(license license:expat)))
+
+(define-public python-translation-finder
+ (package
+ (name "python-translation-finder")
+ (version "1.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "translation-finder" version))
+ (sha256
+ (base32
+ "1pcy9z8gmb8x41gjhw9x0lkr0d2mv5mdxcs2hwg6q8mxs857j589"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'remove-failing-test
+ (lambda _
+ (delete-file "translation_finder/test_api.py")
+ #t)))))
+ (propagated-inputs
+ `(("python-chardet" ,python-chardet)
+ ("python-pathlib2" ,python-pathlib2)
+ ("python-ruamel.yaml" ,python-ruamel.yaml)
+ ("python-six" ,python-six)))
+ (native-inputs
+ `(("python-codecov" ,python-codecov)
+ ("python-codacy-coverage" ,python-codacy-coverage)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-pytest-runner" ,python-pytest-runner)
+ ("python-twine" ,python-twine)))
+ (home-page "https://weblate.org/")
+ (synopsis "Translation file finder for Weblate")
+ (description "This package provides a function to find translation file in
+the source code of a project. It supports many translation file formats and
+is part of the Weblate translation platform.")
+ (license license:gpl3+)))
- branch master updated (9a5edd0 -> 2cbede5), guix-commits, 2020/01/26
- 01/12: gnu: Add python-pyenchant., guix-commits, 2020/01/26
- 02/12: gnu: Add python-check-manifest., guix-commits, 2020/01/26
- 03/12: gnu: Add python-codacy-coverage., guix-commits, 2020/01/26
- 05/12: gnu: add python-httmock., guix-commits, 2020/01/26
- 04/12: gnu: Add python-translation-finder.,
guix-commits <=
- 08/12: gnu: Add python-pathtools., guix-commits, 2020/01/26
- 09/12: gnu: Add python-iocapture., guix-commits, 2020/01/26
- 10/12: gnu: Add python-argh., guix-commits, 2020/01/26
- 11/12: gnu: Add python-watchdog., guix-commits, 2020/01/26
- 12/12: gnu: Add offlate., guix-commits, 2020/01/26
- 06/12: gnu: Add python-gitlab., guix-commits, 2020/01/26
- 07/12: gnu: Add python-android-stringslib., guix-commits, 2020/01/26