all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#39128] [PATCH] Add offlate
@ 2020-01-14  1:52 Julien Lepiller
  2020-01-14  1:57 ` [bug#39128] [PATCH 01/12] gnu: Add python-pyenchant Julien Lepiller
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Julien Lepiller @ 2020-01-14  1:52 UTC (permalink / raw)
  To: 39128

hi guix,

this series adds offlate, my translation tool that connects to
translation platforms and lets you work offline. Some of my
dependencies were not present in Guix yet, so there they are :)

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [bug#39128] [PATCH 01/12] gnu: Add python-pyenchant.
  2020-01-14  1:52 [bug#39128] [PATCH] Add offlate Julien Lepiller
@ 2020-01-14  1:57 ` Julien Lepiller
  2020-01-14  1:57   ` [bug#39128] [PATCH 02/12] gnu: Add python-check-manifest Julien Lepiller
                     ` (10 more replies)
  2020-01-24 23:00 ` [bug#39128] [PATCH] " Ludovic Courtès
  2020-03-30 18:18 ` bug#39128: Done: offlate Jakub Kądziołka
  2 siblings, 11 replies; 15+ messages in thread
From: Julien Lepiller @ 2020-01-14  1:57 UTC (permalink / raw)
  To: 39128

* gnu/packages/enchant.scm (python-pyenchant): New variable.
---
 gnu/packages/enchant.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/enchant.scm b/gnu/packages/enchant.scm
index bcf2507e86..25825997bb 100644
--- a/gnu/packages/enchant.scm
+++ b/gnu/packages/enchant.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2014 Marek Benc <merkur32@gmail.com>
 ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -23,10 +24,12 @@
   #:use-module (gnu packages aspell)
   #:use-module (gnu packages check)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages libreoffice)
   #:use-module (gnu packages pkg-config)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system python)
   #:use-module (guix licenses)
   #:use-module (srfi srfi-1))
 
@@ -86,3 +89,35 @@ working\".")
               (sha256
                (base32
                 "0zq9yw1xzk8k9s6x83n1f9srzcwdavzazn3haln4nhp9wxxrxb1g"))))))
