py-cgen: Import as wip/py-cgen-2017.1

Cgen offers a simple abstract syntax tree for C and related languages
(C++/CUDA/OpenCL) to allow structured code generation from Python.
To represent mathematical expressions, cgen can be used with pymbolic.
This commit is contained in:
ng0 2019-05-01 19:27:58 +00:00
parent 46b78d421d
commit 9793776399
5 changed files with 50 additions and 0 deletions

View File

@ -3176,6 +3176,7 @@ SUBDIR+= py-cerridwen
SUBDIR+= py-cesium
SUBDIR+= py-cexprtk
SUBDIR+= py-cf-python
SUBDIR+= py-cgen
SUBDIR+= py-chaco
SUBDIR+= py-chainer
SUBDIR+= py-chaintipy

3
py-cgen/DESCR Normal file
View File

@ -0,0 +1,3 @@
Cgen offers a simple abstract syntax tree for C and related languages
(C++/CUDA/OpenCL) to allow structured code generation from Python.
To represent mathematical expressions, cgen can be used with pymbolic.

19
py-cgen/Makefile Normal file
View File

@ -0,0 +1,19 @@
# $NetBSD$
DISTNAME= cgen-2017.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cgen/}
MAINTAINER= ng0@n0.is
HOMEPAGE= https://github.com/inducer/cgen
COMMENT= C and Cxx source generation from an AST
LICENSE= mit
USE_LANGUAGES= # none
DEPENDS+= ${PYPKGPREFIX}-pytools-[0-9]*:../../wip/py-pytools
.include "../../math/py-numpy/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

21
py-cgen/PLIST Normal file
View File

@ -0,0 +1,21 @@
@comment $NetBSD$
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/cgen/__init__.py
${PYSITELIB}/cgen/__init__.pyo
${PYSITELIB}/cgen/__init__.pyc
${PYSITELIB}/cgen/cuda.pyo
${PYSITELIB}/cgen/cuda.pyc
${PYSITELIB}/cgen/ispc.pyo
${PYSITELIB}/cgen/ispc.pyc
${PYSITELIB}/cgen/mapper.pyo
${PYSITELIB}/cgen/mapper.pyc
${PYSITELIB}/cgen/opencl.pyo
${PYSITELIB}/cgen/opencl.pyc
${PYSITELIB}/cgen/cuda.py
${PYSITELIB}/cgen/ispc.py
${PYSITELIB}/cgen/mapper.py
${PYSITELIB}/cgen/opencl.py

6
py-cgen/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (cgen-2017.1.tar.gz) = 2941d72f2f6827fee2f952de62b7b96a0f82d803
RMD160 (cgen-2017.1.tar.gz) = 1a5f11b96414518d56d60a3339dd3bf6241fd7c2
SHA512 (cgen-2017.1.tar.gz) = 8aabff9263d9a6335d655f7536a35b3f20e9c118fe52de72770007181b10aa159f8fc9141797810c1ba2f0191f00ce37e3bc2eef3f574c4c2284601cbdb0c0d9
Size (cgen-2017.1.tar.gz) = 17088 bytes