From owner-svn-ports-all@freebsd.org Tue Dec 17 03:14:38 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E347D1D98EE; Tue, 17 Dec 2019 03:14:38 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47cNXt5jLpz3FSX; Tue, 17 Dec 2019 03:14:38 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BF0BA7961; Tue, 17 Dec 2019 03:14:38 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBH3EcJZ098127; Tue, 17 Dec 2019 03:14:38 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBH3EbHK098122; Tue, 17 Dec 2019 03:14:37 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201912170314.xBH3EbHK098122@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Tue, 17 Dec 2019 03:14:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520299 - in head/www: . py-pecan py-pecan/files X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: in head/www: . py-pecan py-pecan/files X-SVN-Commit-Revision: 520299 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 03:14:39 -0000 Author: koobs Date: Tue Dec 17 03:14:37 2019 New Revision: 520299 URL: https://svnweb.freebsd.org/changeset/ports/520299 Log: [NEW] www/py-pecan: WSGI object-dispatching web framework A WSGI object-dispatching web framework. Designed to be lean and fast with few dependencies. WWW: https://github.com/pecan/pecan/ PR: 241691 Submitted by: Willem Jan Withagen Added: head/www/py-pecan/ head/www/py-pecan/Makefile (contents, props changed) head/www/py-pecan/distinfo (contents, props changed) head/www/py-pecan/files/ head/www/py-pecan/files/patch-setup.py (contents, props changed) head/www/py-pecan/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Tue Dec 17 01:05:15 2019 (r520298) +++ head/www/Makefile Tue Dec 17 03:14:37 2019 (r520299) @@ -1709,6 +1709,7 @@ SUBDIR += py-pastedeploy SUBDIR += py-pastescript SUBDIR += py-path-and-address + SUBDIR += py-pecan SUBDIR += py-pelican SUBDIR += py-planet SUBDIR += py-plone.alterego Added: head/www/py-pecan/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-pecan/Makefile Tue Dec 17 03:14:37 2019 (r520299) @@ -0,0 +1,49 @@ +# $FreeBSD$ + +PORTNAME= pecan +PORTVERSION= 1.3.3 +CATEGORIES= www python net +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wjw@digiware.nl +COMMENT= WSGI object-dispatching web framework + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}webob>=1.2:www/py-webob@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mako>=0.4.0:textproc/py-mako@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}WebTest>=1.3.1:www/py-WebTest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}logutils>=0.3:devel/py-logutils@${PY_FLAVOR} + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gunicorn>=0:www/py-gunicorn@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=0:databases/py-sqlalchemy10@${PY_FLAVOR} + +USES= python:2.7+ +USE_PYTHON= distutils autoplist concurrent + +NO_ARCH= yes + +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} setup.py test) + +.include + +.if ${PYTHON_VER} < 3.4 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>=0:devel/py-singledispatch@${PY_FLAVOR} +.endif + +.if ${PYTHON_VER} < 3.0 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Genshi>=0:textproc/py-genshi@${PY_FLAVOR} +# To be ported +# ${PYTHON_PKGNAMEPREFIX}kajiki>0:textproc/py-kajiki@${PY_FLAVOR} +.else +# Genshi added Python3 (< 3.5) support in 0.7 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.7:textproc/py-genshi@${PY_FLAVOR} +.endif + +.include Added: head/www/py-pecan/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-pecan/distinfo Tue Dec 17 03:14:37 2019 (r520299) @@ -0,0 +1,3 @@ +TIMESTAMP = 1572799326 +SHA256 (pecan-1.3.3.tar.gz) = b5461add4e3f35a7ee377b3d7f72ff13e93f40f3823b3208ab978b29bde936ff +SIZE (pecan-1.3.3.tar.gz) = 120595 Added: head/www/py-pecan/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-pecan/files/patch-setup.py Tue Dec 17 03:14:37 2019 (r520299) @@ -0,0 +1,18 @@ +--- setup.py.orig 2019-12-16 02:09:56 UTC ++++ setup.py +@@ -1,3 +1,7 @@ ++# virtualenv is not a compulsory test dependency ++# make it an extras_require[dev] instead ++# TODO: Upstream ++ + import sys + import platform + +@@ -29,7 +33,6 @@ except: + + + tests_require = requirements + [ +- 'virtualenv', + 'Jinja2', + 'gunicorn', + 'mock', Added: head/www/py-pecan/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-pecan/pkg-descr Tue Dec 17 03:14:37 2019 (r520299) @@ -0,0 +1,5 @@ +A WSGI object-dispatching web framework. + +Designed to be lean and fast with few dependencies. + +WWW: https://github.com/pecan/pecan/