pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-flask-admin Remove pre-compiled binaries and ad...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b41d580615a
branches:  trunk
changeset: 629298:0b41d580615a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 19 17:38:12 2014 +0000

description:
Remove pre-compiled binaries and adapt PLIST.
Bump PKGREVISION.

diffstat:

 www/py-flask-admin/Makefile |  41 ++++++++++++++++++++++++++++++++++++++++-
 www/py-flask-admin/PLIST    |  20 +-------------------
 2 files changed, 41 insertions(+), 20 deletions(-)

diffs (138 lines):

diff -r 2ab860ba39f3 -r 0b41d580615a www/py-flask-admin/Makefile
--- a/www/py-flask-admin/Makefile       Sun Jan 19 17:16:56 2014 +0000
+++ b/www/py-flask-admin/Makefile       Sun Jan 19 17:38:12 2014 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2013/10/27 21:58:30 kleink Exp $
+# $NetBSD: Makefile,v 1.6 2014/01/19 17:38:12 wiz Exp $
 
 DISTNAME=      Flask-Admin-1.0.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION=   1
 CATEGORIES=    www python
 MASTER_SITES=  http://pypi.python.org/packages/source/F/Flask-Admin/
 
@@ -17,6 +18,44 @@
 DEPENDS+=      ${PYPKGPREFIX}-flask>=0.7:../../www/py-flask
 DEPENDS+=      ${PYPKGPREFIX}-wtforms-[0-9]*:../../www/py-wtforms
 
+# remove pre-compiled binaries
+post-extract:
+       ${RM} ${WRKSRC}/flask_admin/tests/__pycache__/__init__.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/__pycache__/test_base.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/__pycache__/test_form_upload.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/__pycache__/test_model.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/fileadmin/__pycache__/__init__.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/fileadmin/__pycache__/test_fileadmin.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/mongoengine/__pycache__/__init__.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/mongoengine/__pycache__/test_basic.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/peeweemodel/__pycache__/__init__.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/peeweemodel/__pycache__/test_basic.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/pymongo/__pycache__/__init__.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/pymongo/__pycache__/test_basic.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/sqlamodel/__pycache__/__init__.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/sqlamodel/__pycache__/test_basic.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/sqlamodel/__pycache__/test_form_rules.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/sqlamodel/__pycache__/test_inlineform.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/translations/__pycache__/__init__.cpython-33.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/__init__.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/fileadmin/__init__.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/fileadmin/test_fileadmin.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/mongoengine/__init__.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/mongoengine/test_basic.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/peeweemodel/__init__.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/peeweemodel/test_basic.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/pymongo/__init__.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/pymongo/test_basic.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/sqlamodel/__init__.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/sqlamodel/test_basic.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/sqlamodel/test_form_rules.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/sqlamodel/test_inlineform.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/test_base.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/test_form.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/test_form_upload.pyc
+       ${RM} ${WRKSRC}/flask_admin/tests/test_model.pyc
+       ${RM} ${WRKSRC}/flask_admin/translations/__init__.pyc
+
 post-install:
 .for i in LICENSE select2.min.js
        ${CHMOD} -x \
diff -r 2ab860ba39f3 -r 0b41d580615a www/py-flask-admin/PLIST
--- a/www/py-flask-admin/PLIST  Sun Jan 19 17:16:56 2014 +0000
+++ b/www/py-flask-admin/PLIST  Sun Jan 19 17:38:12 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2013/10/27 21:58:30 kleink Exp $
+@comment $NetBSD: PLIST,v 1.5 2014/01/19 17:38:12 wiz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -225,10 +225,6 @@
 ${PYSITELIB}/flask_admin/tests/__init__.py
 ${PYSITELIB}/flask_admin/tests/__init__.pyc
 ${PYSITELIB}/flask_admin/tests/__init__.pyo
-${PYSITELIB}/flask_admin/tests/__pycache__/__init__.cpython-33.pyc
-${PYSITELIB}/flask_admin/tests/__pycache__/test_base.cpython-33.pyc
-${PYSITELIB}/flask_admin/tests/__pycache__/test_form_upload.cpython-33.pyc
-${PYSITELIB}/flask_admin/tests/__pycache__/test_model.cpython-33.pyc
 ${PYSITELIB}/flask_admin/tests/data/copyleft.jpg
 ${PYSITELIB}/flask_admin/tests/data/copyleft.png
 ${PYSITELIB}/flask_admin/tests/data/copyleft.tiff
@@ -236,8 +232,6 @@
 ${PYSITELIB}/flask_admin/tests/fileadmin/__init__.py
 ${PYSITELIB}/flask_admin/tests/fileadmin/__init__.pyc
 ${PYSITELIB}/flask_admin/tests/fileadmin/__init__.pyo
