From owner-svn-ports-head@freebsd.org Thu Dec 21 16:07:08 2017 Return-Path: Delivered-To: svn-ports-head@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 E1B3CE9FC59; Thu, 21 Dec 2017 16:07:08 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC03A6BC9F; Thu, 21 Dec 2017 16:07:08 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBLG77Ag014067; Thu, 21 Dec 2017 16:07:07 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBLG77TF014064; Thu, 21 Dec 2017 16:07:07 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201712211607.vBLG77TF014064@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Thu, 21 Dec 2017 16:07:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456914 - in head/www/py-pyocclient: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/www/py-pyocclient: . files X-SVN-Commit-Revision: 456914 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Dec 2017 16:07:09 -0000 Author: tobik Date: Thu Dec 21 16:07:07 2017 New Revision: 456914 URL: https://svnweb.freebsd.org/changeset/ports/456914 Log: www/py-pyocclient: Update to 0.4 - Allow build for Python 3.x PR: 224068 Submitted by: lbdm@privacychain.ch Approved by: che@bein.link (maintainer timeout, 2 weeks) Added: head/www/py-pyocclient/files/ head/www/py-pyocclient/files/patch-setup.py (contents, props changed) Modified: head/www/py-pyocclient/Makefile head/www/py-pyocclient/distinfo Modified: head/www/py-pyocclient/Makefile ============================================================================== --- head/www/py-pyocclient/Makefile Thu Dec 21 15:47:10 2017 (r456913) +++ head/www/py-pyocclient/Makefile Thu Dec 21 16:07:07 2017 (r456914) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= pyocclient -PORTVERSION= 0.1 +PORTVERSION= 0.4 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,10 +12,12 @@ COMMENT= Python Owncloud client library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.0.1:www/py-requests@${FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.0.1:www/py-requests@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${FLAVOR} -NO_ARCH= yes -USES= python:2.7 +USES= python USE_PYTHON= autoplist distutils + +NO_ARCH= yes .include Modified: head/www/py-pyocclient/distinfo ============================================================================== --- head/www/py-pyocclient/distinfo Thu Dec 21 15:47:10 2017 (r456913) +++ head/www/py-pyocclient/distinfo Thu Dec 21 16:07:07 2017 (r456914) @@ -1,2 +1,3 @@ -SHA256 (pyocclient-0.1.tar.gz) = b3505e4973bfadda11f9f5d426018f9ea3a373c3ef47b77324ed4f88f195ff43 -SIZE (pyocclient-0.1.tar.gz) = 11749 +TIMESTAMP = 1512341546 +SHA256 (pyocclient-0.4.tar.gz) = d8604f32cf10497a06e57b163b5f9c9bbe2e874a3606c39beeb1453133d563a6 +SIZE (pyocclient-0.4.tar.gz) = 24285 Added: head/www/py-pyocclient/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-pyocclient/files/patch-setup.py Thu Dec 21 16:07:07 2017 (r456914) @@ -0,0 +1,30 @@ +Fix reading of utf-8 formatted files in setup script and fix build +with Python 3.x. + +https://github.com/owncloud/pyocclient/commit/aa6b4374a779bf0f9e060117b2e8d1e810342bc8 + +--- setup.py.orig 2017-01-26 05:22:41 UTC ++++ setup.py +@@ -3,18 +3,19 @@ + # vim: expandtab shiftwidth=4 softtabstop=4 + # + from setuptools import setup ++import io + + version = '0.4' + + long_description = ( +- open('README.rst').read() ++ io.open('README.rst', encoding='utf-8').read() + + '\n' + + 'Contributors\n' + '============\n' + + '\n' + +- open('docs/source/CONTRIBUTORS.rst').read() ++ io.open('docs/source/CONTRIBUTORS.rst', encoding='utf-8').read() + + '\n' + +- open('CHANGES.rst').read() ++ io.open('CHANGES.rst', encoding='utf-8').read() + + '\n') + + setup(