unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/5] gnu: Add python-args.
@ 2016-01-13  1:27 宋文武
  2016-01-13  1:27 ` [PATCH 2/5] gnu: Add python-clint 宋文武
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: 宋文武 @ 2016-01-13  1:27 UTC (permalink / raw)
  To: guix-devel; +Cc: 宋文武

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4ab1eed..0886809 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6620,3 +6620,25 @@ the standard library.")
 
 (define-public python2-contextlib2
   (package-with-python2 python-contextlib2))
+
+(define-public python-args
+  (package
+    (name "python-args")
+    (version "0.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "args" version))
+              (sha256
+               (base32
+                "057qzi46h5dmxdqknsbrssn78lmqjlnm624iqdhrnpk26zcbi1d7"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (home-page "https://github.com/kennethreitz/args")
+    (synopsis "CLI argument interface")
+    (description
+     "This module provides the CLI argument interface for clint.")
+    (license bsd-3)))
+
+(define-public python2-args
+  (package-with-python2 python-args))
-- 
2.5.0

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

* [PATCH 2/5] gnu: Add python-clint.
  2016-01-13  1:27 [PATCH 1/5] gnu: Add python-args 宋文武
@ 2016-01-13  1:27 ` 宋文武
  2016-01-15 15:07   ` Ludovic Courtès
  2016-01-13  1:27 ` [PATCH 3/5] gnu: Add python-astor 宋文武
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: 宋文武 @ 2016-01-13  1:27 UTC (permalink / raw)
  To: guix-devel; +Cc: 宋文武

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0886809..e54f521 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6642,3 +6642,27 @@ the standard library.")
 
 (define-public python2-args
   (package-with-python2 python-args))
