diff options
author | Xin LI <delphij@FreeBSD.org> | 2006-10-11 16:20:45 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2006-10-11 16:20:45 +0000 |
commit | 960e3b3430c66abf425eaf7477a2681522cf0d27 (patch) | |
tree | 550ed938d0e86502043ab8246fc4b51df6871b33 | |
parent | - Japanese Codecs in pythonlib bundled with mailman do not work with python 2... (diff) |
Fix build with Python 2.5 by adding encoding information on
two files, as requested by pep-0263.
Approved by: portmgr/maintainer (linimon)
Notes
Notes:
svn path=/head/; revision=175215
-rw-r--r-- | dns/py-dns/Makefile | 1 | ||||
-rw-r--r-- | dns/py-dns/files/patch-DNS-Lib.py | 7 | ||||
-rw-r--r-- | dns/py-dns/files/patch-DNS-Type.py | 7 |
3 files changed, 15 insertions, 0 deletions
diff --git a/dns/py-dns/Makefile b/dns/py-dns/Makefile index e119f81d6ba2..062513da92aa 100644 --- a/dns/py-dns/Makefile +++ b/dns/py-dns/Makefile @@ -7,6 +7,7 @@ PORTNAME= dns PORTVERSION= 2.3.0 +PORTREVISION= 1 CATEGORIES= dns python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pydns diff --git a/dns/py-dns/files/patch-DNS-Lib.py b/dns/py-dns/files/patch-DNS-Lib.py new file mode 100644 index 000000000000..c1e3802b8c2c --- /dev/null +++ b/dns/py-dns/files/patch-DNS-Lib.py @@ -0,0 +1,7 @@ +--- DNS/Lib.py.origWed Oct 11 05:45:08 2006 ++++ DNS/Lib.pyWed Oct 11 05:46:19 2006 +@@ -1,3 +1,4 @@ ++# This Python file uses the following encoding: iso8859-1 + """ + $Id: Lib.py,v 1.11 2002/03/19 13:05:02 anthonybaxter Exp $ + diff --git a/dns/py-dns/files/patch-DNS-Type.py b/dns/py-dns/files/patch-DNS-Type.py new file mode 100644 index 000000000000..1669c999b265 --- /dev/null +++ b/dns/py-dns/files/patch-DNS-Type.py @@ -0,0 +1,7 @@ +--- DNS/Type.py.origWed Oct 11 05:44:59 2006 ++++ DNS/Type.pyWed Oct 11 05:46:26 2006 +@@ -1,3 +1,4 @@ ++# This Python file uses the following encoding: iso8859-1 + """ + $Id: Type.py,v 1.6 2002/03/19 12:41:33 anthonybaxter Exp $ + |