pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-sphinx Remove .pyc file after extraction



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7342319e337f
branches:  trunk
changeset: 355989:7342319e337f
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Dec 16 20:05:58 2016 +0000

description:
Remove .pyc file after extraction

diffstat:

 textproc/py-sphinx/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 43e06d502430 -r 7342319e337f textproc/py-sphinx/Makefile
--- a/textproc/py-sphinx/Makefile       Fri Dec 16 19:20:19 2016 +0000
+++ b/textproc/py-sphinx/Makefile       Fri Dec 16 20:05:58 2016 +0000
@@ -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 @@
 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