+
+(define-public python-pyenchant
+  (package
+    (name "python-pyenchant")
+    (version "2.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pyenchant" version))
+              (sha256
+               (base32
+                "1872ckgdip8nj9rnh167m0gsj5754qfg2hjxzsl1s06f5akwscgw"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f; FIXME: Dictionary for language 'en_US' could not be found
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'setlib
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "enchant/_enchant.py"
+               (("/opt/local/lib/libenchant.dylib\"")
+                (string-append "/opt/local/lib/libenchant.dylib\"\n"
+                               "    yield \"" (assoc-ref inputs "enchant")
+                               "/lib/libenchant-2.so\""))))))))
+    (inputs
+     `(("enchant" ,enchant)))
+    (home-page "https://github.com/pyenchant/pyenchant")
+    (synopsis "Spellchecking library for Python")
+    (description "PyEnchant is a spellchecking library for Python, based on the
+Enchant library.  PyEnchant combines all the functionality of the underlying
+Enchant library with the flexibility of Python.  It also provides some
+higher-level functionality than is available in the C API.")
+    (license lgpl2.1+)))
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [bug#39128] [PATCH 02/12] gnu: Add python-check-manifest.
  2020-01-14  1:57 ` [bug#39128] [PATCH 01/12] gnu: Add python-pyenchant Julien Lepiller
@ 2020-01-14  1:57   ` Julien Lepiller
  2020-01-14  1:57   ` [bug#39128] [PATCH 03/12] gnu: Add python-codacy-coverage Julien Lepiller
                     ` (9 subsequent siblings)
  10 siblings, 0 replies; 15+ messages in thread
From: Julien Lepiller @ 2020-01-14  1:57 UTC (permalink / raw)
  To: 39128

* gnu/packages/python-xyz.scm (python-check-manifest): New variable.
---
 gnu/packages/python-xyz.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2c308796e7..de87719ef6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31,7 +31,7 @@
 ;;; Copyright © 2016 Dylan Jeffers <sapientech@sapientech@openmailbox.org>
 ;;; Copyright © 2016, 2017, 2019 Alex Vong <alexvong1995@gmail.com>
 ;;; Copyright © 2016, 2017, 2018 Arun Isaac <arunisaac@systemreboot.net>
-;;; Copyright © 2016, 2017, 2018 Julien Lepiller <julien@lepiller.eu>
+;;; Copyright © 2016, 2017, 2018, 2020 Julien Lepiller <julien@lepiller.eu>
 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be>
 ;;; Copyright © 2017 Carlo Zancanaro <carlo@zancanaro.id.au>
@@ -17098,3 +17098,25 @@ scripts to load entry points more quickly.")
 functional combinators.  Parser combinators are just higher-order functions
 that take parsers as their arguments and return them as result values.")
     (license license:expat)))
+
+(define-public python-check-manifest
+  (package
+    (name "python-check-manifest")
+    (version "0.37")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "check-manifest" version))
+        (sha256
+         (base32
+          "0lk45ifdv2cpkl6ayfyix7jwmnxa1rha7xvb0ih5999k115wzqs4"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-mock" ,python-mock)
+       ("git" ,git)))
+    (home-page "https://github.com/mgedmin/check-manifest")
+    (synopsis "Check MANIFEST.in in a Python source package for completeness")
+    (description "Python package can include a MANIFEST.in file to help with
+sending package files to the Python Package Index.  This package checks that
+file to ensure it completely and accurately describes your project.")
+    (license license:expat)))
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [bug#39128] [PATCH 03/12] gnu: Add python-codacy-coverage.
  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   ` Julien Lepiller
  2020-01-14  1:57   ` [bug#39128] [PATCH 04/12] gnu: Add python-translation-finder Julien Lepiller
                     ` (8 subsequent siblings)
  10 siblings, 0 replies; 15+ messages in thread
From: Julien Lepiller @ 2020-01-14  1:57 UTC (permalink / raw)
  To: 39128

* gnu/packages/python-check.scm (python-codacy-coverage): New variable.
---
 gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index caa398752e..45616dcccb 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -288,3 +289,26 @@ testing framework.")
     (description "This package provides a virtualenv fixture for the py.test
 framework.")
     (license license:expat)))
+
+(define-public python-codacy-coverage
+  (package
+    (name "python-codacy-coverage")
+    (version "1.3.11")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "codacy-coverage" version))
+        (sha256
+         (base32
+          "1g0c0w56xdkmqb8slacyw5qhzrkp814ng3ddh2lkiij58y9m2imr"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)); no tests
+    (propagated-inputs
+     `(("python-check-manifest" ,python-check-manifest)))
+    (home-page "https://github.com/codacy/python-codacy-coverage")
+    (synopsis "Codacy coverage reporter for Python")
+    (description "This package analyses Python test suites and reports how much
+of the code is covered by them.  This tool is part of the Codacy suite for
+analysing code quality.")
+    (license license:expat)))
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [bug#39128] [PATCH 04/12] gnu: Add python-translation-finder.
  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
  2020-01-14  1:57   ` [bug#39128] [PATCH 05/12] gnu: add python-httmock Julien Lepiller
                     ` (7 subsequent siblings)
  10 siblings, 0 replies; 15+ messages in thread
From: Julien Lepiller @ 2020-01-14  1:57 UTC (permalink / raw)
  To: 39128

* 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

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [bug#39128] [PATCH 05/12] gnu: add python-httmock.
  2020-01-14  1:57 ` [bug#39128] [PATCH 01/12] gnu: Add python-pyenchant Julien Lepiller
                     ` (2 preceding siblings ...)
  2020-01-14  1:57   ` [bug#39128] [PATCH 04/12] gnu: Add python-translation-finder Julien Lepiller
@ 2020-01-14  1:57   ` Julien Lepiller
  2020-01-14  1:57   ` [bug#39128] [PATCH 06/12] gnu: Add python-gitlab Julien Lepiller
                     ` (6 subsequent siblings)
  10 siblings, 0 replies; 15+ messages in thread
From: Julien Lepiller @ 2020-01-14  1:57 UTC (permalink / raw)
  To: 39128

* gnu/packages/python-check.scm (python-httmock): New variable.
---
 gnu/packages/python-check.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 45616dcccb..ca1d62428c 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -312,3 +312,25 @@ framework.")
 of the code is covered by them.  This tool is part of the Codacy suite for
 analysing code quality.")
     (license license:expat)))
+
+(define-public python-httmock
+  (package
+    (name "python-httmock")
+    (version "1.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "httmock" version))
+        (sha256
+         (base32
+          "1zj1fcm0n6f0wr9mr0hmlqz9430fnr5cdwd5jkcvq9j44bnsrfz0"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)); no tests
+    (propagated-inputs
+     `(("python-requests" ,python-requests)))
+    (home-page "https://github.com/patrys/httmock")
+    (synopsis "Mocking library for requests.")
+    (description "This package provides a library for replying fake data to
+Python software under test, when they make an HTTP query.")
+    (license license:asl2.0)))
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [bug#39128] [PATCH 06/12] gnu: Add python-gitlab.
  2020-01-14  1:57 ` [bug#39128] [PATCH 01/12] gnu: Add python-pyenchant Julien Lepiller
                     ` (3 preceding siblings ...)
  2020-01-14  1:57   ` [bug#39128] [PATCH 05/12] gnu: add python-httmock Julien Lepiller
@ 2020-01-14  1:57   ` Julien Lepiller
  2020-01-14  1:57   ` [bug#39128] [PATCH 07/12] gnu: Add python-android-stringslib Julien Lepiller
                     ` (5 subsequent siblings)
  10 siblings, 0 replies; 15+ messages in thread
From: Julien Lepiller @ 2020-01-14  1:57 UTC (permalink / raw)
  To: 39128

* gnu/packages/python-web.scm (python-gitlab): New variable.
---
 gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f1a62d50a0..29bd79b178 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3459,3 +3459,28 @@ and fairly speedy.")
 the source code of a project.  It supports many translation file formats and
 is part of the Weblate translation platform.")
     (license license:gpl3+)))
+
+(define-public python-gitlab
+  (package
+    (name "python-gitlab")
+    (version "1.15.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "python-gitlab" version))
+        (sha256
+         (base32
+          "0zl6kz8v8cg1bcy2r78b2snb0lpw0b573gdx2x1ps0nhsh75l4j5"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-requests" ,python-requests)
+       ("python-six" ,python-six)))
+    (native-inputs
+     `(("python-httmock" ,python-httmock)
+       ("python-mock" ,python-mock)))
+    (home-page
+      "https://github.com/python-gitlab/python-gitlab")
+    (synopsis "Interact with GitLab API")
+    (description "This package provides an extended library for interacting
+with GitLab instances through their API.")
+    (license license:lgpl3+)))
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [bug#39128] [PATCH 07/12] gnu: Add python-android-stringslib.
  2020-01-14  1:57 ` [bug#39128] [PATCH 01/12] gnu: Add python-pyenchant Julien Lepiller
                     ` (4 preceding siblings ...)
  2020-01-14  1:57   ` [bug#39128] [PATCH 06/12] gnu: Add python-gitlab Julien Lepiller
@ 2020-01-14  1:57   ` Julien Lepiller
  2020-01-14  1:57   ` [bug#39128] [PATCH 08/12] gnu: Add python-pathtools Julien Lepiller
                     ` (4 subsequent siblings)
  10 siblings, 0 replies; 15+ messages in thread
From: Julien Lepiller @ 2020-01-14  1:57 UTC (permalink / raw)
  To: 39128

* gnu/packages/python-xyz.scm (python-android-stringslib): New variable.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index de87719ef6..8bcbf855b1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17120,3 +17120,26 @@ that take parsers as their arguments and return them as result values.")
 sending package files to the Python Package Index.  This package checks that
 file to ensure it completely and accurately describes your project.")
     (license license:expat)))
+
+(define-public python-android-stringslib
+  (package
+    (name "python-android-stringslib")
+    (version "0.1.2")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://framagit.org/tyreunom/python-android-strings-lib")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "0gij55qzzq1h83kfpvhai1vf78kkhyvxa6l17m2nl24454lhfin4"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))
+    (home-page "https://framagit.org/tyreunom/python-android-strings-lib")
+    (synopsis "Android strings.xml support")
+    (description "Android Strings Lib provides support for android's strings.xml
+files.  These files are used to translate strings in android apps.")
+    (license license:expat)))
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [bug#39128] [PATCH 08/12] gnu: Add python-pathtools.
  2020-01-14  1:57 ` [bug#39128] [PATCH 01/12] gnu: Add python-pyenchant Julien Lepiller
                     ` (5 preceding siblings ...)
  2020-01-14  1:57   ` [bug#39128] [PATCH 07/12] gnu: Add python-android-stringslib Julien Lepiller
@ 2020-01-14  1:57   ` Julien Lepiller
  2020-01-14  1:57   ` [bug#39128] [PATCH 09/12] gnu: Add python-iocapture Julien Lepiller
                     ` (3 subsequent siblings)
  10 siblings, 0 replies; 15+ messages in thread
From: Julien Lepiller @ 2020-01-14  1:57 UTC (permalink / raw)
  To: 39128

* gnu/packages/python-xyz.scm (python-pathtools): New variable.
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8bcbf855b1..56d98333ea 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17143,3 +17143,21 @@ file to ensure it completely and accurately describes your project.")
     (description "Android Strings Lib provides support for android's strings.xml
 files.  These files are used to translate strings in android apps.")
     (license license:expat)))
+
+(define-public python-pathtools
+  (package
+    (name "python-pathtools")
+    (version "0.1.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "pathtools" version))
+        (sha256
+         (base32
+          "1h7iam33vwxk8bvslfj4qlsdprdnwf8bvzhqh3jq5frr391cadbw"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/gorakhargosh/pathtools")
+    (synopsis "File system general utilities")
+    (description "This package provides pattern matching and various utilities
+for file systems paths.")
+    (license license:expat)))
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [bug#39128] [PATCH 09/12] gnu: Add python-iocapture.
  2020-01-14  1:57 ` [bug#39128] [PATCH 01/12] gnu: Add python-pyenchant Julien Lepiller
                     ` (6 preceding siblings ...)
  2020-01-14  1:57   ` [bug#39128] [PATCH 08/12] gnu: Add python-pathtools Julien Lepiller
@ 2020-01-14  1:57   ` Julien Lepiller
  2020-01-14  1:57   ` [bug#39128] [PATCH 10/12] gnu: Add python-argh Julien Lepiller
                     ` (2 subsequent siblings)
  10 siblings, 0 replies; 15+ messages in thread
From: Julien Lepiller @ 2020-01-14  1:57 UTC (permalink / raw)
  To: 39128

* gnu/packages/python-xyz.scm (python-iocapture): New variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 56d98333ea..5041042a0c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17161,3 +17161,25 @@ files.  These files are used to translate strings in android apps.")
     (description "This package provides pattern matching and various utilities
 for file systems paths.")
     (license license:expat)))
+
+(define-public python-iocapture
+  (package
+    (name "python-iocapture")
+    (version "0.1.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "iocapture" version))
+        (sha256
+         (base32
+          "1s3ywdr0l3kfrrqi079iv16g0rp75akkvx0j07vx9p5w10c0wrw6"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-flexmock" ,python-flexmock)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-six" ,python-six)))
+    (home-page "https://github.com/oinume/iocapture")
+    (synopsis "stdout and stderr capture in Python")
+    (description "This package allows Python developpers to capture their standard
+output and standard error.")
+    (license license:expat)))
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [bug#39128] [PATCH 10/12] gnu: Add python-argh.
  2020-01-14  1:57 ` [bug#39128] [PATCH 01/12] gnu: Add python-pyenchant Julien Lepiller
                     ` (7 preceding siblings ...)
  2020-01-14  1:57   ` [bug#39128] [PATCH 09/12] gnu: Add python-iocapture Julien Lepiller
@ 2020-01-14  1:57   ` 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
  10 siblings, 0 replies; 15+ messages in thread
From: Julien Lepiller @ 2020-01-14  1:57 UTC (permalink / raw)
  To: 39128

* gnu/packages/python-xyz.scm (python-argh): New variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5041042a0c..0b818d12e5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17183,3 +17183,25 @@ for file systems paths.")
     (description "This package allows Python developpers to capture their standard
 output and standard error.")
     (license license:expat)))
+
+(define-public python-argh
+  (package
+    (name "python-argh")
+    (version "0.26.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "argh" version))
+        (sha256
+         (base32
+          "0rdv0n2aa181mkrybwvl3czkrrikgzd4y2cri6j735fwhj65nlz9"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-iocapture" ,python-iocapture)
+       ("python-mock" ,python-mock)
+       ("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/neithere/argh/")
+    (synopsis "Argparse wrapper with natural syntax")
+    (description "This package provides a parser for dealing with command-line
+arguments in Python.")
+    (license license:lgpl3)))
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [bug#39128] [PATCH 11/12] gnu: Add python-watchdog.
  2020-01-14  1:57 ` [bug#39128] [PATCH 01/12] gnu: Add python-pyenchant Julien Lepiller
                     ` (8 preceding siblings ...)
  2020-01-14  1:57   ` [bug#39128] [PATCH 10/12] gnu: Add python-argh Julien Lepiller
@ 2020-01-14  1:57   ` Julien Lepiller
  2020-01-14  1:57   ` [bug#39128] [PATCH 12/12] gnu: Add offlate Julien Lepiller
  10 siblings, 0 replies; 15+ messages in thread
From: Julien Lepiller @ 2020-01-14  1:57 UTC (permalink / raw)
  To: 39128

* gnu/packages/python-xyz.scm (python-watchdog): New variable.
---
 gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0b818d12e5..3c61f8af5c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17205,3 +17205,37 @@ output and standard error.")
     (description "This package provides a parser for dealing with command-line
 arguments in Python.")
     (license license:lgpl3)))
+
+(define-public python-watchdog
+  (package
+    (name "python-watchdog")
+    (version "0.9.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "watchdog" version))
+        (sha256
+         (base32
+          "07cnvvlpif7a6cg4rav39zq8fxa5pfqawchr46433pij0y6napwn"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'remove-failing
+           (lambda _
+             (delete-file "tests/test_inotify_buffer.py")
+             (delete-file "tests/test_snapshot_diff.py")
+             #t)))))
+    (propagated-inputs
+     `(("python-argh" ,python-argh)
+       ("python-pathtools" ,python-pathtools)
+       ("python-pyyaml" ,python-pyyaml)))
+    (native-inputs
+     `(("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-timeout" ,python-pytest-timeout)))
+    (home-page "https://github.com/gorakhargosh/watchdog")
+    (synopsis "Filesystem events monitoring")
+    (description "This package provides a way to monitor filesystem events
+such as a file modification and trigger an action.  This is similar to inotify,
+but portable.")
+    (license license:asl2.0)))
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [bug#39128] [PATCH 12/12] gnu: Add offlate.
  2020-01-14  1:57 ` [bug#39128] [PATCH 01/12] gnu: Add python-pyenchant Julien Lepiller
                     ` (9 preceding siblings ...)
  2020-01-14  1:57   ` [bug#39128] [PATCH 11/12] gnu: Add python-watchdog Julien Lepiller
@ 2020-01-14  1:57   ` Julien Lepiller
  10 siblings, 0 replies; 15+ messages in thread
From: Julien Lepiller @ 2020-01-14  1:57 UTC (permalink / raw)
  To: 39128

* gnu/packages/python-xyz.scm (offlate): New variable.
---
 gnu/packages/python-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3c61f8af5c..e690d6f78d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -97,6 +97,7 @@
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages dbm)
+  #:use-module (gnu packages enchant)
   #:use-module (gnu packages file)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages gcc)
@@ -17239,3 +17240,47 @@ arguments in Python.")
 such as a file modification and trigger an action.  This is similar to inotify,
 but portable.")
     (license license:asl2.0)))
+
+(define-public offlate
+  (package
+    (name "offlate")
+    (version "0.5")
+    (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
+          "13pqnbl05wcyldfvl75fp89vjgwsvxyc69vhnb17kkha2rc2k1h7"))))
+    (build-system python-build-system)
+    (arguments
+     ;; No tests
+     `(#:tests? #f))
+    (propagated-inputs
+      `(("python-android-stringslib" ,python-android-stringslib)
+        ("python-dateutil" ,python-dateutil)
+        ("python-gitlab" ,python-gitlab)
+        ("python-lxml" ,python-lxml)
+        ("python-polib" ,python-polib)
+        ("python-pyenchant" ,python-pyenchant)
+        ("python-pygit2" ,python-pygit2)
+        ("python-pygithub" ,python-pygithub)
+        ("python-pyqt" ,python-pyqt)
+        ("python-requests" ,python-requests)
+        ("python-ruamel.yaml" ,python-ruamel.yaml)
+        ("python-translation-finder" ,python-translation-finder)
+        ("python-watchdog" ,python-watchdog)))
+    (native-inputs
+     `(("qttools" ,qttools)))
+    (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
+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.")
+    (license license:gpl3+)))
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [bug#39128] [PATCH] Add offlate
  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-24 23:00 ` Ludovic Courtès
  2020-03-30 18:18 ` bug#39128: Done: offlate Jakub Kądziołka
  2 siblings, 0 replies; 15+ messages in thread
From: Ludovic Courtès @ 2020-01-24 23:00 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 39128

Hello Julien!

Julien Lepiller <julien@lepiller.eu> skribis:

> this series adds offlate, my translation tool that connects to
> translation platforms and lets you work offline. Some of my
> dependencies were not present in Guix yet, so there they are :)

On a quick glance this looks all good to me.  Thank you!

Ludo’.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#39128: Done: offlate.
  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-24 23:00 ` [bug#39128] [PATCH] " Ludovic Courtès
@ 2020-03-30 18:18 ` Jakub Kądziołka
  2 siblings, 0 replies; 15+ messages in thread
From: Jakub Kądziołka @ 2020-03-30 18:18 UTC (permalink / raw)
  To: 39128-done

[-- Attachment #1: Type: text/plain, Size: 107 bytes --]

This patchstack was applied as commit
2cbede5935eb6a40173bbdf30a9ad22bf7574c22 quite a while ago, closing.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-03-30 18:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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   ` [bug#39128] [PATCH 04/12] gnu: Add python-translation-finder Julien Lepiller
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

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.