Skip to content
Permalink
Browse files

py-hy: new port

  • Loading branch information
tobypeterson committed Jun 28, 2020
1 parent 4c9334c commit b9d076a541f1295e65c9116d896ef39ff8fb9c10
Showing with 91 additions and 0 deletions.
  1. +33 −0 python/hy_select/Portfile
  2. +6 −0 python/hy_select/files/base
  3. +6 −0 python/hy_select/files/none
  4. +40 −0 python/py-hy/Portfile
  5. +6 −0 python/py-hy/files/hy38
@@ -0,0 +1,33 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup select 1.0

name hy_select
version 0.1
categories python
license BSD
platforms darwin
supported_archs noarch

maintainers nomaintainer

description common files for selecting default hy version
long_description \
This port installs files that allow 'port select' to be used to \
create links to the preferred default version of hy.

homepage https://www.macports.org/

distfiles

use_configure no

build {}

destroot {
select::install hy ${filespath}/base
select::install hy ${filespath}/none
}

livecheck.type none
@@ -0,0 +1,6 @@
bin/hy
bin/hy2py
bin/hy2py3
bin/hy3
bin/hyc
bin/hyc3
@@ -0,0 +1,6 @@
-
-
-
-
-
-
@@ -0,0 +1,40 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup python 1.0
PortGroup select 1.0

name py-hy
version 0.18.0
categories-append lang
license MIT
platforms darwin
maintainers {toby @tobypeterson} openmaintainer
description Lisp dialect embedded in Python
long_description Hy is a Lisp dialect that's embedded in Python. Since Hy \
transforms its Lisp code into Python abstract syntax tree (AST) \
objects, you have the whole beautiful world of Python at your \
fingertips, in Lisp form.

homepage http://hylang.org/

checksums rmd160 c662ae772e336683e39e9228fc384e2de0960c21 \
sha256 42f24caaa7f5b4427929859395c215c8cc6e19807b46feaa0b863f3346e5ae11 \
size 83803

python.versions 38

if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-astor \
port:py${python.version}-colorama \
port:py${python.version}-funcparserlib \
port:py${python.version}-rply
depends_run-append port:hy_select

select.group hy
select.file ${filespath}/hy${python.version}

livecheck.type none
} else {
livecheck.type pypi
}
@@ -0,0 +1,6 @@
bin/hy-3.8
bin/hy2py-3.8
bin/hy2py3-3.8
bin/hy3-3.8
bin/hyc-3.8
bin/hyc3-3.8

0 comments on commit b9d076a

Please sign in to comment.
You can’t perform that action at this time.