unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add py3status.
@ 2016-05-30 19:24 Tomáš Čech
  2016-05-30 20:01 ` (unknown), Tomáš Čech
  0 siblings, 1 reply; 6+ messages in thread
From: Tomáš Čech @ 2016-05-30 19:24 UTC (permalink / raw)
  To: guix-devel

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index dc54bff..42a0e8a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8788,3 +8788,27 @@ the renaming, moving and extracting of attributes, functions, modules, fields
 and parameters in Python 2 source code.  These refactorings can also be applied
 to occurences in strings and comments.")
     (license gpl2)))
+
+(define-public python-py3status
+  (package
+    (name "python-py3status")
+    (version "2.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+	     "https://pypi.python.org/packages/60/cd/79b6d249befe0a136a29e2d634a4ac78730bc240bec247fc3bfa355f644b/py3status-"
+	     version ".tar.gz"))
+       (sha256
+	(base32
+	 ""))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (home-page "https://github.com/ultrabug/py3status")
+    (synopsis "Extensible i3status wrapper written in python")
+    (description "py3status is i3status wrapper which extends i3status
+functionality in modular way, allowing you to extend your panel with
+your own code, responding to click events and update clock every
+second.")
+    (license bsd-3)))
-- 
2.8.3

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

* (unknown), 
  2016-05-30 19:24 [PATCH] gnu: Add py3status Tomáš Čech
@ 2016-05-30 20:01 ` Tomáš Čech
  2016-05-30 20:01   ` [PATCH] gnu: Add py3status Tomáš Čech
  0 siblings, 1 reply; 6+ messages in thread
From: Tomáš Čech @ 2016-05-30 20:01 UTC (permalink / raw)
  To: guix-devel


OK, I got too excited with sending patch, I'm just glad I get in touch once
again. And besides, that GPG signing of commits is new to me.

S_W

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

* [PATCH] gnu: Add py3status.
  2016-05-30 20:01 ` (unknown), Tomáš Čech
@ 2016-05-30 20:01   ` Tomáš Čech
  2016-05-31 15:14     ` Ludovic Courtès
  2016-05-31 15:28     ` Efraim Flashner
  0 siblings, 2 replies; 6+ messages in thread
From: Tomáš Čech @ 2016-05-30 20:01 UTC (permalink / raw)
  To: guix-devel

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index dc54bff..d139dbc 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8788,3 +8788,25 @@ the renaming, moving and extracting of attributes, functions, modules, fields
 and parameters in Python 2 source code.  These refactorings can also be applied
 to occurences in strings and comments.")
     (license gpl2)))
+
+(define-public python-py3status
+  (package
+    (name "python-py3status")
+    (version "2.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "py3status" version))
+       (sha256
+        (base32
+         "09y7h8rjay5kzwk5akq7f5f9wqnvjkxhivck04hdc8ny1nw3vqzp"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (home-page "https://github.com/ultrabug/py3status")
+    (synopsis "Extensible i3status wrapper written in python")
+    (description "py3status is i3status wrapper which extends i3status
+functionality in modular way, allowing you to extend your panel with
+your own code, responding to click events and update clock every
+second.")
+    (license bsd-3)))
-- 
2.8.3

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

* Re: [PATCH] gnu: Add py3status.
  2016-05-30 20:01   ` [PATCH] gnu: Add py3status Tomáš Čech
@ 2016-05-31 15:14     ` Ludovic Courtès
  2016-05-31 15:28     ` Efraim Flashner
  1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2016-05-31 15:14 UTC (permalink / raw)
  To: Tomáš Čech; +Cc: guix-devel

Tomáš Čech <sleep_walker@gnu.org> skribis:

> * gnu/packages/python.scm (python-py3status): New variable.

[...]

> +    (synopsis "Extensible i3status wrapper written in python")

s/python/Python/

Otherwise LGTM!

Regarding commit signing, see
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22883#16>.

Glad to see you back!  :-)

Thank you,
Ludo’.

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

* Re: [PATCH] gnu: Add py3status.
  2016-05-30 20:01   ` [PATCH] gnu: Add py3status Tomáš Čech
  2016-05-31 15:14     ` Ludovic Courtès
@ 2016-05-31 15:28     ` Efraim Flashner
  2016-05-31 15:34       ` Hartmut Goebel
  1 sibling, 1 reply; 6+ messages in thread
From: Efraim Flashner @ 2016-05-31 15:28 UTC (permalink / raw)
  To: Tomáš Čech; +Cc: guix-devel

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

On Mon, May 30, 2016 at 10:01:21PM +0200, Tomáš Čech wrote:
> * gnu/packages/python.scm (python-py3status): New variable.
> ---
>  gnu/packages/python.scm | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index dc54bff..d139dbc 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -8788,3 +8788,25 @@ the renaming, moving and extracting of attributes, functions, modules, fields
>  and parameters in Python 2 source code.  These refactorings can also be applied
>  to occurences in strings and comments.")
>      (license gpl2)))
> +
> +(define-public python-py3status
> +  (package
> +    (name "python-py3status")
> +    (version "2.9")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "py3status" version))
> +       (sha256
> +        (base32
> +         "09y7h8rjay5kzwk5akq7f5f9wqnvjkxhivck04hdc8ny1nw3vqzp"))))
> +    (build-system python-build-system)
> +    (inputs
        ^^^
    native-inputs

> +     `(("python-setuptools" ,python-setuptools)))
> +    (home-page "https://github.com/ultrabug/py3status")
> +    (synopsis "Extensible i3status wrapper written in python")
> +    (description "py3status is i3status wrapper which extends i3status
                                 ^
                                an
> +functionality in modular way, allowing you to extend your panel with
                   ^
                   a
> +your own code, responding to click events and update clock every
                                        s/update/updating the/
> +second.")
> +    (license bsd-3)))
> -- 
> 2.8.3
> 
> 

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

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

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

* Re: [PATCH] gnu: Add py3status.
  2016-05-31 15:28     ` Efraim Flashner
@ 2016-05-31 15:34       ` Hartmut Goebel
  0 siblings, 0 replies; 6+ messages in thread
From: Hartmut Goebel @ 2016-05-31 15:34 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1.1: Type: text/plain, Size: 800 bytes --]

Am 31.05.2016 um 17:28 schrieb Efraim Flashner:
>> > +    (inputs
>         ^^^
>     native-inputs
>
>> > +     `(("python-setuptools" ,python-setuptools)))

Nope, this is required at runtime:


$ grep -r pkg_resources
py3status/core.py:            import pkg_resources
py3status/core.py:            version =
pkg_resources.get_distribution('py3status').version

-- 
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software
Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Blog:
http://www.goebel-consult.de/blog/filmgesprach-zu-201ecitizenfour201c-in-herrsching

Kolumne: http://www.cissp-gefluester.de/2010-07-passwoerter-lieben-lernen


[-- Attachment #1.1.2: Type: text/html, Size: 2296 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

end of thread, other threads:[~2016-05-31 15:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-30 19:24 [PATCH] gnu: Add py3status Tomáš Čech
2016-05-30 20:01 ` (unknown), Tomáš Čech
2016-05-30 20:01   ` [PATCH] gnu: Add py3status Tomáš Čech
2016-05-31 15:14     ` Ludovic Courtès
2016-05-31 15:28     ` Efraim Flashner
2016-05-31 15:34       ` Hartmut Goebel

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).