pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-sphinx



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Dec 16 20:05:59 UTC 2016

Modified Files:
        pkgsrc/textproc/py-sphinx: Makefile

Log Message:
Remove .pyc file after extraction


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/textproc/py-sphinx/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-sphinx/Makefile
diff -u pkgsrc/textproc/py-sphinx/Makefile:1.34 pkgsrc/textproc/py-sphinx/Makefile:1.35
--- pkgsrc/textproc/py-sphinx/Makefile:1.34     Thu Dec 15 11:04:10 2016
+++ pkgsrc/textproc/py-sphinx/Makefile  Fri Dec 16 20:05:58 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2016/12/15 11:04:10 adam Exp $
+# $NetBSD: Makefile,v 1.35 2016/12/16 20:05:58 adam Exp $
 
 DISTNAME=      Sphinx-1.5.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -32,6 +32,9 @@ USE_TOOLS+=   makeinfo
 do-test:
        cd ${WRKSRC}/tests && ${PYTHONBIN} run.py
 
+post-extract:
+       ${RM} ${WRKSRC}/sphinx/locale/__init__.pyc
+
 post-install:
        ${MV} ${DESTDIR}${PREFIX}/bin/sphinx-apidoc ${DESTDIR}${PREFIX}/bin/sphinx-apidoc${PYVERSSUFFIX}
        ${MV} ${DESTDIR}${PREFIX}/bin/sphinx-autogen ${DESTDIR}${PREFIX}/bin/sphinx-autogen${PYVERSSUFFIX}



Home | Main Index | Thread Index | Old Index