summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-05-18 03:32:16 +0000
committerrodent <rodent@pkgsrc.org>2014-05-18 03:32:16 +0000
commitbb067ff3b49622ea4b57b0d7a093db789009c80a (patch)
treea8253dc1b6da257e013246c6902ad69a547e05a7
parentf5efeb672bb5c8615bd80b10588d4ea24cd729a5 (diff)
downloadpkgsrc-bb067ff3b49622ea4b57b0d7a093db789009c80a.tar.gz
Import py27-hy-0.10.0 as lang/py-hy.
Hy is a Python <--> Lisp layer. It helps make things work nicer, and lets Python and the Hy lisp variant play nice together.
-rw-r--r--lang/py-hy/ALTERNATIVES2
-rw-r--r--lang/py-hy/DESCR2
-rw-r--r--lang/py-hy/Makefile28
-rw-r--r--lang/py-hy/PLIST106
-rw-r--r--lang/py-hy/distinfo5
5 files changed, 143 insertions, 0 deletions
diff --git a/lang/py-hy/ALTERNATIVES b/lang/py-hy/ALTERNATIVES
new file mode 100644
index 00000000000..6898404b35d
--- /dev/null
+++ b/lang/py-hy/ALTERNATIVES
@@ -0,0 +1,2 @@
+bin/hy @PREFIX@/bin/hy@PYVERSSUFFIX@
+bin/hyc @PREFIX@/bin/hyc@PYVERSSUFFIX@
diff --git a/lang/py-hy/DESCR b/lang/py-hy/DESCR
new file mode 100644
index 00000000000..5d761c87932
--- /dev/null
+++ b/lang/py-hy/DESCR
@@ -0,0 +1,2 @@
+Hy is a Python <--> Lisp layer. It helps make things work nicer, and lets Python
+and the Hy lisp variant play nice together.
diff --git a/lang/py-hy/Makefile b/lang/py-hy/Makefile
new file mode 100644
index 00000000000..238cdae82ba
--- /dev/null
+++ b/lang/py-hy/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2014/05/18 03:32:16 rodent Exp $
+
+DISTNAME= hy-0.10.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= lang python
+MASTER_SITES= https://pypi.python.org/packages/source/h/hy/
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://hylang.org/
+COMMENT= Lisp and Python love each other
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-rply>=0.7.0:../../devel/py-rply
+DEPENDS+= ${PYPKGPREFIX}-astor>=0.3:../../devel/py-astor
+
+USE_LANGUAGES= # none
+
+PY_PATCHPLIST= yes
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/hy \
+ ${DESTDIR}${PREFIX}/bin/hy${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/hyc \
+ ${DESTDIR}${PREFIX}/bin/hyc${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/py-hy/PLIST b/lang/py-hy/PLIST
new file mode 100644
index 00000000000..d040a0f2ed3
--- /dev/null
+++ b/lang/py-hy/PLIST
@@ -0,0 +1,106 @@
+@comment $NetBSD: PLIST,v 1.1 2014/05/18 03:32:16 rodent Exp $
+bin/hy${PYVERSSUFFIX}
+bin/hyc${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/hy/__init__.py
+${PYSITELIB}/hy/__init__.pyc
+${PYSITELIB}/hy/__init__.pyo
+${PYSITELIB}/hy/__main__.py
+${PYSITELIB}/hy/__main__.pyc
+${PYSITELIB}/hy/__main__.pyo
+${PYSITELIB}/hy/_compat.py
+${PYSITELIB}/hy/_compat.pyc
+${PYSITELIB}/hy/_compat.pyo
+${PYSITELIB}/hy/cmdline.py
+${PYSITELIB}/hy/cmdline.pyc
+${PYSITELIB}/hy/cmdline.pyo
+${PYSITELIB}/hy/compiler.py
+${PYSITELIB}/hy/compiler.pyc
+${PYSITELIB}/hy/compiler.pyo
+${PYSITELIB}/hy/completer.py
+${PYSITELIB}/hy/completer.pyc
+${PYSITELIB}/hy/completer.pyo
+${PYSITELIB}/hy/contrib/__init__.py
+${PYSITELIB}/hy/contrib/__init__.pyc
+${PYSITELIB}/hy/contrib/__init__.pyo
+${PYSITELIB}/hy/contrib/anaphoric.hy
+${PYSITELIB}/hy/contrib/curry.hy
+${PYSITELIB}/hy/contrib/dispatch/__init__.py
+${PYSITELIB}/hy/contrib/dispatch/__init__.pyc
+${PYSITELIB}/hy/contrib/dispatch/__init__.pyo
+${PYSITELIB}/hy/contrib/loop.hy
+${PYSITELIB}/hy/contrib/meth.hy
+${PYSITELIB}/hy/contrib/multi.hy
+${PYSITELIB}/hy/contrib/profile.hy
+${PYSITELIB}/hy/contrib/walk.hy
+${PYSITELIB}/hy/core/__init__.py
+${PYSITELIB}/hy/core/__init__.pyc
+${PYSITELIB}/hy/core/__init__.pyo
+${PYSITELIB}/hy/core/bootstrap.hy
+${PYSITELIB}/hy/core/language.hy
+${PYSITELIB}/hy/core/macros.hy
+${PYSITELIB}/hy/errors.py
+${PYSITELIB}/hy/errors.pyc
+${PYSITELIB}/hy/errors.pyo
+${PYSITELIB}/hy/importer.py
+${PYSITELIB}/hy/importer.pyc
+${PYSITELIB}/hy/importer.pyo
+${PYSITELIB}/hy/lex/__init__.py
+${PYSITELIB}/hy/lex/__init__.pyc
+${PYSITELIB}/hy/lex/__init__.pyo
+${PYSITELIB}/hy/lex/exceptions.py
+${PYSITELIB}/hy/lex/exceptions.pyc
+${PYSITELIB}/hy/lex/exceptions.pyo
+${PYSITELIB}/hy/lex/lexer.py
+${PYSITELIB}/hy/lex/lexer.pyc
+${PYSITELIB}/hy/lex/lexer.pyo
+${PYSITELIB}/hy/lex/parser.py
+${PYSITELIB}/hy/lex/parser.pyc
+${PYSITELIB}/hy/lex/parser.pyo
+${PYSITELIB}/hy/macros.py
+${PYSITELIB}/hy/macros.pyc
+${PYSITELIB}/hy/macros.pyo
+${PYSITELIB}/hy/models/__init__.py
+${PYSITELIB}/hy/models/__init__.pyc
+${PYSITELIB}/hy/models/__init__.pyo
+${PYSITELIB}/hy/models/complex.py
+${PYSITELIB}/hy/models/complex.pyc
+${PYSITELIB}/hy/models/complex.pyo
+${PYSITELIB}/hy/models/cons.py
+${PYSITELIB}/hy/models/cons.pyc
+${PYSITELIB}/hy/models/cons.pyo
+${PYSITELIB}/hy/models/dict.py
+${PYSITELIB}/hy/models/dict.pyc
+${PYSITELIB}/hy/models/dict.pyo
+${PYSITELIB}/hy/models/expression.py
+${PYSITELIB}/hy/models/expression.pyc
+${PYSITELIB}/hy/models/expression.pyo
+${PYSITELIB}/hy/models/float.py
+${PYSITELIB}/hy/models/float.pyc
+${PYSITELIB}/hy/models/float.pyo
+${PYSITELIB}/hy/models/integer.py
+${PYSITELIB}/hy/models/integer.pyc
+${PYSITELIB}/hy/models/integer.pyo
+${PYSITELIB}/hy/models/keyword.py
+${PYSITELIB}/hy/models/keyword.pyc
+${PYSITELIB}/hy/models/keyword.pyo
+${PYSITELIB}/hy/models/lambdalist.py
+${PYSITELIB}/hy/models/lambdalist.pyc
+${PYSITELIB}/hy/models/lambdalist.pyo
+${PYSITELIB}/hy/models/list.py
+${PYSITELIB}/hy/models/list.pyc
+${PYSITELIB}/hy/models/list.pyo
+${PYSITELIB}/hy/models/string.py
+${PYSITELIB}/hy/models/string.pyc
+${PYSITELIB}/hy/models/string.pyo
+${PYSITELIB}/hy/models/symbol.py
+${PYSITELIB}/hy/models/symbol.pyc
+${PYSITELIB}/hy/models/symbol.pyo
+${PYSITELIB}/hy/version.py
+${PYSITELIB}/hy/version.pyc
+${PYSITELIB}/hy/version.pyo
diff --git a/lang/py-hy/distinfo b/lang/py-hy/distinfo
new file mode 100644
index 00000000000..92a99d25b1d
--- /dev/null
+++ b/lang/py-hy/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/05/18 03:32:16 rodent Exp $
+
+SHA1 (hy-0.10.0.tar.gz) = bcd648ffc6b2449f46ca0d4fce77f168dc2b3631
+RMD160 (hy-0.10.0.tar.gz) = 2e7b29cfc1a67184b26ad942c357c4ed8e46c623
+Size (hy-0.10.0.tar.gz) = 40678 bytes