ports/ftp/py-pycurl/files/patch-setup.py
Sunpoet Po-Chuan Hsieh 5f74204fe1 Add DOCS option
- Fix documentation installation:
  - Avoid conflicts between FLAVORS
  - Do not install license files
- Bump PORTREVISION for package change

PR:		224108
Reported by:	Ting-Wei Lan <lantw44@gmail.com>
2017-12-07 16:00:23 +00:00

10 lines
437 B
Python

--- setup.py.orig 2016-02-04 04:39:06 UTC
+++ setup.py
@@ -815,7 +815,6 @@ if __name__ == "__main__":
elif len(sys.argv) > 1 and sys.argv[1] == 'docstrings-sources':
gen_docstrings_sources()
else:
- setup_args['data_files'] = get_data_files()
if 'PYCURL_RELEASE' in os.environ and os.environ['PYCURL_RELEASE'].lower() in ['1', 'yes', 'true']:
split_extension_source = False
else: