ports/sysutils/py-halite/files/patch-setup.py
Kubilay Kocak e456aafbab sysutils/py-halite: Update to 0.1.15 & Modernise
- Update to 0.1.15
- Deprecate easy_install target
- Enable AUTOPLIST
- BUILD_DEPENDS are actually RUN_DEPENDS
- Remove NOOP post-patch: target
- Patch out "../LICENSE" from package_data in setup.py, which is
  --record'ed verbatim and causes tar to bail out at install: time with
  "Path contains '..'" [1]

[1] https://wiki.freebsd.org/action/diff/Python?action=diff&rev1=118&rev2=119

PR:		ports/185078
Submitted by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
Approved by:	maintainer timeout (1 month)
2014-02-02 07:46:00 +00:00

11 lines
550 B
Python

--- ./setup.py.orig 2013-12-21 08:59:30.000000000 +1100
+++ ./setup.py 2014-01-29 19:27:01.992938843 +1100
@@ -24,7 +24,7 @@
'screenshots', 'screenshots.*']),
package_data={
'': ['*.txt', '*.md', '*.rst', '*.json', '*.conf', '*.html',
- '*.css', '*.ico', '*.png', '../LICENSE'],
+ '*.css', '*.ico', '*.png'],
'halite': ['app/*.txt', 'app/*/*.txt',
'app/*.ico', 'app/*/*.ico',
'app/*.png', 'app/*/*.png',