Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2015 13:49:42 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Thomas Zander <riggs@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r395628 - in head/www: . py-pyocclient
Message-ID:  <55E3CED6.3010703@FreeBSD.org>
In-Reply-To: <201508301655.t7UGtEVx037588@repo.freebsd.org>
References:  <201508301655.t7UGtEVx037588@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 31/08/2015 2:55 AM, Thomas Zander wrote:
> Author: riggs
> Date: Sun Aug 30 16:55:14 2015
> New Revision: 395628
> URL: https://svnweb.freebsd.org/changeset/ports/395628
> 
> Log:
>   Add www/py-pyocclient: the Python OwnCloud client library
>   
>   PR:		201996
>   Submitted by:	che@bein.link (maintainer)
>   Reviewed by:	koobs, riggs
> 
> Added:
>   head/www/py-pyocclient/
>   head/www/py-pyocclient/Makefile   (contents, props changed)
>   head/www/py-pyocclient/distinfo   (contents, props changed)
>   head/www/py-pyocclient/pkg-descr   (contents, props changed)
> Modified:
>   head/www/Makefile
> 

<snip>

> Added: head/www/py-pyocclient/Makefile
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/www/py-pyocclient/Makefile	Sun Aug 30 16:55:14 2015	(r395628)
> @@ -0,0 +1,26 @@
> +# $FreeBSD$
> +
> +PORTNAME=	pyocclient
> +PORTVERSION=	0.1
> +CATEGORIES=	www python
> +MASTER_SITES=	CHEESESHOP
> +PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
> +
> +MAINTAINER=	che@bein.link
> +COMMENT=	Python Owncloud client library
> +
> +LICENSE=	MIT
> +LICENSE_FILE=	${WRKSRC}/LICENSE.txt
> +
> +RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.0.1:${PORTSDIR}/www/py-requests
> +
> +USES=		python

Given this port only supports 2.x, this should be set to python:-2.7,
unless it doesn't support 2.6 in which case it should be set to python:2.7

> +USE_PYTHON=	autoplist distutils
> +
> +.include <bsd.port.pre.mk>
> +
> +.if ${PYTHON_REL} >= 3000
> +BROKEN=		pyocclient only supports Python 2.x at the moment
> +.endif

This block is not needed with the above change.

> +.include <bsd.port.post.mk>
> 

Regards,

./koobs




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55E3CED6.3010703>