+
+(define-public python-clint
+  (package
+    (name "python-clint")
+    (version "0.5.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "clint" version))
+              (sha256
+               (base32
+                "1an5lkkqk1zha47198p42ji3m94xmzx1a03dn7866m87n4r4q8h5"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-args" ,python-args)
+       ("python-setuptools" ,python-setuptools)))
+    (home-page "https://github.com/kennethreitz/clint")
+    (synopsis "Command line interface tools")
+    (description
+     "Clint is a Python module filled with a set of tools for developing
+commandline applications.")
+    (license isc)))
+
+(define-public python2-clint
+  (package-with-python2 python-clint))
-- 
2.5.0

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

* [PATCH 3/5] gnu: Add python-astor.
  2016-01-13  1:27 [PATCH 1/5] gnu: Add python-args 宋文武
  2016-01-13  1:27 ` [PATCH 2/5] gnu: Add python-clint 宋文武
@ 2016-01-13  1:27 ` 宋文武
  2016-01-15 15:08   ` Ludovic Courtès
  2016-01-13  1:27 ` [PATCH 4/5] gnu: Add python-rply 宋文武
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: 宋文武 @ 2016-01-13  1:27 UTC (permalink / raw)
  To: guix-devel; +Cc: 宋文武

* gnu/packages/python.scm (python-astor, python2-astor): New variables.
---
 gnu/packages/python.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e54f521..95e9a09 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6666,3 +6666,26 @@ commandline applications.")
 
 (define-public python2-clint
   (package-with-python2 python-clint))
+
+(define-public python-astor
+  (package
+    (name "python-astor")
+    (version "0.5")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "astor" version))
+              (sha256
+               (base32
+                "1fdafq5hkis1fxqlmhw0sn44zp2ar46nxhbc22cvwg7hsd8z5gsa"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (home-page "https://github.com/berkerpeksag/astor")
+    (synopsis "Read and write Python ASTs")
+    (description
+     "Astor is designed to allow easy manipulation of Python source via the
+Abstract Syntax Tree.")
+    (license bsd-3)))
+
+(define-public python2-astor
+  (package-with-python2 python-astor))
-- 
2.5.0

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

* [PATCH 4/5] gnu: Add python-rply.
  2016-01-13  1:27 [PATCH 1/5] gnu: Add python-args 宋文武
  2016-01-13  1:27 ` [PATCH 2/5] gnu: Add python-clint 宋文武
  2016-01-13  1:27 ` [PATCH 3/5] gnu: Add python-astor 宋文武
@ 2016-01-13  1:27 ` 宋文武
  2016-01-15 16:11   ` Ludovic Courtès
  2016-01-13  1:27 ` [PATCH 5/5] gnu: Add python-hy 宋文武
  2016-01-15 15:04 ` [PATCH 1/5] gnu: Add python-args Ludovic Courtès
  4 siblings, 1 reply; 11+ messages in thread
From: 宋文武 @ 2016-01-13  1:27 UTC (permalink / raw)
  To: guix-devel; +Cc: 宋文武

* gnu/packages/python.scm (python-rply): New variables.
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 95e9a09..d4cc8d3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6689,3 +6689,29 @@ Abstract Syntax Tree.")
 
 (define-public python2-astor
   (package-with-python2 python-astor))
+
+(define-public python-rply
+  (package
+    (name "python-rply")
+    (version "0.7.4")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "rply" version))
+              (sha256
+               (base32
+                "12rp1d9ba7nvd5rhaxi6xzx1rm67r1k1ylsrkzhpwnphqpb06cvj"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-appdirs" ,python-appdirs)
+       ("python-setuptools" ,python-setuptools)))
+    (home-page "")
+    (synopsis
+     "Pure Python based parser that also works with RPython")
+    (description
+     "This package provides a pure Python based parser generator, that also
+works with RPython.  It is a more-or-less direct port of David Bazzley's PLY,
+with a new public API, and RPython support.")
+    (license bsd-3)))
+
+(define-public python2-rply
+  (package-with-python2 python-rply))
-- 
2.5.0

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

* [PATCH 5/5] gnu: Add python-hy.
  2016-01-13  1:27 [PATCH 1/5] gnu: Add python-args 宋文武
                   ` (2 preceding siblings ...)
  2016-01-13  1:27 ` [PATCH 4/5] gnu: Add python-rply 宋文武
@ 2016-01-13  1:27 ` 宋文武
  2016-01-15 16:12   ` Ludovic Courtès
  2016-01-15 15:04 ` [PATCH 1/5] gnu: Add python-args Ludovic Courtès
  4 siblings, 1 reply; 11+ messages in thread
From: 宋文武 @ 2016-01-13  1:27 UTC (permalink / raw)
  To: guix-devel; +Cc: 宋文武

* gnu/packages/python.scm (python-hy, python2-hy): New variables.
---
 gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d4cc8d3..139c02e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6715,3 +6715,31 @@ with a new public API, and RPython support.")
 
 (define-public python2-rply
   (package-with-python2 python-rply))
+
+(define-public python-hy
+  (package
+    (name "python-hy")
+    (version "0.11.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "hy" version))
+              (sha256
+               (base32
+                "1msqv747iz12r73mz4qvsmlwkddwjvrahlrk7ysrcz07h7dsscxs"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-astor" ,python-astor)
+       ("python-clint" ,python-clint)
+       ("python-rply" ,python-rply)
+       ("python-setuptools" ,python-setuptools)))
+    (home-page "http://hylang.org/")
+    (synopsis "Lisp frontend to Python")
+    (description
+     "Hy is a dialect of Lisp that's embedded in Python.
+
+Since Hy transforms its Lisp code into the Python Abstract Syntax Tree, you
+have the whole world of Python at your fingertips, in Lisp form.")
+    (license license:expat)))
+
+(define-public python2-hy
+  (package-with-python2 python-hy))
-- 
2.5.0

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

* Re: [PATCH 1/5] gnu: Add python-args.
  2016-01-13  1:27 [PATCH 1/5] gnu: Add python-args 宋文武
                   ` (3 preceding siblings ...)
  2016-01-13  1:27 ` [PATCH 5/5] gnu: Add python-hy 宋文武
@ 2016-01-15 15:04 ` Ludovic Courtès
  4 siblings, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2016-01-15 15:04 UTC (permalink / raw)
  To: 宋文武; +Cc: guix-devel

宋文武 <iyzsong@gmail.com> skribis:

> * gnu/packages.scm (python-args, python2-args): New variables.

[...]

> +    (home-page "https://github.com/kennethreitz/args")
> +    (synopsis "CLI argument interface")

What about “Command-line argument parser”?

> +    (description
> +     "This module provides the CLI argument interface for clint.")

This seems wrong, no?  Maybe: “This package provides a Python library to
parse command-line arguments.”

OK with these changes.

Thanks,
Ludo’.

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

* Re: [PATCH 2/5] gnu: Add python-clint.
  2016-01-13  1:27 ` [PATCH 2/5] gnu: Add python-clint 宋文武
@ 2016-01-15 15:07   ` Ludovic Courtès
  0 siblings, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2016-01-15 15:07 UTC (permalink / raw)
  To: 宋文武; +Cc: guix-devel

宋文武 <iyzsong@gmail.com> skribis:

> * gnu/packages/python.scm (python-clint, python2-clint): New variables.

[...]

> +    (home-page "https://github.com/kennethreitz/clint")
> +    (synopsis "Command line interface tools")
> +    (description
> +     "Clint is a Python module filled with a set of tools for developing
> +commandline applications.")

s/commandline/command-line/

s/applications./applications, including tools for colored and indented
output, progress bar display, and pipes./

OK with this change.

Ludo’.

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

* Re: [PATCH 3/5] gnu: Add python-astor.
  2016-01-13  1:27 ` [PATCH 3/5] gnu: Add python-astor 宋文武
@ 2016-01-15 15:08   ` Ludovic Courtès
  0 siblings, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2016-01-15 15:08 UTC (permalink / raw)
  To: 宋文武; +Cc: guix-devel

宋文武 <iyzsong@gmail.com> skribis:

> * gnu/packages/python.scm (python-astor, python2-astor): New variables.

OK!

Ludo'.

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

* Re: [PATCH 4/5] gnu: Add python-rply.
  2016-01-13  1:27 ` [PATCH 4/5] gnu: Add python-rply 宋文武
@ 2016-01-15 16:11   ` Ludovic Courtès
  0 siblings, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2016-01-15 16:11 UTC (permalink / raw)
  To: 宋文武; +Cc: guix-devel

宋文武 <iyzsong@gmail.com> skribis:

> * gnu/packages/python.scm (python-rply): New variables.

[...]

> +    (home-page "")

Wrong!  :-)

> +    (synopsis
> +     "Pure Python based parser that also works with RPython")

“Parser generator for Python”?

Otherwise LGTM.

Ludo’.

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

* Re: [PATCH 5/5] gnu: Add python-hy.
  2016-01-13  1:27 ` [PATCH 5/5] gnu: Add python-hy 宋文武
@ 2016-01-15 16:12   ` Ludovic Courtès
  2016-01-16  0:20     ` 宋文武
  0 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2016-01-15 16:12 UTC (permalink / raw)
  To: 宋文武; +Cc: guix-devel

宋文武 <iyzsong@gmail.com> skribis:

> * gnu/packages/python.scm (python-hy, python2-hy): New variables.

[...]

> +    (home-page "http://hylang.org/")
> +    (synopsis "Lisp frontend to Python")
> +    (description
> +     "Hy is a dialect of Lisp that's embedded in Python.
> +
> +Since Hy transforms its Lisp code into the Python Abstract Syntax Tree, you
> +have the whole world of Python at your fingertips, in Lisp form.")

I would remove the newline.

Otherwise LGTM, thanks!

Ludo’.

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

* Re: [PATCH 5/5] gnu: Add python-hy.
  2016-01-15 16:12   ` Ludovic Courtès
@ 2016-01-16  0:20     ` 宋文武
  0 siblings, 0 replies; 11+ messages in thread
From: 宋文武 @ 2016-01-16  0:20 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

ludo@gnu.org (Ludovic Courtès) writes:

> 宋文武 <iyzsong@gmail.com> skribis:
>
>> * gnu/packages/python.scm (python-hy, python2-hy): New variables.
>
> [...]
>
>> +    (home-page "http://hylang.org/")
>> +    (synopsis "Lisp frontend to Python")
>> +    (description
>> +     "Hy is a dialect of Lisp that's embedded in Python.
>> +
>> +Since Hy transforms its Lisp code into the Python Abstract Syntax Tree, you
>> +have the whole world of Python at your fingertips, in Lisp form.")
>
> I would remove the newline.
>
> Otherwise LGTM, thanks!
Pushed, thanks for the review!

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

end of thread, other threads:[~2016-01-16  0:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-13  1:27 [PATCH 1/5] gnu: Add python-args 宋文武
2016-01-13  1:27 ` [PATCH 2/5] gnu: Add python-clint 宋文武
2016-01-15 15:07   ` Ludovic Courtès
2016-01-13  1:27 ` [PATCH 3/5] gnu: Add python-astor 宋文武
2016-01-15 15:08   ` Ludovic Courtès
2016-01-13  1:27 ` [PATCH 4/5] gnu: Add python-rply 宋文武
2016-01-15 16:11   ` Ludovic Courtès
2016-01-13  1:27 ` [PATCH 5/5] gnu: Add python-hy 宋文武
2016-01-15 16:12   ` Ludovic Courtès
2016-01-16  0:20     ` 宋文武
2016-01-15 15:04 ` [PATCH 1/5] gnu: Add python-args Ludovic Courtès

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