unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#50949] [PATCH 1/5] gnu: Add python-pbr-5.
@ 2021-10-01 19:22 phodina via Guix-patches via
  2021-10-01 19:25 ` [bug#50949] [PATCH 2/5] gnu: Add python-sphinxcontrib-apidoc phodina via Guix-patches via
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: phodina via Guix-patches via @ 2021-10-01 19:22 UTC (permalink / raw)
  To: 50949

* gnu/packages/python-xyz.scm (python-pbr-5): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 16f778dd76..f91d2f158f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3142,6 +3142,18 @@ versions, process requirements files and generate AUTHORS and ChangeLog file
 from git information.
 ")))

+(define-public python-pbr-5
+  (package
+    (inherit python-pbr)
+    (name "python-pbr-5")
+    (version "5.6.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "pbr" version))
+        (sha256
+          (base32
+            "1p8hhyrvbax131w7sjpjgpyk8z4w4w009702n4jncybvg7kh7ps2"))))))
 (define-public python-pyrsistent
   (package
     (name "python-pyrsistent")
--
2.32.0




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

* [bug#50949] [PATCH 2/5] gnu: Add python-sphinxcontrib-apidoc.
  2021-10-01 19:22 [bug#50949] [PATCH 1/5] gnu: Add python-pbr-5 phodina via Guix-patches via
@ 2021-10-01 19:25 ` phodina via Guix-patches via
  2021-10-01 19:25 ` [bug#50949] [PATCH 3/5] gnu: Add python-sphinx-click phodina via Guix-patches via
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: phodina via Guix-patches via @ 2021-10-01 19:25 UTC (permalink / raw)
  To: 50949

* gnu/packages/sphinx.scm (python-sphinxcontrib-doc): New variable.

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index a7a3443707..48c2f6d32a 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -154,6 +154,31 @@ sources.")
          ("python2-six" ,python2-six)
          ("python2-sphinxcontrib-websupport" ,python2-sphinxcontrib-websupport))))))

+(define-public python-sphinxcontrib-apidoc
+  (package
+    (name "python-sphinxcontrib-apidoc")
+    (version "0.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "sphinxcontrib-apidoc" version))
+        (sha256
+          (base32
+            "1f9zfzggs8a596jw51fpfmr149n05mrlyy859iydazbvry9gb6vj"))))
+    (build-system python-build-system)
+    (arguments
+      `(#:tests? #f)) ; Requires python-pytest<4.0
+    (native-inputs `(("python-pytest" ,python-pytest)
+                     ("python-sphinx" ,python-sphinx)
+                     ("python-pbr" ,python-pbr-5)
+                     ("python-pre-commit" ,python-pre-commit)
+                     ("python-testrepository" ,python-testrepository)))
+    (home-page "https://github.com/sphinx-contrib/apidoc")
+    (synopsis "Sphinx extension for running @code{sphinx-apidoc}")
+    (description "This package provides Sphinx extension for running
+@code{sphinx-apidoc} on each build.")
+    (license license:bsd-2)))
+
 (define-public python-sphinxcontrib-applehelp
   (package
     (name "python-sphinxcontrib-applehelp")
--
2.32.0




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

* [bug#50949] [PATCH 3/5] gnu: Add python-sphinx-click.
  2021-10-01 19:22 [bug#50949] [PATCH 1/5] gnu: Add python-pbr-5 phodina via Guix-patches via
  2021-10-01 19:25 ` [bug#50949] [PATCH 2/5] gnu: Add python-sphinxcontrib-apidoc phodina via Guix-patches via
@ 2021-10-01 19:25 ` phodina via Guix-patches via
  2021-10-01 19:26 ` [bug#50949] [PATCH 4/5] gnu: Add python-android-backup phodina via Guix-patches via
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: phodina via Guix-patches via @ 2021-10-01 19:25 UTC (permalink / raw)
  To: 50949

* gnu/packages/sphinx.scm (python-sphinx-click): New variable.

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 48c2f6d32a..b3484dfe29 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -199,6 +199,32 @@ sources.")
 Apple help books.")
     (license license:bsd-2)))

+(define-public python-sphinx-click
+  (package
+    (name "python-sphinx-click")
+    (version "3.0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "sphinx-click" version))
+        (sha256
+          (base32
+            "118ppsymp1p2gn8v7mifika817qx6v07mja7kxizq9cg7dpw894v"))))
+    (build-system python-build-system)
+    (arguments
+      `(#:tests? #f)) ; Requires python-coverage<5.0
+    (native-inputs
+      `(("python-click" ,python-click)
+        ("python-coverage" ,python-coverage)
+        ("python-docutils" ,python-docutils)
+        ("python-pbr" ,python-pbr)
+        ("python-sphinx" ,python-sphinx)))
+    (home-page "https://github.com/click-contrib/sphinx-click")
+    (synopsis "Sphinx extension that documents click applications")
+    (description "This package provide sphinx extension that automatically
+documents click applications.")
+    (license license:expat)))
+
 (define-public python-sphinx-copybutton
   (package
     (name "python-sphinx-copybutton")
--
2.32.0




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

* [bug#50949] [PATCH 4/5] gnu: Add python-android-backup.
  2021-10-01 19:22 [bug#50949] [PATCH 1/5] gnu: Add python-pbr-5 phodina via Guix-patches via
  2021-10-01 19:25 ` [bug#50949] [PATCH 2/5] gnu: Add python-sphinxcontrib-apidoc phodina via Guix-patches via
  2021-10-01 19:25 ` [bug#50949] [PATCH 3/5] gnu: Add python-sphinx-click phodina via Guix-patches via
@ 2021-10-01 19:26 ` phodina via Guix-patches via
  2021-10-01 19:26 ` [bug#50949] [PATCH 5/5] gnu: Add python-miio phodina via Guix-patches via
  2022-01-12 23:04 ` [bug#50949] [PATCH 1/5] gnu: Add python-pbr-5 Nicolas Goaziou
  4 siblings, 0 replies; 6+ messages in thread
From: phodina via Guix-patches via @ 2021-10-01 19:26 UTC (permalink / raw)
  To: 50949

* gnu/packages/android.scm (python-android-backup): New variable.

diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 0a551c7d30..5c7376c3a4 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2019, 2020 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2020 Sergey Trofimov <sarg@sarg.org.ru>
+;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -916,6 +917,26 @@ safest way, on a file image.")
 useful for reverse engineering, analysis of Android applications and more.")
     (license license:asl2.0)))

+(define-public python-android-backup
+  (package
+    (name "python-android-backup")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "android_backup" version))
+        (sha256
+          (base32
+            "15wb2lyjj2fpf7bhvmgpqn0mglsjj11zfvbjycx7mnidisgnljw6"))))
+    (build-system python-build-system)
+    (propagated-inputs `(("python-pycrypto" ,python-pycrypto)))
+    (home-page
+      "https://github.com/bluec0re/android-backup-tools")
+    (synopsis "Unpack and repack android backups")
+    (description "This package allows you to unpack and repack android backups.
+Supports encrypted archives.")
+    (license license:asl2.0)))
+
 (define-public fdroidserver
   (package
     (name "fdroidserver")
--
2.32.0




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

* [bug#50949] [PATCH 5/5] gnu: Add python-miio.
  2021-10-01 19:22 [bug#50949] [PATCH 1/5] gnu: Add python-pbr-5 phodina via Guix-patches via
                   ` (2 preceding siblings ...)
  2021-10-01 19:26 ` [bug#50949] [PATCH 4/5] gnu: Add python-android-backup phodina via Guix-patches via
@ 2021-10-01 19:26 ` phodina via Guix-patches via
  2022-01-12 23:04 ` [bug#50949] [PATCH 1/5] gnu: Add python-pbr-5 Nicolas Goaziou
  4 siblings, 0 replies; 6+ messages in thread
From: phodina via Guix-patches via @ 2021-10-01 19:26 UTC (permalink / raw)
  To: 50949

* gnu/packages/android.scm (python-miio): New variable.

diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 5c7376c3a4..8697779990 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -53,7 +53,9 @@
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages selinux)
   #:use-module (gnu packages serialization)
+  #:use-module (gnu packages sphinx)
   #:use-module (gnu packages ssh)
+  #:use-module (gnu packages time)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages virtualization)
@@ -937,6 +939,55 @@ useful for reverse engineering, analysis of Android applications and more.")
 Supports encrypted archives.")
     (license license:asl2.0)))

+(define-public python-miio
+  (package
+    (name "python-miio")
+    (version "0.5.8")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "python-miio" version))
+        (sha256
+          (base32
+            "0a4f5ybjvibawwxcjm3r9nnrzf1yff6wwgy05yzyk0bb3rmc99fp"))))
+    (build-system python-build-system)
+    (arguments
+      `(#:phases
+          (modify-phases %standard-phases
+            (replace 'check
+              (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+                (add-installed-pythonpath inputs outputs)
+                (invoke "pytest" "miio"))))))
+    (native-inputs `(("python-pytest" ,python-pytest)
+                     ("python-pytest-mock" ,python-pytest-mock)
+                     ("python-sphinx" ,python-sphinx)
+                     ("python-sphinx-click" ,python-sphinx-click)
+                     ("python-sphinx-rtd-theme"
+                       ,python-sphinx-rtd-theme)
+                     ("python-sphinxcontrib-apidoc"
+                       ,python-sphinxcontrib-apidoc)))
+    (propagated-inputs
+      `(("python-android-backup" ,python-android-backup)
+        ("python-appdirs" ,python-appdirs)
+        ("python-attrs" ,python-attrs)
+        ("python-click" ,python-click)
+        ("python-construct" ,python-construct)
+        ("python-croniter" ,python-croniter)
+        ("python-cryptography" ,python-cryptography)
+        ("python-defusedxml" ,python-defusedxml)
+        ("python-importlib-metadata"
+         ,python-importlib-metadata)
+        ("python-netifaces" ,python-netifaces)
+        ("python-pytz" ,python-pytz)
+        ("python-pyyaml" ,python-pyyaml)
+        ("python-tqdm" ,python-tqdm)
+        ("python-zeroconf" ,python-zeroconf)))
+    (home-page "https://github.com/rytilahti/python-miio")
+    (synopsis "Control Xiaomi smart appliances")
+    (description "This package provides library and command line interface
+for communicating with Xiaomi smart appliances over miIO and MIoT protocols.")
+    (license license:gpl3+)))
+
 (define-public fdroidserver
   (package
     (name "fdroidserver")
--
2.32.0




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

* [bug#50949] [PATCH 1/5] gnu: Add python-pbr-5.
  2021-10-01 19:22 [bug#50949] [PATCH 1/5] gnu: Add python-pbr-5 phodina via Guix-patches via
                   ` (3 preceding siblings ...)
  2021-10-01 19:26 ` [bug#50949] [PATCH 5/5] gnu: Add python-miio phodina via Guix-patches via
@ 2022-01-12 23:04 ` Nicolas Goaziou
  4 siblings, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2022-01-12 23:04 UTC (permalink / raw)
  To: 50949; +Cc: phodina, 50949-done

Hello,

phodina via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/python-xyz.scm (python-pbr-5): New variable.

I applied the patch set without this first patch, since python-pbr
package is already at 5+.

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2022-01-12 23:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 19:22 [bug#50949] [PATCH 1/5] gnu: Add python-pbr-5 phodina via Guix-patches via
2021-10-01 19:25 ` [bug#50949] [PATCH 2/5] gnu: Add python-sphinxcontrib-apidoc phodina via Guix-patches via
2021-10-01 19:25 ` [bug#50949] [PATCH 3/5] gnu: Add python-sphinx-click phodina via Guix-patches via
2021-10-01 19:26 ` [bug#50949] [PATCH 4/5] gnu: Add python-android-backup phodina via Guix-patches via
2021-10-01 19:26 ` [bug#50949] [PATCH 5/5] gnu: Add python-miio phodina via Guix-patches via
2022-01-12 23:04 ` [bug#50949] [PATCH 1/5] gnu: Add python-pbr-5 Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).