pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-cgen: Import as wip/py-cgen-2017.1
Module Name: pkgsrc-wip
Committed By: ng0 <ng0%n0.is@localhost>
Pushed By: ng0
Date: Wed May 1 19:27:58 2019 +0000
Changeset: 97937763995be4a6dbbb7ed9f841bc233c843fa2
Modified Files:
Makefile
Added Files:
py-cgen/DESCR
py-cgen/Makefile
py-cgen/PLIST
py-cgen/distinfo
Log Message:
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.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=97937763995be4a6dbbb7ed9f841bc233c843fa2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
py-cgen/DESCR | 3 +++
py-cgen/Makefile | 19 +++++++++++++++++++
py-cgen/PLIST | 21 +++++++++++++++++++++
py-cgen/distinfo | 6 ++++++
5 files changed, 50 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index ce71cfbcfd..a93911ace9 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/py-cgen/DESCR b/py-cgen/DESCR
new file mode 100644
index 0000000000..a2ac90a982
--- /dev/null
+++ b/py-cgen/DESCR
@@ -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.
diff --git a/py-cgen/Makefile b/py-cgen/Makefile
new file mode 100644
index 0000000000..b8c8f2e25d
--- /dev/null
+++ b/py-cgen/Makefile
@@ -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@localhost
+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"
diff --git a/py-cgen/PLIST b/py-cgen/PLIST
new file mode 100644
index 0000000000..2bd39d9d06
--- /dev/null
+++ b/py-cgen/PLIST
@@ -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
diff --git a/py-cgen/distinfo b/py-cgen/distinfo
new file mode 100644
index 0000000000..b0f30f9880
--- /dev/null
+++ b/py-cgen/distinfo
@@ -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
Home |
Main Index |
Thread Index |
Old Index