From 5f8437905545ca3e513cdd063b851b0674c8a387 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Sun, 26 Jun 2016 15:06:43 +0000 Subject: [PATCH] New port: devel/py-twext twext is a Python module consisting of extensions to the Twisted Framework. (http://twistedmatrix.com/) WWW: http://trac.calendarserver.org/wiki/twext PR: 210263 Submitted by: Axel Rau --- devel/Makefile | 1 + devel/py-twext/Makefile | 52 ++++++++++++++++++++++++++++++++++++++++ devel/py-twext/distinfo | 3 +++ devel/py-twext/pkg-descr | 4 ++++ 4 files changed, 60 insertions(+) create mode 100644 devel/py-twext/Makefile create mode 100644 devel/py-twext/distinfo create mode 100644 devel/py-twext/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 537517bb226c..65a2517d1050 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4493,6 +4493,7 @@ SUBDIR += py-turbokid SUBDIR += py-tvrage SUBDIR += py-tw.forms + SUBDIR += py-twext SUBDIR += py-twiggy SUBDIR += py-twine SUBDIR += py-twisted diff --git a/devel/py-twext/Makefile b/devel/py-twext/Makefile new file mode 100644 index 000000000000..1d95fdb8b62f --- /dev/null +++ b/devel/py-twext/Makefile @@ -0,0 +1,52 @@ +# $FreeBSD$ + +PORTNAME= twext +PORTVERSION= 0.15423 +CATEGORIES= devel python +MASTER_SITES= http://www.lechner-rau.de/downloads/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= axel.rau@chaos1.de +COMMENT= Extensions to Twisted + +LICENSE= APACHE20 + +FETCH_DEPENDS= svn:devel/subversion +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=15.4.0:devel/py-twisted +RUN_DEPENDS= \ + ${PYTHON_PKGNAMEPREFIX}cffi>=0.6:devel/py-cffi \ + ${PYTHON_PKGNAMEPREFIX}twisted>=15.4.0:devel/py-twisted + +DAL_RUN_DEPENDS= \ + ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.1.11:databases/py-sqlparse +POSTGRES_RUN_DEPENDS= \ + ${PYTHON_PKGNAMEPREFIX}pg8000>=1.10.2:databases/py-pg8000 + +OPTIONS_DEFINE= DAL POSTGRES +DAL_DESC= Enables use of the Database Abstraction Layer. +POSTGRES= Enables support for Postgres database connectivity. +OPTIONS_DEFAULT= DAL POSTGRES +.include + +USES= python:2.7 +USE_PYTHON= distutils autoplist +NO_ARCH=yes + +SVN_REPOSITORY_URL= http://svn.calendarserver.org/repository/calendarserver +SVN_TAG3= twext/trunk +SVN_CMD3= svn export -r15423 + +maint-gen-distfile: + @if [ ! -f "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}" ] ; then \ + ${MKDIR} ${WRKDIR} ; cd ${WRKDIR} ; ${RM} -Rf ${WRKDIR}/${DISTNAME} ; \ + ${ECHO_MSG} "=> Checking out twext from svn.calendarserver.org/..."; \ + ${SVN_CMD3} ${SVN_REPOSITORY_URL}/${SVN_TAG3} > /dev/null ; \ + ${MV} trunk ${DISTNAME} ; \ + ${ECHO_MSG} "=> Creating tar archive ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; \ + cd ${WRKDIR} ; tar -czf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTNAME} ; \ + ${RM} -Rf ${WRKDIR}/${DISTNAME} ; \ + else \ + ${ECHO_MSG} "===> ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} found." ; \ + fi + +.include diff --git a/devel/py-twext/distinfo b/devel/py-twext/distinfo new file mode 100644 index 000000000000..174c5f9cf0de --- /dev/null +++ b/devel/py-twext/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1464109080 +SHA256 (twext-0.15423.tar.gz) = 2fd8ae9b0d481a9c2dd9de5acc67c6787e5c033bf609165865ff04a1bc534e73 +SIZE (twext-0.15423.tar.gz) = 266501 diff --git a/devel/py-twext/pkg-descr b/devel/py-twext/pkg-descr new file mode 100644 index 000000000000..66b9acdbb1b7 --- /dev/null +++ b/devel/py-twext/pkg-descr @@ -0,0 +1,4 @@ +twext is a Python module consisting of extensions to the Twisted Framework. +(http://twistedmatrix.com/) + +WWW: http://trac.calendarserver.org/wiki/twext