diff options
author | wiz <wiz@pkgsrc.org> | 2011-08-22 11:57:14 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-08-22 11:57:14 +0000 |
commit | 8fed251e097fcd30bd3b6242c5e626b7d99d0749 (patch) | |
tree | fb0c945e3bd414c94fb938c1f5a542533ef72c82 /x11/py-Xlib | |
parent | 91dbe5b4dc8410fb6f638d1cc7ec841fdfcd4e38 (diff) | |
download | pkgsrc-8fed251e097fcd30bd3b6242c5e626b7d99d0749.tar.gz |
Add upstream patch fixing __init__.py for python-3.1.
XXX: Now only the PLIST is wrong. :)
Diffstat (limited to 'x11/py-Xlib')
-rw-r--r-- | x11/py-Xlib/distinfo | 3 | ||||
-rw-r--r-- | x11/py-Xlib/patches/patch-Xlib_____init____.py | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/x11/py-Xlib/distinfo b/x11/py-Xlib/distinfo index f3facd3178a..6a32c37592b 100644 --- a/x11/py-Xlib/distinfo +++ b/x11/py-Xlib/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2010/08/07 05:06:33 obache Exp $ +$NetBSD: distinfo,v 1.4 2011/08/22 11:57:14 wiz Exp $ SHA1 (python-xlib-0.14.tar.gz) = e25e3c1284e768d3f84eaebbea4ed3e647c2a05b RMD160 (python-xlib-0.14.tar.gz) = be5610035fb1aee36a55e3e276582e3e31ba1cfc Size (python-xlib-0.14.tar.gz) = 200223 bytes +SHA1 (patch-Xlib_____init____.py) = 201d4855b03534204723d88522d6af3529e5bd6c diff --git a/x11/py-Xlib/patches/patch-Xlib_____init____.py b/x11/py-Xlib/patches/patch-Xlib_____init____.py new file mode 100644 index 00000000000..2fdbcae91ad --- /dev/null +++ b/x11/py-Xlib/patches/patch-Xlib_____init____.py @@ -0,0 +1,21 @@ +$NetBSD: patch-Xlib_____init____.py,v 1.1 2011/08/22 11:57:14 wiz Exp $ + +Get rid of "import string". From upstream SVN 123. + +--- Xlib/__init__.py.orig 2007-06-10 14:11:58.000000000 +0000 ++++ Xlib/__init__.py +@@ -18,13 +18,11 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +-import string +- + __version__ = (0, 12) + + __version_extra__ = '' + +-__version_string__ = string.join(map(str, __version__), '.') + __version_extra__ ++__version_string__ = '.'.join(map(str, __version__)) + __version_extra__ + + __all__ = [ + 'X', |