aboutsummaryrefslogtreecommitdiff
path: root/devel/py-myghtyutils
diff options
context:
space:
mode:
authorDryice Dong Liu <dryice@FreeBSD.org>2007-04-23 04:55:02 +0000
committerDryice Dong Liu <dryice@FreeBSD.org>2007-04-23 04:55:02 +0000
commit2c172e55238be1ff57aeb7593989c7f72f9e4c04 (patch)
tree4e17a7dad65e1e3799f07368cb46c0a0a02944c4 /devel/py-myghtyutils
parent54b64076ff9a72799ffeec0e82d6a62ae9576c56 (diff)
downloadports-2c172e55238be1ff57aeb7593989c7f72f9e4c04.tar.gz
ports-2c172e55238be1ff57aeb7593989c7f72f9e4c04.zip
Notes
Diffstat (limited to 'devel/py-myghtyutils')
-rw-r--r--devel/py-myghtyutils/Makefile34
-rw-r--r--devel/py-myghtyutils/distinfo3
-rw-r--r--devel/py-myghtyutils/pkg-descr20
-rw-r--r--devel/py-myghtyutils/pkg-plist3
4 files changed, 60 insertions, 0 deletions
diff --git a/devel/py-myghtyutils/Makefile b/devel/py-myghtyutils/Makefile
new file mode 100644
index 000000000000..d86fdd43ff2a
--- /dev/null
+++ b/devel/py-myghtyutils/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: py-myghtyutils
+# Date created: April 23 2007
+# Whom: Dryice Liu <dryice@dryice.name>
+#
+# $FreeBSD$
+#
+
+PORTNAME= myghtyutils
+PORTVERSION= 0.52
+CATEGORIES= devel www python
+MASTER_SITES= ${MASTER_SITE_CHEESESHOP} \
+ http://dryice.name/computer/FreeBSD/distfiles/
+MASTER_SITE_SUBDIR= source/M/MyghtyUtils
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= MyghtyUtils-${PORTVERSION}
+
+MAINTAINER= dryice@FreeBSD.org
+COMMENT= Container and Utility Functions from the Myghty Template Framework
+
+BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PYTHON= yes
+USE_ZIP= yes
+USE_PYDISTUTILS= yes
+
+PYMYGHTYUTILS_EGG= MyghtyUtils-${PORTVERSION}-py${PYTHON_VER}.egg
+
+PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
+ PYMYGHTYUTILS_EGG=${PYMYGHTYUTILS_EGG}
+
+EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
+
+.include <bsd.port.mk>
diff --git a/devel/py-myghtyutils/distinfo b/devel/py-myghtyutils/distinfo
new file mode 100644
index 000000000000..e6867e227c6a
--- /dev/null
+++ b/devel/py-myghtyutils/distinfo
@@ -0,0 +1,3 @@
+MD5 (MyghtyUtils-0.52.zip) = a15cda5919509024245802f4028b1560
+SHA256 (MyghtyUtils-0.52.zip) = 2bbf206bd4c07b7d690b0397714fd893ab380f0ba5a82a897cda3647a3641cb5
+SIZE (MyghtyUtils-0.52.zip) = 31038
diff --git a/devel/py-myghtyutils/pkg-descr b/devel/py-myghtyutils/pkg-descr
new file mode 100644
index 000000000000..14237d7c7d96
--- /dev/null
+++ b/devel/py-myghtyutils/pkg-descr
@@ -0,0 +1,20 @@
+This is the set of utility classes used by Myghty templating. Included
+are:
+
+container - the Containment system providing back-end neutral
+key/value storage, with support for in-memory, DBM files, flat files,
+and memcached
+
+buffer - some functions for augmenting file objects
+
+util - various utility functions and objects
+
+synchronizer - provides many reader/single writer synchronization
+using either thread mutexes or lockfiles
+
+session - provides a Session interface built upon the Container,
+similar interface to mod_python session. Currently needs a
+mod_python-like request object, this should be changed to something
+more generic.
+
+WWW: http://www.myghty.org/
diff --git a/devel/py-myghtyutils/pkg-plist b/devel/py-myghtyutils/pkg-plist
new file mode 100644
index 000000000000..c226b34b7b74
--- /dev/null
+++ b/devel/py-myghtyutils/pkg-plist
@@ -0,0 +1,3 @@
+@unexec %%EASY_INSTALL_CMD%% -N -m %D/%%PYTHON_SITELIBDIR%%/%%PYMYGHTYUTILS_EGG%%
+%%PYTHON_SITELIBDIR%%/%%PYMYGHTYUTILS_EGG%%
+@exec %%EASY_INSTALL_CMD%% -N %D/%%PYTHON_SITELIBDIR%%/%%PYMYGHTYUTILS_EGG%%