-${PYSITELIB}/flask_admin/tests/fileadmin/__pycache__/__init__.cpython-33.pyc
-${PYSITELIB}/flask_admin/tests/fileadmin/__pycache__/test_fileadmin.cpython-33.pyc
 ${PYSITELIB}/flask_admin/tests/fileadmin/files/dummy.txt
 ${PYSITELIB}/flask_admin/tests/fileadmin/test_fileadmin.py
 ${PYSITELIB}/flask_admin/tests/fileadmin/test_fileadmin.pyc
@@ -248,34 +242,24 @@
 ${PYSITELIB}/flask_admin/tests/mongoengine/__init__.py
 ${PYSITELIB}/flask_admin/tests/mongoengine/__init__.pyc
 ${PYSITELIB}/flask_admin/tests/mongoengine/__init__.pyo
-${PYSITELIB}/flask_admin/tests/mongoengine/__pycache__/__init__.cpython-33.pyc
-${PYSITELIB}/flask_admin/tests/mongoengine/__pycache__/test_basic.cpython-33.pyc
 ${PYSITELIB}/flask_admin/tests/mongoengine/test_basic.py
 ${PYSITELIB}/flask_admin/tests/mongoengine/test_basic.pyc
 ${PYSITELIB}/flask_admin/tests/mongoengine/test_basic.pyo
 ${PYSITELIB}/flask_admin/tests/peeweemodel/__init__.py
 ${PYSITELIB}/flask_admin/tests/peeweemodel/__init__.pyc
 ${PYSITELIB}/flask_admin/tests/peeweemodel/__init__.pyo
-${PYSITELIB}/flask_admin/tests/peeweemodel/__pycache__/__init__.cpython-33.pyc
-${PYSITELIB}/flask_admin/tests/peeweemodel/__pycache__/test_basic.cpython-33.pyc
 ${PYSITELIB}/flask_admin/tests/peeweemodel/test_basic.py
 ${PYSITELIB}/flask_admin/tests/peeweemodel/test_basic.pyc
 ${PYSITELIB}/flask_admin/tests/peeweemodel/test_basic.pyo
 ${PYSITELIB}/flask_admin/tests/pymongo/__init__.py
 ${PYSITELIB}/flask_admin/tests/pymongo/__init__.pyc
 ${PYSITELIB}/flask_admin/tests/pymongo/__init__.pyo
-${PYSITELIB}/flask_admin/tests/pymongo/__pycache__/__init__.cpython-33.pyc
-${PYSITELIB}/flask_admin/tests/pymongo/__pycache__/test_basic.cpython-33.pyc
 ${PYSITELIB}/flask_admin/tests/pymongo/test_basic.py
 ${PYSITELIB}/flask_admin/tests/pymongo/test_basic.pyc
 ${PYSITELIB}/flask_admin/tests/pymongo/test_basic.pyo
 ${PYSITELIB}/flask_admin/tests/sqlamodel/__init__.py
 ${PYSITELIB}/flask_admin/tests/sqlamodel/__init__.pyc
 ${PYSITELIB}/flask_admin/tests/sqlamodel/__init__.pyo
-${PYSITELIB}/flask_admin/tests/sqlamodel/__pycache__/__init__.cpython-33.pyc
-${PYSITELIB}/flask_admin/tests/sqlamodel/__pycache__/test_basic.cpython-33.pyc
-${PYSITELIB}/flask_admin/tests/sqlamodel/__pycache__/test_form_rules.cpython-33.pyc
-${PYSITELIB}/flask_admin/tests/sqlamodel/__pycache__/test_inlineform.cpython-33.pyc
 ${PYSITELIB}/flask_admin/tests/sqlamodel/templates/another_macro.html
 ${PYSITELIB}/flask_admin/tests/sqlamodel/templates/macro.html
 ${PYSITELIB}/flask_admin/tests/sqlamodel/test_basic.py
@@ -292,7 +276,6 @@
 ${PYSITELIB}/flask_admin/tests/test_base.py
 ${PYSITELIB}/flask_admin/tests/test_base.pyc
 ${PYSITELIB}/flask_admin/tests/test_base.pyo
-${PYSITELIB}/flask_admin/tests/test_form.pyc
 ${PYSITELIB}/flask_admin/tests/test_form_upload.py
 ${PYSITELIB}/flask_admin/tests/test_form_upload.pyc
 ${PYSITELIB}/flask_admin/tests/test_form_upload.pyo
@@ -307,7 +290,6 @@
 ${PYSITELIB}/flask_admin/translations/__init__.py
 ${PYSITELIB}/flask_admin/translations/__init__.pyc
 ${PYSITELIB}/flask_admin/translations/__init__.pyo
-${PYSITELIB}/flask_admin/translations/__pycache__/__init__.cpython-33.pyc
 ${PYSITELIB}/flask_admin/translations/cs/LC_MESSAGES/admin.mo
 ${PYSITELIB}/flask_admin/translations/cs/LC_MESSAGES/admin.po
 ${PYSITELIB}/flask_admin/translations/de/LC_MESSAGES/admin.mo



Home | Main Index | Thread Index | Old Index