diff --git a/www/Makefile b/www/Makefile index 6850bcf0cad7..07b619217d4f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1702,6 +1702,7 @@ SUBDIR += py-py-restclient SUBDIR += py-pyjwt SUBDIR += py-pylons + SUBDIR += py-pyocclient SUBDIR += py-pyquery SUBDIR += py-pyramid SUBDIR += py-pyramid_rpc diff --git a/www/py-pyocclient/Makefile b/www/py-pyocclient/Makefile new file mode 100644 index 000000000000..feecefbff393 --- /dev/null +++ b/www/py-pyocclient/Makefile @@ -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 +USE_PYTHON= autoplist distutils + +.include + +.if ${PYTHON_REL} >= 3000 +BROKEN= pyocclient only supports Python 2.x at the moment +.endif + +.include diff --git a/www/py-pyocclient/distinfo b/www/py-pyocclient/distinfo new file mode 100644 index 000000000000..282d1d0300e4 --- /dev/null +++ b/www/py-pyocclient/distinfo @@ -0,0 +1,2 @@ +SHA256 (pyocclient-0.1.tar.gz) = b3505e4973bfadda11f9f5d426018f9ea3a373c3ef47b77324ed4f88f195ff43 +SIZE (pyocclient-0.1.tar.gz) = 11749 diff --git a/www/py-pyocclient/pkg-descr b/www/py-pyocclient/pkg-descr new file mode 100644 index 000000000000..25cbb1aad363 --- /dev/null +++ b/www/py-pyocclient/pkg-descr @@ -0,0 +1,5 @@ +This library makes it possible to connect to an ownCloud instance and perform +file, share and attribute operations in python. Please note that this is not +a sync client implementation but rather a wrapper around various APIs. + +WWW: https://github.com/owncloud/pyocclient