aboutsummaryrefslogtreecommitdiffstats
path: root/dns/py-dns
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2006-10-12 00:20:45 +0800
committerdelphij <delphij@FreeBSD.org>2006-10-12 00:20:45 +0800
commit5a2a5a20a0272d586015b1e2885e9e386de44606 (patch)
treef7fbeb3817d8be6db220f29fe7f1d59909f13693 /dns/py-dns
parentc29df796aa7a2dcddd7d8c4d01f872104fe40a7a (diff)
downloadfreebsd-ports-gnome-5a2a5a20a0272d586015b1e2885e9e386de44606.tar.gz
freebsd-ports-gnome-5a2a5a20a0272d586015b1e2885e9e386de44606.tar.zst
freebsd-ports-gnome-5a2a5a20a0272d586015b1e2885e9e386de44606.zip
Fix build with Python 2.5 by adding encoding information on
two files, as requested by pep-0263. Approved by: portmgr/maintainer (linimon)
Diffstat (limited to 'dns/py-dns')
-rw-r--r--dns/py-dns/Makefile1
-rw-r--r--dns/py-dns/files/patch-DNS-Lib.py7
-rw-r--r--dns/py-dns/files/patch-DNS-Type.py7
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 $
+