diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-21 23:00:35 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-21 23:00:35 +0800 |
commit | a7317a032174b0b30d41ed7de48ed25cf1948dd8 (patch) | |
tree | 0feba5e58e475980016ced4d56150938f2246115 /x11-toolkits | |
parent | e3109b6ea86be7da3fd38d03edcf6eaf1cc364e0 (diff) | |
download | freebsd-ports-gnome-a7317a032174b0b30d41ed7de48ed25cf1948dd8.tar.gz freebsd-ports-gnome-a7317a032174b0b30d41ed7de48ed25cf1948dd8.tar.zst freebsd-ports-gnome-a7317a032174b0b30d41ed7de48ed25cf1948dd8.zip |
- Update to 0.17
- Pass maintainership to submitter
- Add LICENSE
- Add NO_ARCH
PR: 212409
Submitted by: fax@nohik.ee
Approved by: mwm@mired.org (maintainer)
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/py-xlib/Makefile | 18 | ||||
-rw-r--r-- | x11-toolkits/py-xlib/distinfo | 5 | ||||
-rw-r--r-- | x11-toolkits/py-xlib/files/patch-Xlib_protocol_display.py | 11 | ||||
-rw-r--r-- | x11-toolkits/py-xlib/files/patch-display | 19 |
4 files changed, 26 insertions, 27 deletions
diff --git a/x11-toolkits/py-xlib/Makefile b/x11-toolkits/py-xlib/Makefile index c840ea807f1b..bf43d8c0d4ed 100644 --- a/x11-toolkits/py-xlib/Makefile +++ b/x11-toolkits/py-xlib/Makefile @@ -2,17 +2,23 @@ # $FreeBSD$ PORTNAME= xlib -PORTVERSION= 0.14 -PORTREVISION= 1 +PORTVERSION= 0.17 CATEGORIES= x11-toolkits python -MASTER_SITES= SF/python-${PORTNAME}/python-${PORTNAME}/${PORTVERSION} -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= python-xlib-${PORTVERSION} -MAINTAINER= mwm@mired.org +MAINTAINER= fax@nohik.ee COMMENT= X11 library for Python +LICENSE= GPLv2+ + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.7:devel/py-setuptools_scm \ + ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six + +USE_GITHUB= yes +GH_ACCOUNT= python-xlib +GH_PROJECT= python-xlib + USES= python USE_PYTHON= distutils autoplist +NO_ARCH= yes .include <bsd.port.mk> diff --git a/x11-toolkits/py-xlib/distinfo b/x11-toolkits/py-xlib/distinfo index 889ceeac66e4..71653be18e3c 100644 --- a/x11-toolkits/py-xlib/distinfo +++ b/x11-toolkits/py-xlib/distinfo @@ -1,2 +1,3 @@ -SHA256 (python-xlib-0.14.tar.gz) = 4771b0b6a605e0197ece5432fa601c61df724b32544239f463a867200f2160eb -SIZE (python-xlib-0.14.tar.gz) = 200223 +TIMESTAMP = 1474465712 +SHA256 (python-xlib-python-xlib-0.17_GH0.tar.gz) = f856d59169c8675c1dda7184d2beb3074f07628c31c7e32aecebf3a1597edbb4 +SIZE (python-xlib-python-xlib-0.17_GH0.tar.gz) = 230349 diff --git a/x11-toolkits/py-xlib/files/patch-Xlib_protocol_display.py b/x11-toolkits/py-xlib/files/patch-Xlib_protocol_display.py new file mode 100644 index 000000000000..e817b3f634f6 --- /dev/null +++ b/x11-toolkits/py-xlib/files/patch-Xlib_protocol_display.py @@ -0,0 +1,11 @@ +--- Xlib/protocol/display.py.orig 2016-08-10 13:52:51 UTC ++++ Xlib/protocol/display.py +@@ -562,7 +562,7 @@ class Display(object): + # We're the recieving thread, parse the data + if recieving: + try: +- bytes_recv = self.socket.recv(2048) ++ bytes_recv = self.socket.recv(4096) + except socket.error as err: + self.close_internal('server: %s' % err[1]) + raise self.socket_error diff --git a/x11-toolkits/py-xlib/files/patch-display b/x11-toolkits/py-xlib/files/patch-display deleted file mode 100644 index ecb566f399a2..000000000000 --- a/x11-toolkits/py-xlib/files/patch-display +++ /dev/null @@ -1,19 +0,0 @@ ---- Xlib/protocol/display.py 2007-06-10 16:11:58.000000000 +0200 -+++ Xlib/protocol/display.py.port 2009-02-23 22:00:57.000000000 +0100 -@@ -1,6 +1,6 @@ - # $Id: display.py,v 1.25 2007/06/10 14:11:58 mggrant Exp $ - # -*- coding: latin-1 -*- --# -+# -*- coding: latin-1 -*- - # Xlib.protocol.display -- core display communication - # - # Copyright (C) 2000-2002 Peter Liljenberg <petli@ctrl-c.liu.se> -@@ -534,7 +534,7 @@ - # We're the recieving thread, parse the data - if recieving: - try: -- bytes_recv = self.socket.recv(2048) -+ bytes_recv = self.socket.recv(4096) - except socket.error, err: - self.close_internal('server: %s' % err[1]) - raise self.socket_error |