unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 9/18] gnu: Add python-pastedeploy.
@ 2016-02-15 23:31 Christopher Allan Webber
  2016-02-16  1:54 ` Leo Famulari
  2016-02-16  1:56 ` Leo Famulari
  0 siblings, 2 replies; 8+ messages in thread
From: Christopher Allan Webber @ 2016-02-15 23:31 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0009-gnu-Add-python-pastedeploy.patch --]
[-- Type: text/x-patch, Size: 1790 bytes --]

From 8aeb48d26f2391de674723d63d0722f3112245d0 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Sat, 13 Feb 2016 21:13:14 -0800
Subject: [PATCH 09/18] gnu: Add python-pastedeploy

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e1d20f5..5557bfb 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7746,3 +7746,32 @@ and to spawn subprocesses to handle requests.")
       (inherit wsgiproxy2)
       (inputs `(("python2-setuptools" ,python2-setuptools)
                 ,@(package-inputs wsgiproxy2))))))
+
+(define-public python-pastedeploy
+  (package
+    (name "python-pastedeploy")
+    (version "1.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "PasteDeploy" version))
+       (sha256
+        (base32
+         "1jz3m4hq8v6hyhfjz9425nd3nvn52cvbfipdcd72krjmla4qz1fm"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (propagated-inputs
+     `(("python2-setuptools" ,python-setuptools))) ; uses pkg_resources
+    (home-page "http://pythonpaste.org/deploy/")
+    (synopsis
+     "Load, configure, and compose WSGI applications and servers")
+    (description
+     "This tool provides code to load WSGI applications and servers from URIs;
+these URIs can refer to Python Eggs for INI-style configuration files.  Paste
+Script provides commands to serve applications based on this configuration
+file.")
+    (license license:expat)))
+
+(define-public python2-pastedeploy
+  (package-with-python2 python-pastedeploy))
-- 
2.6.3

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

* Re: [PATCH 9/18] gnu: Add python-pastedeploy.
  2016-02-15 23:31 [PATCH 9/18] gnu: Add python-pastedeploy Christopher Allan Webber
@ 2016-02-16  1:54 ` Leo Famulari
  2016-02-20  0:23   ` Christopher Allan Webber
  2016-02-16  1:56 ` Leo Famulari
  1 sibling, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2016-02-16  1:54 UTC (permalink / raw)
  To: Christopher Allan Webber; +Cc: guix-devel

On Mon, Feb 15, 2016 at 03:31:00PM -0800, Christopher Allan Webber wrote:
> From 8aeb48d26f2391de674723d63d0722f3112245d0 Mon Sep 17 00:00:00 2001
> From: Christopher Allan Webber <cwebber@dustycloud.org>
> Date: Sat, 13 Feb 2016 21:13:14 -0800
> Subject: [PATCH 09/18] gnu: Add python-pastedeploy
> 
> * gnu/packages/python.scm (python-pastedeploy, python2-pastedeploy):
>   New variables.
> ---
>  gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
> 
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index e1d20f5..5557bfb 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -7746,3 +7746,32 @@ and to spawn subprocesses to handle requests.")
>        (inherit wsgiproxy2)
>        (inputs `(("python2-setuptools" ,python2-setuptools)
>                  ,@(package-inputs wsgiproxy2))))))
> +
> +(define-public python-pastedeploy
> +  (package
> +    (name "python-pastedeploy")
> +    (version "1.5.2")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "PasteDeploy" version))
> +       (sha256
> +        (base32
> +         "1jz3m4hq8v6hyhfjz9425nd3nvn52cvbfipdcd72krjmla4qz1fm"))))
> +    (build-system python-build-system)
> +    (native-inputs
> +     `(("python-nose" ,python-nose)))
> +    (propagated-inputs
> +     `(("python2-setuptools" ,python-setuptools))) ; uses pkg_resources

Is setuptools needed at run-time? If not, it should be a native-input.

