mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
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)
This commit is contained in:
parent
a3c2a49fbf
commit
b6c5c27475
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456914
@ -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 <bsd.port.mk>
|
||||
|
@ -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
|
||||
|
30
www/py-pyocclient/files/patch-setup.py
Normal file
30
www/py-pyocclient/files/patch-setup.py
Normal file
@ -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(
|
Loading…
Reference in New Issue
Block a user