diff options
author | nectar <nectar@FreeBSD.org> | 2000-10-04 07:15:59 +0800 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2000-10-04 07:15:59 +0800 |
commit | 560f696bb122899fdbcef7836ed1e38d8a39ccaf (patch) | |
tree | 8556ced1bb49b0de51db9f4358320b06069310ec /devel/py-xoltar-toolkit | |
parent | 36b869dafbbdc1ad61eb57c1edeeceb372203286 (diff) | |
download | freebsd-ports-gnome-560f696bb122899fdbcef7836ed1e38d8a39ccaf.tar.gz freebsd-ports-gnome-560f696bb122899fdbcef7836ed1e38d8a39ccaf.tar.zst freebsd-ports-gnome-560f696bb122899fdbcef7836ed1e38d8a39ccaf.zip |
A Python module implementing some functional programming idioms
Diffstat (limited to 'devel/py-xoltar-toolkit')
-rw-r--r-- | devel/py-xoltar-toolkit/Makefile | 32 | ||||
-rw-r--r-- | devel/py-xoltar-toolkit/distinfo | 1 | ||||
-rw-r--r-- | devel/py-xoltar-toolkit/pkg-comment | 1 | ||||
-rw-r--r-- | devel/py-xoltar-toolkit/pkg-descr | 14 | ||||
-rw-r--r-- | devel/py-xoltar-toolkit/pkg-plist | 3 |
5 files changed, 51 insertions, 0 deletions
diff --git a/devel/py-xoltar-toolkit/Makefile b/devel/py-xoltar-toolkit/Makefile new file mode 100644 index 000000000000..b70360c00da1 --- /dev/null +++ b/devel/py-xoltar-toolkit/Makefile @@ -0,0 +1,32 @@ +# Ports collection Makefile for: py-functional +# Date created: 10/03/2000 +# Whom: nectar@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= functional +PORTVERSION= 0.5 +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= xoltar-toolkit +PKGNAMEPREFIX= py- +DISTNAME= functional.py +EXTRACT_SUFX= .gz + +MAINTAINER= nectar@FreeBSD.org + +EXTRACT_AFTER_ARGS= > ${DISTNAME} +USE_PYTHON= yes +NO_WRKSUBDIR= yes + +do-build: + @cd ${WRKSRC} && ${PYTHON_CMD} -c 'import functional' + @cd ${WRKSRC} && ${PYTHON_CMD} -O -c 'import functional' + +do-install: +.for f in functional.py functional.pyc functional.pyo + ${INSTALL_DATA} ${WRKSRC}/${f} ${PYTHON_SITELIBDIR}/${f} +.endfor + +.include <bsd.port.mk> diff --git a/devel/py-xoltar-toolkit/distinfo b/devel/py-xoltar-toolkit/distinfo new file mode 100644 index 000000000000..5a3a6210e21f --- /dev/null +++ b/devel/py-xoltar-toolkit/distinfo @@ -0,0 +1 @@ +MD5 (functional.py.gz) = 149eb64411d87323630dd1539a9b5a56 diff --git a/devel/py-xoltar-toolkit/pkg-comment b/devel/py-xoltar-toolkit/pkg-comment new file mode 100644 index 000000000000..052d3dfcf98a --- /dev/null +++ b/devel/py-xoltar-toolkit/pkg-comment @@ -0,0 +1 @@ +A Python module implementing some functional programming idioms diff --git a/devel/py-xoltar-toolkit/pkg-descr b/devel/py-xoltar-toolkit/pkg-descr new file mode 100644 index 000000000000..5d61c960fe35 --- /dev/null +++ b/devel/py-xoltar-toolkit/pkg-descr @@ -0,0 +1,14 @@ +A Python module which provides support for a functional style of Python +programming. + +It includes support for closures, curried functions, lazy expressions, +lazy tuples (functional programming languages call these lazy lists, but +since lists are mutable in Python, tuples are closer in meaning), and +lazy equivalents for map, filter, reduce, and zip. Also includes some +higher-order functions for composing functions and such. + +To use, just + + import functional + +WWW: http://sourceforge.net/projects/xoltar-toolkit/ diff --git a/devel/py-xoltar-toolkit/pkg-plist b/devel/py-xoltar-toolkit/pkg-plist new file mode 100644 index 000000000000..9e7b8a4b4db5 --- /dev/null +++ b/devel/py-xoltar-toolkit/pkg-plist @@ -0,0 +1,3 @@ +lib/%%PYTHON_VERSION%%/site-packages/functional.py +lib/%%PYTHON_VERSION%%/site-packages/functional.pyc +lib/%%PYTHON_VERSION%%/site-packages/functional.pyo |