> +    (home-page "http://pythonpaste.org/deploy/")
> +    (synopsis
> +     "Load, configure, and compose WSGI applications and servers")
> +    (description
> +     "This tool provides code to load WSGI applications and servers from URIs;
> +these URIs can refer to Python Eggs for INI-style configuration files.  Paste
> +Script provides commands to serve applications based on this configuration
> +file.")
> +    (license license:expat)))
> +
> +(define-public python2-pastedeploy
> +  (package-with-python2 python-pastedeploy))
> -- 
> 2.6.3
> 
> 

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

* Re: [PATCH 9/18] gnu: Add python-pastedeploy.
  2016-02-15 23:31 [PATCH 9/18] gnu: Add python-pastedeploy Christopher Allan Webber
  2016-02-16  1:54 ` Leo Famulari
@ 2016-02-16  1:56 ` Leo Famulari
  2016-02-20  0:24   ` Christopher Allan Webber
  1 sibling, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2016-02-16  1:56 UTC (permalink / raw)
  To: Christopher Allan Webber; +Cc: guix-devel

On Mon, Feb 15, 2016 at 03:31:00PM -0800, Christopher Allan Webber wrote:
> From 8aeb48d26f2391de674723d63d0722f3112245d0 Mon Sep 17 00:00:00 2001
> From: Christopher Allan Webber <cwebber@dustycloud.org>
> Date: Sat, 13 Feb 2016 21:13:14 -0800
> Subject: [PATCH 09/18] gnu: Add python-pastedeploy
> 
> * gnu/packages/python.scm (python-pastedeploy, python2-pastedeploy):
>   New variables.
> ---
>  gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
> 
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index e1d20f5..5557bfb 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -7746,3 +7746,32 @@ and to spawn subprocesses to handle requests.")
>        (inherit wsgiproxy2)
>        (inputs `(("python2-setuptools" ,python2-setuptools)
>                  ,@(package-inputs wsgiproxy2))))))
> +
> +(define-public python-pastedeploy
> +  (package
> +    (name "python-pastedeploy")
> +    (version "1.5.2")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "PasteDeploy" version))
> +       (sha256
> +        (base32
> +         "1jz3m4hq8v6hyhfjz9425nd3nvn52cvbfipdcd72krjmla4qz1fm"))))
> +    (build-system python-build-system)
> +    (native-inputs
> +     `(("python-nose" ,python-nose)))
> +    (propagated-inputs
> +     `(("python2-setuptools" ,python-setuptools))) ; uses pkg_resources

I forgot to mention, shouldn't it be python-setuptools?

> +    (home-page "http://pythonpaste.org/deploy/")
> +    (synopsis
> +     "Load, configure, and compose WSGI applications and servers")
> +    (description
> +     "This tool provides code to load WSGI applications and servers from URIs;
> +these URIs can refer to Python Eggs for INI-style configuration files.  Paste
> +Script provides commands to serve applications based on this configuration
> +file.")
> +    (license license:expat)))
> +
> +(define-public python2-pastedeploy
> +  (package-with-python2 python-pastedeploy))
> -- 
> 2.6.3
> 
> 

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

* Re: [PATCH 9/18] gnu: Add python-pastedeploy.
  2016-02-16  1:54 ` Leo Famulari
@ 2016-02-20  0:23   ` Christopher Allan Webber
  2016-02-20  2:23     ` Leo Famulari
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Allan Webber @ 2016-02-20  0:23 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

Leo Famulari writes:

> On Mon, Feb 15, 2016 at 03:31:00PM -0800, Christopher Allan Webber wrote:
>> From 8aeb48d26f2391de674723d63d0722f3112245d0 Mon Sep 17 00:00:00 2001
>> From: Christopher Allan Webber <cwebber@dustycloud.org>
>> Date: Sat, 13 Feb 2016 21:13:14 -0800
>> Subject: [PATCH 09/18] gnu: Add python-pastedeploy
>> 
>> * gnu/packages/python.scm (python-pastedeploy, python2-pastedeploy):
>>   New variables.
>> ---
>>  gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
>>  1 file changed, 29 insertions(+)
>> 
>> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
>> index e1d20f5..5557bfb 100644
>> --- a/gnu/packages/python.scm
>> +++ b/gnu/packages/python.scm
>> @@ -7746,3 +7746,32 @@ and to spawn subprocesses to handle requests.")
>>        (inherit wsgiproxy2)
>>        (inputs `(("python2-setuptools" ,python2-setuptools)
>>                  ,@(package-inputs wsgiproxy2))))))
>> +
>> +(define-public python-pastedeploy
>> +  (package
>> +    (name "python-pastedeploy")
>> +    (version "1.5.2")
>> +    (source
>> +     (origin
>> +       (method url-fetch)
>> +       (uri (pypi-uri "PasteDeploy" version))
>> +       (sha256
>> +        (base32
>> +         "1jz3m4hq8v6hyhfjz9425nd3nvn52cvbfipdcd72krjmla4qz1fm"))))
>> +    (build-system python-build-system)
>> +    (native-inputs
>> +     `(("python-nose" ,python-nose)))
>> +    (propagated-inputs
>> +     `(("python2-setuptools" ,python-setuptools))) ; uses pkg_resources
>
> Is setuptools needed at run-time? If not, it should be a native-input.

It is, which is why I left the comment.  It uses pkg_resources as part
of its actual code, which is provided by setuptools.

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

* Re: [PATCH 9/18] gnu: Add python-pastedeploy.
  2016-02-16  1:56 ` Leo Famulari
@ 2016-02-20  0:24   ` Christopher Allan Webber
  2016-02-20  2:33     ` Christopher Allan Webber
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Allan Webber @ 2016-02-20  0:24 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

Leo Famulari writes:

> On Mon, Feb 15, 2016 at 03:31:00PM -0800, Christopher Allan Webber wrote:
>> From 8aeb48d26f2391de674723d63d0722f3112245d0 Mon Sep 17 00:00:00 2001
>> From: Christopher Allan Webber <cwebber@dustycloud.org>
>> Date: Sat, 13 Feb 2016 21:13:14 -0800
>> Subject: [PATCH 09/18] gnu: Add python-pastedeploy
>> 
>> * gnu/packages/python.scm (python-pastedeploy, python2-pastedeploy):
>>   New variables.
>> ---
>>  gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
>>  1 file changed, 29 insertions(+)
>> 
>> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
>> index e1d20f5..5557bfb 100644
>> --- a/gnu/packages/python.scm
>> +++ b/gnu/packages/python.scm
>> @@ -7746,3 +7746,32 @@ and to spawn subprocesses to handle requests.")
>>        (inherit wsgiproxy2)
>>        (inputs `(("python2-setuptools" ,python2-setuptools)
>>                  ,@(package-inputs wsgiproxy2))))))
>> +
>> +(define-public python-pastedeploy
>> +  (package
>> +    (name "python-pastedeploy")
>> +    (version "1.5.2")
>> +    (source
>> +     (origin
>> +       (method url-fetch)
>> +       (uri (pypi-uri "PasteDeploy" version))
>> +       (sha256
>> +        (base32
>> +         "1jz3m4hq8v6hyhfjz9425nd3nvn52cvbfipdcd72krjmla4qz1fm"))))
>> +    (build-system python-build-system)
>> +    (native-inputs
>> +     `(("python-nose" ,python-nose)))
>> +    (propagated-inputs
>> +     `(("python2-setuptools" ,python-setuptools))) ; uses pkg_resources
>
> I forgot to mention, shouldn't it be python-setuptools?

Yep, my bad

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

* Re: [PATCH 9/18] gnu: Add python-pastedeploy.
  2016-02-20  0:23   ` Christopher Allan Webber
@ 2016-02-20  2:23     ` Leo Famulari
  2016-02-20  2:44       ` Christopher Allan Webber
  0 siblings, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2016-02-20  2:23 UTC (permalink / raw)
  To: Christopher Allan Webber; +Cc: guix-devel

On Fri, Feb 19, 2016 at 04:23:41PM -0800, Christopher Allan Webber wrote:
> Leo Famulari writes:
> 
> > On Mon, Feb 15, 2016 at 03:31:00PM -0800, Christopher Allan Webber wrote:
> >> From 8aeb48d26f2391de674723d63d0722f3112245d0 Mon Sep 17 00:00:00 2001
> >> From: Christopher Allan Webber <cwebber@dustycloud.org>
> >> Date: Sat, 13 Feb 2016 21:13:14 -0800
> >> Subject: [PATCH 09/18] gnu: Add python-pastedeploy
> >> 
> >> * gnu/packages/python.scm (python-pastedeploy, python2-pastedeploy):
> >>   New variables.
> >> ---
> >>  gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
> >>  1 file changed, 29 insertions(+)
> >> 
> >> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> >> index e1d20f5..5557bfb 100644
> >> --- a/gnu/packages/python.scm
> >> +++ b/gnu/packages/python.scm
> >> @@ -7746,3 +7746,32 @@ and to spawn subprocesses to handle requests.")
> >>        (inherit wsgiproxy2)
> >>        (inputs `(("python2-setuptools" ,python2-setuptools)
> >>                  ,@(package-inputs wsgiproxy2))))))
> >> +
> >> +(define-public python-pastedeploy
> >> +  (package
> >> +    (name "python-pastedeploy")
> >> +    (version "1.5.2")
> >> +    (source
> >> +     (origin
> >> +       (method url-fetch)
> >> +       (uri (pypi-uri "PasteDeploy" version))
> >> +       (sha256
> >> +        (base32
> >> +         "1jz3m4hq8v6hyhfjz9425nd3nvn52cvbfipdcd72krjmla4qz1fm"))))
> >> +    (build-system python-build-system)
> >> +    (native-inputs
> >> +     `(("python-nose" ,python-nose)))
> >> +    (propagated-inputs
> >> +     `(("python2-setuptools" ,python-setuptools))) ; uses pkg_resources
> >
> > Is setuptools needed at run-time? If not, it should be a native-input.
> 
> It is, which is why I left the comment.  It uses pkg_resources as part
> of its actual code, which is provided by setuptools.

Can you replace the comment with the last sentence of your email?

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

* Re: [PATCH 9/18] gnu: Add python-pastedeploy.
  2016-02-20  0:24   ` Christopher Allan Webber
@ 2016-02-20  2:33     ` Christopher Allan Webber
  0 siblings, 0 replies; 8+ messages in thread
From: Christopher Allan Webber @ 2016-02-20  2:33 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

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

Updated.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0008-gnu-Add-python-pastedeploy.patch --]
[-- Type: text/x-diff, Size: 1791 bytes --]

From 5889180dd65e172c63b77095bf52377a12cca86f Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Sat, 13 Feb 2016 21:13:14 -0800
Subject: [PATCH 08/18] gnu: Add python-pastedeploy.

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9baaa0a..c787246 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7746,3 +7746,32 @@ and to spawn subprocesses to handle requests.")
       (inherit wsgiproxy2)
       (inputs `(("python2-setuptools" ,python2-setuptools)
                 ,@(package-inputs wsgiproxy2))))))
+
+(define-public python-pastedeploy
+  (package
+    (name "python-pastedeploy")
+    (version "1.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "PasteDeploy" version))
+       (sha256
+        (base32
+         "1jz3m4hq8v6hyhfjz9425nd3nvn52cvbfipdcd72krjmla4qz1fm"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (propagated-inputs
+     `(("python-setuptools" ,python-setuptools))) ; uses pkg_resources
+    (home-page "http://pythonpaste.org/deploy/")
+    (synopsis
+     "Load, configure, and compose WSGI applications and servers")
+    (description
+     "This tool provides code to load WSGI applications and servers from URIs;
+these URIs can refer to Python Eggs for INI-style configuration files.  Paste
+Script provides commands to serve applications based on this configuration
+file.")
+    (license license:expat)))
+
+(define-public python2-pastedeploy
+  (package-with-python2 python-pastedeploy))
-- 
2.6.3


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

