unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#28887] [PATCH 0/1] gnu: Add python-hy.
@ 2017-10-18  7:02 Oleg Pykhalov
  2017-10-18  7:04 ` [bug#28887] [PATCH 1/1] " Oleg Pykhalov
  2017-10-18 23:34 ` [bug#28887] [PATCH 0/1] " Ricardo Wurmus
  0 siblings, 2 replies; 5+ messages in thread
From: Oleg Pykhalov @ 2017-10-18  7:02 UTC (permalink / raw)
  To: 28887

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

From cbf5108f155a5160d8947deefbd4bd4eb74e9357 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust@gmail.com>
Date: Wed, 18 Oct 2017 09:58:53 +0300
Subject: [PATCH 0/1] gnu: Add python-hy.

Hello Guix,

Here is a Lisp implementation for Python.


I'm not sure about license field.

./LICENSE

    Copyright 2017 the authors.

    Permission is hereby granted, free of charge, to any person
    obtaining a copy of this software and associated documentation files
    (the "Software"), to deal in the Software without restriction,
    including without limitation the rights to use, copy, modify, merge,
    publish, distribute, sublicense, and/or sell copies of the Software,
    and to permit persons to whom the Software is furnished to do so,
    subject to the following conditions:

    The above copyright notice and this permission notice shall be
    included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
    BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
    ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.

Oleg Pykhalov (1):
  gnu: Add python-hy.

 gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

-- 
2.14.2

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

* [bug#28887] [PATCH 1/1] gnu: Add python-hy.
  2017-10-18  7:02 [bug#28887] [PATCH 0/1] gnu: Add python-hy Oleg Pykhalov
@ 2017-10-18  7:04 ` Oleg Pykhalov
  2017-10-18 23:36   ` bug#28887: " Ricardo Wurmus
  2017-10-19 15:14   ` [bug#28887] " 宋文武
  2017-10-18 23:34 ` [bug#28887] [PATCH 0/1] " Ricardo Wurmus
  1 sibling, 2 replies; 5+ messages in thread
From: Oleg Pykhalov @ 2017-10-18  7:04 UTC (permalink / raw)
  To: bug#28887

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

From cbf5108f155a5160d8947deefbd4bd4eb74e9357 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust@gmail.com>
Date: Wed, 18 Oct 2017 09:55:41 +0300
Subject: [PATCH 1/1] gnu: Add python-hy.

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 46df5eaca..7995a30d0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -16723,3 +16723,33 @@ interpreter when it prints a stack trace.")
 
 (define-public python2-traceback2
   (package-with-python2 python-traceback2))
+
+(define-public python-hy
+  (package
+    (name "python-hy")
+    (version "0.13.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "hy" version))
+       (sha256
+        (base32
+         "19sfymaksx9jhksfnb15ahid46mzrhdfzz6yy2craz2qnzvpmky8"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-clint" ,python-clint)
+       ("python-astor" ,python-astor)
+       ("python-rply" ,python-rply)))
+    (arguments
+     `(#:tests? #f ; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'set-home
+           (lambda _ (setenv "HOME" (assoc-ref %outputs "out")) #t)))))
+    (home-page "https://github.com/hylang/hy")
+    (synopsis "Dialect of Lisp embedded in Python")
+    (description "@code{hy} provides a dialect of Lisp embedded in Python.")
+    (license license:bsd-3)))
+
+(define-public python2-hy
+  (package-with-python2 python-hy))
-- 
2.14.2

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

* [bug#28887] [PATCH 0/1] gnu: Add python-hy.
  2017-10-18  7:02 [bug#28887] [PATCH 0/1] gnu: Add python-hy Oleg Pykhalov
  2017-10-18  7:04 ` [bug#28887] [PATCH 1/1] " Oleg Pykhalov
@ 2017-10-18 23:34 ` Ricardo Wurmus
  1 sibling, 0 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2017-10-18 23:34 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 28887


Hi Oleg,

> I'm not sure about license field.
>
> ./LICENSE
>
>     Copyright 2017 the authors.
>
>     Permission is hereby granted, free of charge, to any person
>     obtaining a copy of this software and associated documentation files
>     (the "Software"), to deal in the Software without restriction,
>     including without limitation the rights to use, copy, modify, merge,
>     publish, distribute, sublicense, and/or sell copies of the Software,
>     and to permit persons to whom the Software is furnished to do so,
>     subject to the following conditions:
>
>     The above copyright notice and this permission notice shall be
>     included in all copies or substantial portions of the Software.
>
>     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
>     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
>     MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
>     NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
>     BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
>     ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
>     CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
>     SOFTWARE.

This is the Expat license.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

* bug#28887: [PATCH 1/1] gnu: Add python-hy.
  2017-10-18  7:04 ` [bug#28887] [PATCH 1/1] " Oleg Pykhalov
@ 2017-10-18 23:36   ` Ricardo Wurmus
  2017-10-19 15:14   ` [bug#28887] " 宋文武
  1 sibling, 0 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2017-10-18 23:36 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: bug#28887


Oleg Pykhalov <go.wigust@gmail.com> writes:

>>From cbf5108f155a5160d8947deefbd4bd4eb74e9357 Mon Sep 17 00:00:00 2001
> From: Oleg Pykhalov <go.wigust@gmail.com>
> Date: Wed, 18 Oct 2017 09:55:41 +0300
> Subject: [PATCH 1/1] gnu: Add python-hy.
>
> * gnu/packages/python.scm (python-hy): New variable.

Looks like we already have python-hy and python2-hy, albeit at an older
version.  I’ll update the existing packages.

Thank you anyway!

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

* [bug#28887] [PATCH 1/1] gnu: Add python-hy.
  2017-10-18  7:04 ` [bug#28887] [PATCH 1/1] " Oleg Pykhalov
  2017-10-18 23:36   ` bug#28887: " Ricardo Wurmus
@ 2017-10-19 15:14   ` 宋文武
  1 sibling, 0 replies; 5+ messages in thread
From: 宋文武 @ 2017-10-19 15:14 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: bug#28887

Oleg Pykhalov <go.wigust@gmail.com> writes:

>>From cbf5108f155a5160d8947deefbd4bd4eb74e9357 Mon Sep 17 00:00:00 2001
> From: Oleg Pykhalov <go.wigust@gmail.com>
> Date: Wed, 18 Oct 2017 09:55:41 +0300
> Subject: [PATCH 1/1] gnu: Add python-hy.
>
> * gnu/packages/python.scm (python-hy): New variable.
> ---
>  gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>

Hi, we alreally have 'python-hy' with version '0.11.1'.

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

end of thread, other threads:[~2017-10-19 15:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-18  7:02 [bug#28887] [PATCH 0/1] gnu: Add python-hy Oleg Pykhalov
2017-10-18  7:04 ` [bug#28887] [PATCH 1/1] " Oleg Pykhalov
2017-10-18 23:36   ` bug#28887: " Ricardo Wurmus
2017-10-19 15:14   ` [bug#28887] " 宋文武
2017-10-18 23:34 ` [bug#28887] [PATCH 0/1] " Ricardo Wurmus

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