svn commit: r395628 - in head/www: . py-pyocclient

Kubilay Kocak koobs at FreeBSD.org
Mon Aug 31 03:49:50 UTC 2015


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



More information about the svn-ports-head mailing list