openbsd-ports/net/py-pcapy/patches/patch-setup_py
fgsch d20b03a1d6 install doc under py-XXX making this ready for python 2 and 3.
benoit@ ok as part of a bigger diff sent to ports@.
2011-12-25 23:59:06 +00:00

13 lines
519 B
Plaintext

$OpenBSD: patch-setup_py,v 1.1 2011/12/25 23:59:06 fgsch Exp $
--- setup.py.orig Mon Dec 12 08:57:21 2011
+++ setup.py Mon Dec 12 08:57:34 2011
@@ -60,7 +60,7 @@ setup(name = PACKAGE_NAME,
include_dirs = include_dirs,
library_dirs = library_dirs,
libraries = libraries)],
- data_files = [(os.path.join('share', 'doc', PACKAGE_NAME),
+ data_files = [(os.path.join('share', 'doc', 'py-%s' % PACKAGE_NAME),
['README', 'LICENSE', 'pcapy.html'])],
)