diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-functional/Makefile | 32 | ||||
-rw-r--r-- | devel/py-functional/distinfo | 1 | ||||
-rw-r--r-- | devel/py-functional/pkg-comment | 1 | ||||
-rw-r--r-- | devel/py-functional/pkg-descr | 14 | ||||
-rw-r--r-- | devel/py-functional/pkg-plist | 3 | ||||
-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 |
11 files changed, 103 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index dc5821396956..e52c3d9424dd 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -263,6 +263,7 @@ SUBDIR += pth SUBDIR += pth-devel SUBDIR += py-coro + SUBDIR += py-functional SUBDIR += py-htmlkit SUBDIR += py-kjbuckets SUBDIR += py-kqueue diff --git a/devel/py-functional/Makefile b/devel/py-functional/Makefile new file mode 100644 index 000000000000..b70360c00da1 --- /dev/null +++ b/devel/py-functional/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-functional/distinfo b/devel/py-functional/distinfo new file mode 100644 index 000000000000..5a3a6210e21f --- /dev/null +++ b/devel/py-functional/distinfo @@ -0,0 +1 @@ +MD5 (functional.py.gz) = 149eb64411d87323630dd1539a9b5a56 diff --git a/devel/py-functional/pkg-comment b/devel/py-functional/pkg-comment new file mode 100644 index 000000000000..052d3dfcf98a --- /dev/null +++ b/devel/py-functional/pkg-comment @@ -0,0 +1 @@ +A Python module implementing some functional programming idioms diff --git a/devel/py-functional/pkg-descr b/devel/py-functional/pkg-descr new file mode 100644 index 000000000000..5d61c960fe35 --- /dev/null +++ b/devel/py-functional/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-functional/pkg-plist b/devel/py-functional/pkg-plist new file mode 100644 index 000000000000..9e7b8a4b4db5 --- /dev/null +++ b/devel/py-functional/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 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 |