$OpenBSD: patch-setup_py,v 1.2 2016/10/31 16:01:22 phessler Exp $
--- setup.py.orig	Sun Oct 30 19:18:00 2016
+++ setup.py	Sun Oct 30 19:19:55 2016
@@ -72,7 +72,9 @@ setup(name=PACKAGE_NAME,
           libraries=libraries)],
       # scripts=['tests/pcapytests.py', 'tests/96pings.pcap'],
       data_files=[
-          (os.path.join('share', 'doc', PACKAGE_NAME),
+          (os.path.join('share', 'doc', '${MODPY_PY_PREFIX}%s' % PACKAGE_NAME),
               ['README', 'LICENSE', 'pcapy.html']),
-          ('tests', ['tests/pcapytests.py', 'tests/96pings.pcap'])]
+          (os.path.join('share', 'doc',
+              '${MODPY_PY_PREFIX}%s' % PACKAGE_NAME, 'tests'),
+              ['tests/pcapytests.py', 'tests/96pings.pcap'])]
       )
