From owner-freebsd-ports@freebsd.org Mon Jun 12 15:09:31 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 775C0BFE593 for ; Mon, 12 Jun 2017 15:09:31 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2E072A06 for ; Mon, 12 Jun 2017 15:09:31 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 58B1EBFE592; Mon, 12 Jun 2017 15:09:31 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5853FBFE591 for ; Mon, 12 Jun 2017 15:09:31 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E713772A05 for ; Mon, 12 Jun 2017 15:09:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [192.168.2.2] (unknown [77.95.97.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 9EB9095ED; Mon, 12 Jun 2017 17:09:29 +0200 (CEST) From: Dimitry Andric Message-Id: <2A89E91B-464A-40E5-AEB5-AE420EB61D8F@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_79216AE1-E7A6-40C3-ADB2-87B05CA70A2A"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Looking for python-pecan Date: Mon, 12 Jun 2017 17:09:20 +0200 In-Reply-To: <03404c04-5fac-2b2f-4704-0901d052c52f@digiware.nl> Cc: "ports@freebsd.org" To: Willem Jan Withagen References: <03404c04-5fac-2b2f-4704-0901d052c52f@digiware.nl> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 15:09:31 -0000 --Apple-Mail=_79216AE1-E7A6-40C3-ADB2-87B05CA70A2A Content-Type: multipart/mixed; boundary="Apple-Mail=_D9357CCD-BEB9-450D-A37C-34B53F881CC9" --Apple-Mail=_D9357CCD-BEB9-450D-A37C-34B53F881CC9 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 12 Jun 2017, at 13:29, Willem Jan Withagen wrote: > > For one the Ceph port I'm doing I'm going to need python-pecan in het > close future. > > Not sure how this works with python-modules since it is something that > is only used by the ceph-ports. But my guess is that I won't be > able/allowed to just have a post execute like: > > ping install python-pecan. Normally you would use pip, ping is something entirely different. :) Here is a patch to add a devel/py-pecan port, plus one of its dependencies that is not yet in the ports tree, devel/py-logutils. Tested only very lightly, please take care. -Dimitry --Apple-Mail=_D9357CCD-BEB9-450D-A37C-34B53F881CC9 Content-Disposition: attachment; filename=add-devel_py-pecan-and-deps.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="add-devel_py-pecan-and-deps.diff" Content-Transfer-Encoding: 7bit Index: devel/py-logutils/Makefile =================================================================== --- devel/py-logutils/Makefile (nonexistent) +++ devel/py-logutils/Makefile (working copy) @@ -0,0 +1,20 @@ +# Created by: Dimitry Andric +# $FreeBSD$ + +PORTNAME= logutils +PORTVERSION= 0.3.4.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dim@FreeBSD.org +COMMENT= The logutils package provides a set of handlers for the Python standard library's logging package. + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +NO_ARCH= yes +USES= python +USE_PYTHON= autoplist distutils + +.include Property changes on: devel/py-logutils/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/py-logutils/distinfo =================================================================== --- devel/py-logutils/distinfo (nonexistent) +++ devel/py-logutils/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1497279614 +SHA256 (logutils-0.3.4.1.tar.gz) = 101f6297369211ceceaee9505915d3811a99797f058138f26f9221940263de2b +SIZE (logutils-0.3.4.1.tar.gz) = 27414 Property changes on: devel/py-logutils/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/py-logutils/pkg-descr =================================================================== --- devel/py-logutils/pkg-descr (nonexistent) +++ devel/py-logutils/pkg-descr (working copy) @@ -0,0 +1,9 @@ +The logutils package provides a set of handlers for the Python standard +library's logging package. + +Some of these handlers are out-of-scope for the standard library, and so they +are packaged here. Others are updated versions which have appeared in recent +Python releases, but are usable with older versions of Python and so are +packaged here. + +WWW: https://pypi.python.org/pypi/logutils/ Property changes on: devel/py-logutils/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/py-pecan/Makefile =================================================================== --- devel/py-pecan/Makefile (nonexistent) +++ devel/py-pecan/Makefile (working copy) @@ -0,0 +1,26 @@ +# Created by: Dimitry Andric +# $FreeBSD$ + +PORTNAME= pecan +PORTVERSION= 1.2.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dim@FreeBSD.org +COMMENT= A WSGI object-dispatching web framework, designed to be lean and fast, with few dependencies. + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}webob>=1.2dev:www/py-webob \ + ${PYTHON_PKGNAMEPREFIX}mako>=0.4.0:textproc/py-mako \ + ${PYTHON_PKGNAMEPREFIX}WebTest>=1.3.1:www/py-WebTest \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six \ + ${PYTHON_PKGNAMEPREFIX}logutils>=0.3:devel/py-logutils + +NO_ARCH= yes +USES= python +USE_PYTHON= autoplist distutils + +.include Property changes on: devel/py-pecan/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/py-pecan/distinfo =================================================================== --- devel/py-pecan/distinfo (nonexistent) +++ devel/py-pecan/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1497279375 +SHA256 (pecan-1.2.1.tar.gz) = 8d95457b9cedcfda9b467f5cc7dde8cdf72ddba6b402d6a5902843d1b2186c46 +SIZE (pecan-1.2.1.tar.gz) = 120364 Property changes on: devel/py-pecan/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/py-pecan/pkg-descr =================================================================== --- devel/py-pecan/pkg-descr (nonexistent) +++ devel/py-pecan/pkg-descr (working copy) @@ -0,0 +1,4 @@ +A WSGI object-dispatching web framework, designed to be lean and fast with few +dependencies. + +WWW: https://pypi.python.org/pypi/pecan/ Property changes on: devel/py-pecan/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/Makefile =================================================================== --- devel/Makefile (revision 443395) +++ devel/Makefile (working copy) @@ -4436,6 +4436,7 @@ SUBDIR += py-logan SUBDIR += py-logbook SUBDIR += py-logilab-common + SUBDIR += py-logutils SUBDIR += py-louie SUBDIR += py-lxml SUBDIR += py-magic @@ -4526,6 +4527,7 @@ SUBDIR += py-pathtools SUBDIR += py-paver SUBDIR += py-pbr + SUBDIR += py-pecan SUBDIR += py-pefile SUBDIR += py-period SUBDIR += py-petname --Apple-Mail=_D9357CCD-BEB9-450D-A37C-34B53F881CC9-- --Apple-Mail=_79216AE1-E7A6-40C3-ADB2-87B05CA70A2A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAlk+rqcACgkQsF6jCi4glqNBlgCgy9pxgA3o9nAanD5OCrDNf89T OAgAn0ynX8N+mdmT+qHB8LIShBszrOU3 =tR1a -----END PGP SIGNATURE----- --Apple-Mail=_79216AE1-E7A6-40C3-ADB2-87B05CA70A2A--