Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2017 17:09:20 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: Looking for python-pecan
Message-ID:  <2A89E91B-464A-40E5-AEB5-AE420EB61D8F@FreeBSD.org>
In-Reply-To: <03404c04-5fac-2b2f-4704-0901d052c52f@digiware.nl>
References:  <03404c04-5fac-2b2f-4704-0901d052c52f@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <wjw@digiware.nl> 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 <dim@FreeBSD.org>
+# $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 <bsd.port.mk>

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 <dim@FreeBSD.org>
+# $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 <bsd.port.mk>

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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2A89E91B-464A-40E5-AEB5-AE420EB61D8F>