openbsd-ports/textproc/calibre/patches/patch-setup_install_py
phessler ed103c971c calibre is a free and open source e-book library management application
developed by users of e-books for users of e-books. It has a cornucopia
of features divided into the following main categories:
 * Library Management
 * E-book conversion
 * Syncing to e-book reader devices
 * Downloading news from the web and converting it into e-book form
 * Comprehensive e-book viewer
 * Content server for online access to your book collection

OK laurent@, jasper@
2011-04-17 18:39:21 +00:00

13 lines
643 B
Plaintext

$OpenBSD: patch-setup_install_py,v 1.1.1.1 2011/04/17 18:39:21 phessler Exp $
--- setup/install.py.orig Thu Jan 27 09:50:17 2011
+++ setup/install.py Thu Jan 27 09:50:20 2011
@@ -269,7 +269,7 @@ class Install(Develop):
reldir = os.path.relpath(x[0], self.SRC)
destdir = os.path.join(dest, reldir)
for f in x[-1]:
- if os.path.splitext(f)[1] in ('.py', '.so'):
+ if os.path.splitext(f)[1] in ('.py', '.pyc', '.so'):
if not os.path.exists(destdir):
os.makedirs(destdir)
shutil.copy2(self.j(x[0], f), destdir)