openbsd-ports/databases/py-sqlite2/patches/patch-setup_py
eric c26c3bb5f9 - update to 2.4.0
- do not install useless doc
- nicer Makefile

ok martynas@
2008-01-12 23:05:13 +00:00

21 lines
837 B
Plaintext

$OpenBSD: patch-setup_py,v 1.3 2008/01/12 23:05:13 eric Exp $
--- setup.py.orig Wed Jul 18 01:03:48 2007
+++ setup.py Tue Nov 27 21:53:01 2007
@@ -105,12 +105,10 @@ def get_setup_args():
print "Fatal error: PYSQLITE_VERSION could not be detected!"
sys.exit(1)
- data_files = [("pysqlite2-doc",
- glob.glob("doc/*.html") \
- + glob.glob("doc/*.txt") \
- + glob.glob("doc/*.css")),
- ("pysqlite2-doc/code",
- glob.glob("doc/code/*.py"))]
+ data_files = [("share/doc/py-sqlite2",
+ glob.glob("doc/usage-guide.html") \
+ + glob.glob("doc/usage-guide.txt") \
+ + glob.glob("doc/*.css")), ]
py_modules = ["sqlite"]
setup_args = dict(