From: Julien Lepiller <julien@lepiller.eu>
To: 39128@debbugs.gnu.org
Subject: [bug#39128] [PATCH 04/12] gnu: Add python-translation-finder.
Date: Tue, 14 Jan 2020 02:57:31 +0100 [thread overview]
Message-ID: <20200114015739.14432-4-julien@lepiller.eu> (raw)
In-Reply-To: <20200114015739.14432-1-julien@lepiller.eu>
* 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 179e64e0a1..f1a62d50a0 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7,7 +7,7 @@
;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
-;;; Copyright © 2016, 2017 Julien Lepiller <julien@lepiller.eu>
+;;; Copyright © 2016, 2017, 2020 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
;;; Copyright © 2014, 2017 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
@@ -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)
@@ -3421,3 +3422,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+)))
--
2.24.0
next prev parent reply other threads:[~2020-01-14 1:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-14 1:52 [bug#39128] [PATCH] Add offlate Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 01/12] gnu: Add python-pyenchant Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 02/12] gnu: Add python-check-manifest Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 03/12] gnu: Add python-codacy-coverage Julien Lepiller
2020-01-14 1:57 ` Julien Lepiller [this message]
2020-01-14 1:57 ` [bug#39128] [PATCH 05/12] gnu: add python-httmock Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 06/12] gnu: Add python-gitlab Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 07/12] gnu: Add python-android-stringslib Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 08/12] gnu: Add python-pathtools Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 09/12] gnu: Add python-iocapture Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 10/12] gnu: Add python-argh Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 11/12] gnu: Add python-watchdog Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 12/12] gnu: Add offlate Julien Lepiller
2020-01-24 23:00 ` [bug#39128] [PATCH] " Ludovic Courtès
2020-03-30 18:18 ` bug#39128: Done: offlate Jakub Kądziołka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200114015739.14432-4-julien@lepiller.eu \
--to=julien@lepiller.eu \
--cc=39128@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.