1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/www/py-nevow/files/patch-setup.py
Marcus von Appen 0063a8051f - Enable stagedir support
- Remove easy_install dependency
- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION to enforce a cleanup for the easy_install references

With hat:	python@
Approved by:	portmgr (implicit)
2014-06-19 17:39:11 +00:00

24 lines
832 B
Python

--- setup.py.orig 2014-06-19 18:38:48.000000000 +0200
+++ setup.py 2014-06-19 18:38:59.000000000 +0200
@@ -9,13 +9,13 @@
import os
data_files=[]
-for (dirpath, dirnames, filenames) in os.walk("doc"):
- if ".svn" in dirnames:
- del dirnames[dirnames.index(".svn")]
- thesedocs = []
- for fname in filenames:
- thesedocs.append(os.path.join(dirpath, fname))
- data_files.append((dirpath, thesedocs))
+#for (dirpath, dirnames, filenames) in os.walk("doc"):
+# if ".svn" in dirnames:
+# del dirnames[dirnames.index(".svn")]
+# thesedocs = []
+# for fname in filenames:
+# thesedocs.append(os.path.join(dirpath, fname))
+# data_files.append((dirpath, thesedocs))
data_files.append((os.path.join('twisted', 'plugins'), [os.path.join('twisted', 'plugins', 'nevow_widget.py')]))