* Re: [PATCH 9/18] gnu: Add python-pastedeploy.
  2016-02-20  2:23     ` Leo Famulari
@ 2016-02-20  2:44       ` Christopher Allan Webber
  0 siblings, 0 replies; 8+ messages in thread
From: Christopher Allan Webber @ 2016-02-20  2:44 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

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

Leo Famulari writes:

>> >> +(define-public python-pastedeploy
>> >> +  (package
>> >> +    (name "python-pastedeploy")
>> >> +    (version "1.5.2")
>> >> +    (source
>> >> +     (origin
>> >> +       (method url-fetch)
>> >> +       (uri (pypi-uri "PasteDeploy" version))
>> >> +       (sha256
>> >> +        (base32
>> >> +         "1jz3m4hq8v6hyhfjz9425nd3nvn52cvbfipdcd72krjmla4qz1fm"))))
>> >> +    (build-system python-build-system)
>> >> +    (native-inputs
>> >> +     `(("python-nose" ,python-nose)))
>> >> +    (propagated-inputs
>> >> +     `(("python2-setuptools" ,python-setuptools))) ; uses pkg_resources
>> >
>> > Is setuptools needed at run-time? If not, it should be a native-input.
>> 
>> It is, which is why I left the comment.  It uses pkg_resources as part
>> of its actual code, which is provided by setuptools.
>
> Can you replace the comment with the last sentence of your email?

Done.  New version attached.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0008-gnu-Add-python-pastedeploy.patch --]
[-- Type: text/x-diff, Size: 1889 bytes --]

From 6b59f7e4f1816eb8af4d042adfb9026c78fc5f6d Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Sat, 13 Feb 2016 21:13:14 -0800
Subject: [PATCH 08/18] gnu: Add python-pastedeploy.

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9baaa0a..2ed4477 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7746,3 +7746,34 @@ and to spawn subprocesses to handle requests.")
       (inherit wsgiproxy2)
       (inputs `(("python2-setuptools" ,python2-setuptools)
                 ,@(package-inputs wsgiproxy2))))))
+
+(define-public python-pastedeploy
+  (package
+    (name "python-pastedeploy")
+    (version "1.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "PasteDeploy" version))
+       (sha256
+        (base32
+         "1jz3m4hq8v6hyhfjz9425nd3nvn52cvbfipdcd72krjmla4qz1fm"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (propagated-inputs
+     ;; This package uses pkg_resources, part of setuptools, during runtime,
+     ;; hence why not a native-input.
+     `(("python-setuptools" ,python-setuptools)))
+    (home-page "http://pythonpaste.org/deploy/")
+    (synopsis
+     "Load, configure, and compose WSGI applications and servers")
+    (description
+     "This tool provides code to load WSGI applications and servers from URIs;
+these URIs can refer to Python Eggs for INI-style configuration files.  Paste
+Script provides commands to serve applications based on this configuration
+file.")
+    (license license:expat)))
+
+(define-public python2-pastedeploy
+  (package-with-python2 python-pastedeploy))
-- 
2.6.3


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

end of thread, other threads:[~2016-02-20  2:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-15 23:31 [PATCH 9/18] gnu: Add python-pastedeploy Christopher Allan Webber
2016-02-16  1:54 ` Leo Famulari
2016-02-20  0:23   ` Christopher Allan Webber
2016-02-20  2:23     ` Leo Famulari
2016-02-20  2:44       ` Christopher Allan Webber
2016-02-16  1:56 ` Leo Famulari
2016-02-20  0:24   ` Christopher Allan Webber
2016-02-20  2:33     ` Christopher Allan Webber

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