pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-uliweb Update to 0.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b740707a834
branches:  trunk
changeset: 351073:4b740707a834
user:      wen <wen%pkgsrc.org@localhost>
date:      Sat Aug 13 14:14:28 2016 +0000

description:
Update to 0.5

Upstream changes:
0.5 Version

    Fix OneToOne result object not be cached bug
    When access reversed OneToOne property, if OneToOne record not existed, it'll auto create a blank object automatically. And if delete one record, it'll delete reversed onetoone record also.
    Add lock protect when creating request and response local instance in _open() function
    Add ORM Model migrate support
    Refactor SortedDict with dict base class
    Add model_config app, to support dynamic create model
    Add model ipython notebook support
    Refact sqldot
    Add environ variables passing in uliweb shell command
    Change app_url syntax to {'suffix':} to {'prefix':} only for dict data type

    Add URL route option in settings, it is [URL_ROUTE], format is

    [URL_ROUTE]
    any_key_1 = ('mapping_str', 'replacement')
    any_key_2 = ('mapping_str', 'replacement')

    Change uliweb jupyter extension load mechanism from automatically to %load_ext uliweb

diffstat:

 www/py-uliweb/Makefile |    9 +-
 www/py-uliweb/PLIST    |  199 +++++++++++++++++++++++++-----------------------
 www/py-uliweb/distinfo |   10 +-
 3 files changed, 112 insertions(+), 106 deletions(-)

diffs (truncated from 382 to 300 lines):

diff -r 533c0e4b00c1 -r 4b740707a834 www/py-uliweb/Makefile
--- a/www/py-uliweb/Makefile    Sat Aug 13 14:04:37 2016 +0000
+++ b/www/py-uliweb/Makefile    Sat Aug 13 14:14:28 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2016/07/09 13:04:15 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2016/08/13 14:14:28 wen Exp $
 
-DISTNAME=      Uliweb-0.4.1
+DISTNAME=      Uliweb-0.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/U/u/}
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_PYPI:=U/Uliweb/}
@@ -15,14 +15,9 @@
 REPLACE_PYTHON=                uliweb/contrib/csrf/*.py
 REPLACE_PYTHON+=       uliweb/core/*.py
 REPLACE_PYTHON+=       uliweb/i18n/*.py
-REPLACE_PYTHON+=       uliweb/lib/pysimplesoap-1.05a/pysimplesoap-1.05a/pysimplesoap/*.py
-REPLACE_PYTHON+=       uliweb/lib/pysimplesoap-1.05a/pysimplesoap-1.05a/setup.py
-REPLACE_PYTHON+=       uliweb/lib/pysimplesoap-1.05a/pysimplesoap-1.05a/tests/*.py
-REPLACE_PYTHON+=       uliweb/lib/pysimplesoap/*.py
 REPLACE_PYTHON+=       uliweb/lib/rcssmin/rcssmin.py
 REPLACE_PYTHON+=       uliweb/lib/rjsmin/rjsmin.py
 REPLACE_PYTHON+=       uliweb/manage.py
-REPLACE_PYTHON+=       uliweb/template_files/support/fcgi/fcgi_handler.fcgi
 REPLACE_PYTHON+=       uliweb/utils/*.py
 
 .include "../../lang/python/egg.mk"
diff -r 533c0e4b00c1 -r 4b740707a834 www/py-uliweb/PLIST
--- a/www/py-uliweb/PLIST       Sat Aug 13 14:04:37 2016 +0000
+++ b/www/py-uliweb/PLIST       Sat Aug 13 14:14:28 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2016/03/04 13:54:25 wen Exp $
+@comment $NetBSD: PLIST,v 1.5 2016/08/13 14:14:28 wen Exp $
 bin/uliweb
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -38,17 +38,6 @@
 ${PYSITELIB}/uliweb/contrib/auth/views.py
 ${PYSITELIB}/uliweb/contrib/auth/views.pyc
 ${PYSITELIB}/uliweb/contrib/auth/views.pyo
-${PYSITELIB}/uliweb/contrib/bae/__init__.py
-${PYSITELIB}/uliweb/contrib/bae/__init__.pyc
-${PYSITELIB}/uliweb/contrib/bae/__init__.pyo
-${PYSITELIB}/uliweb/contrib/bae/conf.py
-${PYSITELIB}/uliweb/contrib/bae/conf.pyc
-${PYSITELIB}/uliweb/contrib/bae/conf.pyo
-${PYSITELIB}/uliweb/contrib/bae/config.ini
-${PYSITELIB}/uliweb/contrib/bae/info.ini
-${PYSITELIB}/uliweb/contrib/bae/settings.ini
-${PYSITELIB}/uliweb/contrib/bae/static/readme.txt
-${PYSITELIB}/uliweb/contrib/bae/templates/readme.txt
 ${PYSITELIB}/uliweb/contrib/cache/__init__.py
 ${PYSITELIB}/uliweb/contrib/cache/__init__.pyc
 ${PYSITELIB}/uliweb/contrib/cache/__init__.pyo
@@ -57,6 +46,28 @@
 ${PYSITELIB}/uliweb/contrib/cache/conf.pyo
 ${PYSITELIB}/uliweb/contrib/cache/info.ini
 ${PYSITELIB}/uliweb/contrib/cache/settings.ini
+${PYSITELIB}/uliweb/contrib/celery/__init__.py
+${PYSITELIB}/uliweb/contrib/celery/__init__.pyc
+${PYSITELIB}/uliweb/contrib/celery/__init__.pyo
+${PYSITELIB}/uliweb/contrib/celery/commands.py
+${PYSITELIB}/uliweb/contrib/celery/commands.pyc
+${PYSITELIB}/uliweb/contrib/celery/commands.pyo
+${PYSITELIB}/uliweb/contrib/celery/settings.ini
+${PYSITELIB}/uliweb/contrib/celery/tasks.py
+${PYSITELIB}/uliweb/contrib/celery/tasks.pyc
+${PYSITELIB}/uliweb/contrib/celery/tasks.pyo
+${PYSITELIB}/uliweb/contrib/clean/.DS_Store
+${PYSITELIB}/uliweb/contrib/clean/__init__.py
+${PYSITELIB}/uliweb/contrib/clean/__init__.pyc
+${PYSITELIB}/uliweb/contrib/clean/__init__.pyo
+${PYSITELIB}/uliweb/contrib/clean/commands.py
+${PYSITELIB}/uliweb/contrib/clean/commands.pyc
+${PYSITELIB}/uliweb/contrib/clean/commands.pyo
+${PYSITELIB}/uliweb/contrib/clean/static/readme.txt
+${PYSITELIB}/uliweb/contrib/clean/subcommands.py
+${PYSITELIB}/uliweb/contrib/clean/subcommands.pyc
+${PYSITELIB}/uliweb/contrib/clean/subcommands.pyo
+${PYSITELIB}/uliweb/contrib/clean/templates/readme.txt
 ${PYSITELIB}/uliweb/contrib/csrf/__init__.py
 ${PYSITELIB}/uliweb/contrib/csrf/__init__.pyc
 ${PYSITELIB}/uliweb/contrib/csrf/__init__.pyo
@@ -72,18 +83,26 @@
 ${PYSITELIB}/uliweb/contrib/csrf/static/readme.txt
 ${PYSITELIB}/uliweb/contrib/csrf/templates/inc_jquery_csrf.html
 ${PYSITELIB}/uliweb/contrib/csrf/templates/readme.txt
-${PYSITELIB}/uliweb/contrib/dbupload/__init__.py
-${PYSITELIB}/uliweb/contrib/dbupload/__init__.pyc
-${PYSITELIB}/uliweb/contrib/dbupload/__init__.pyo
-${PYSITELIB}/uliweb/contrib/dbupload/conf.py
-${PYSITELIB}/uliweb/contrib/dbupload/conf.pyc
-${PYSITELIB}/uliweb/contrib/dbupload/conf.pyo
-${PYSITELIB}/uliweb/contrib/dbupload/config.ini
-${PYSITELIB}/uliweb/contrib/dbupload/info.ini
-${PYSITELIB}/uliweb/contrib/dbupload/models.py
-${PYSITELIB}/uliweb/contrib/dbupload/models.pyc
-${PYSITELIB}/uliweb/contrib/dbupload/models.pyo
-${PYSITELIB}/uliweb/contrib/dbupload/settings.ini
+${PYSITELIB}/uliweb/contrib/datadict/__init__.py
+${PYSITELIB}/uliweb/contrib/datadict/__init__.pyc
+${PYSITELIB}/uliweb/contrib/datadict/__init__.pyo
+${PYSITELIB}/uliweb/contrib/datadict/commands.py
+${PYSITELIB}/uliweb/contrib/datadict/commands.pyc
+${PYSITELIB}/uliweb/contrib/datadict/commands.pyo
+${PYSITELIB}/uliweb/contrib/datadict/conf.py
+${PYSITELIB}/uliweb/contrib/datadict/conf.pyc
+${PYSITELIB}/uliweb/contrib/datadict/conf.pyo
+${PYSITELIB}/uliweb/contrib/datadict/datadict_subcommands.py
+${PYSITELIB}/uliweb/contrib/datadict/datadict_subcommands.pyc
+${PYSITELIB}/uliweb/contrib/datadict/datadict_subcommands.pyo
+${PYSITELIB}/uliweb/contrib/datadict/info.ini
+${PYSITELIB}/uliweb/contrib/dislock/.DS_Store
+${PYSITELIB}/uliweb/contrib/dislock/README.md
+${PYSITELIB}/uliweb/contrib/dislock/__init__.py
+${PYSITELIB}/uliweb/contrib/dislock/__init__.pyc
+${PYSITELIB}/uliweb/contrib/dislock/__init__.pyo
+${PYSITELIB}/uliweb/contrib/dislock/static/readme.txt
+${PYSITELIB}/uliweb/contrib/dislock/templates/readme.txt
 ${PYSITELIB}/uliweb/contrib/flashmessage/__init__.py
 ${PYSITELIB}/uliweb/contrib/flashmessage/__init__.pyc
 ${PYSITELIB}/uliweb/contrib/flashmessage/__init__.pyo
@@ -135,15 +154,6 @@
 ${PYSITELIB}/uliweb/contrib/generic/template_files/html/templates/list.html
 ${PYSITELIB}/uliweb/contrib/generic/template_files/mmgrid/config.ini
 ${PYSITELIB}/uliweb/contrib/generic/template_files/mmgrid/templates/list.html
-${PYSITELIB}/uliweb/contrib/heroku/__init__.py
-${PYSITELIB}/uliweb/contrib/heroku/__init__.pyc
-${PYSITELIB}/uliweb/contrib/heroku/__init__.pyo
-${PYSITELIB}/uliweb/contrib/heroku/conf.py
-${PYSITELIB}/uliweb/contrib/heroku/conf.pyc
-${PYSITELIB}/uliweb/contrib/heroku/conf.pyo
-${PYSITELIB}/uliweb/contrib/heroku/config.ini
-${PYSITELIB}/uliweb/contrib/heroku/info.ini
-${PYSITELIB}/uliweb/contrib/heroku/settings.ini
 ${PYSITELIB}/uliweb/contrib/i18n/__init__.py
 ${PYSITELIB}/uliweb/contrib/i18n/__init__.pyc
 ${PYSITELIB}/uliweb/contrib/i18n/__init__.pyo
@@ -163,6 +173,20 @@
 ${PYSITELIB}/uliweb/contrib/mail/conf.pyo
 ${PYSITELIB}/uliweb/contrib/mail/info.ini
 ${PYSITELIB}/uliweb/contrib/mail/settings.ini
+${PYSITELIB}/uliweb/contrib/model_config/__init__.py
+${PYSITELIB}/uliweb/contrib/model_config/__init__.pyc
+${PYSITELIB}/uliweb/contrib/model_config/__init__.pyo
+${PYSITELIB}/uliweb/contrib/model_config/commands.py
+${PYSITELIB}/uliweb/contrib/model_config/commands.pyc
+${PYSITELIB}/uliweb/contrib/model_config/commands.pyo
+${PYSITELIB}/uliweb/contrib/model_config/conf.py
+${PYSITELIB}/uliweb/contrib/model_config/conf.pyc
+${PYSITELIB}/uliweb/contrib/model_config/conf.pyo
+${PYSITELIB}/uliweb/contrib/model_config/info.ini
+${PYSITELIB}/uliweb/contrib/model_config/models.py
+${PYSITELIB}/uliweb/contrib/model_config/models.pyc
+${PYSITELIB}/uliweb/contrib/model_config/models.pyo
+${PYSITELIB}/uliweb/contrib/model_config/settings.ini
 ${PYSITELIB}/uliweb/contrib/objcache/__init__.py
 ${PYSITELIB}/uliweb/contrib/objcache/__init__.pyc
 ${PYSITELIB}/uliweb/contrib/objcache/__init__.pyo
@@ -186,13 +210,16 @@
 ${PYSITELIB}/uliweb/contrib/orm/gendoc.py
 ${PYSITELIB}/uliweb/contrib/orm/gendoc.pyc
 ${PYSITELIB}/uliweb/contrib/orm/gendoc.pyo
-${PYSITELIB}/uliweb/contrib/orm/graph.py
-${PYSITELIB}/uliweb/contrib/orm/graph.pyc
-${PYSITELIB}/uliweb/contrib/orm/graph.pyo
 ${PYSITELIB}/uliweb/contrib/orm/info.ini
+${PYSITELIB}/uliweb/contrib/orm/load_table_file.py
+${PYSITELIB}/uliweb/contrib/orm/load_table_file.pyc
+${PYSITELIB}/uliweb/contrib/orm/load_table_file.pyo
 ${PYSITELIB}/uliweb/contrib/orm/middle_notfound.py
 ${PYSITELIB}/uliweb/contrib/orm/middle_notfound.pyc
 ${PYSITELIB}/uliweb/contrib/orm/middle_notfound.pyo
+${PYSITELIB}/uliweb/contrib/orm/middle_orm_reset.py
+${PYSITELIB}/uliweb/contrib/orm/middle_orm_reset.pyc
+${PYSITELIB}/uliweb/contrib/orm/middle_orm_reset.pyo
 ${PYSITELIB}/uliweb/contrib/orm/middle_sqlmonitor.py
 ${PYSITELIB}/uliweb/contrib/orm/middle_sqlmonitor.pyc
 ${PYSITELIB}/uliweb/contrib/orm/middle_sqlmonitor.pyo
@@ -249,6 +276,9 @@
 ${PYSITELIB}/uliweb/contrib/recorder/models.pyc
 ${PYSITELIB}/uliweb/contrib/recorder/models.pyo
 ${PYSITELIB}/uliweb/contrib/recorder/settings.ini
+${PYSITELIB}/uliweb/contrib/recorder/subcommands.py
+${PYSITELIB}/uliweb/contrib/recorder/subcommands.pyc
+${PYSITELIB}/uliweb/contrib/recorder/subcommands.pyo
 ${PYSITELIB}/uliweb/contrib/recorder/template_files/recorder.tpl
 ${PYSITELIB}/uliweb/contrib/recorder/template_files/recorder_row.tpl
 ${PYSITELIB}/uliweb/contrib/redis_cli/__init__.py
@@ -259,15 +289,6 @@
 ${PYSITELIB}/uliweb/contrib/redis_cli/conf.pyo
 ${PYSITELIB}/uliweb/contrib/redis_cli/info.ini
 ${PYSITELIB}/uliweb/contrib/redis_cli/settings.ini
-${PYSITELIB}/uliweb/contrib/sae/__init__.py
-${PYSITELIB}/uliweb/contrib/sae/__init__.pyc
-${PYSITELIB}/uliweb/contrib/sae/__init__.pyo
-${PYSITELIB}/uliweb/contrib/sae/conf.py
-${PYSITELIB}/uliweb/contrib/sae/conf.pyc
-${PYSITELIB}/uliweb/contrib/sae/conf.pyo
-${PYSITELIB}/uliweb/contrib/sae/config.ini
-${PYSITELIB}/uliweb/contrib/sae/info.ini
-${PYSITELIB}/uliweb/contrib/sae/settings.ini
 ${PYSITELIB}/uliweb/contrib/secretkey/__init__.py
 ${PYSITELIB}/uliweb/contrib/secretkey/__init__.pyc
 ${PYSITELIB}/uliweb/contrib/secretkey/__init__.pyo
@@ -402,6 +423,9 @@
 ${PYSITELIB}/uliweb/core/rules.py
 ${PYSITELIB}/uliweb/core/rules.pyc
 ${PYSITELIB}/uliweb/core/rules.pyo
+${PYSITELIB}/uliweb/core/taglibs.py
+${PYSITELIB}/uliweb/core/taglibs.pyc
+${PYSITELIB}/uliweb/core/taglibs.pyo
 ${PYSITELIB}/uliweb/core/template.py
 ${PYSITELIB}/uliweb/core/template.pyc
 ${PYSITELIB}/uliweb/core/template.pyo
@@ -467,22 +491,6 @@
 ${PYSITELIB}/uliweb/lib/colorama/winterm.py
 ${PYSITELIB}/uliweb/lib/colorama/winterm.pyc
 ${PYSITELIB}/uliweb/lib/colorama/winterm.pyo
-${PYSITELIB}/uliweb/lib/pysimplesoap/README
-${PYSITELIB}/uliweb/lib/pysimplesoap/__init__.py
-${PYSITELIB}/uliweb/lib/pysimplesoap/__init__.pyc
-${PYSITELIB}/uliweb/lib/pysimplesoap/__init__.pyo
-${PYSITELIB}/uliweb/lib/pysimplesoap/client.py
-${PYSITELIB}/uliweb/lib/pysimplesoap/client.pyc
-${PYSITELIB}/uliweb/lib/pysimplesoap/client.pyo
-${PYSITELIB}/uliweb/lib/pysimplesoap/server.py
-${PYSITELIB}/uliweb/lib/pysimplesoap/server.pyc
-${PYSITELIB}/uliweb/lib/pysimplesoap/server.pyo
-${PYSITELIB}/uliweb/lib/pysimplesoap/simplexml.py
-${PYSITELIB}/uliweb/lib/pysimplesoap/simplexml.pyc
-${PYSITELIB}/uliweb/lib/pysimplesoap/simplexml.pyo
-${PYSITELIB}/uliweb/lib/pysimplesoap/transport.py
-${PYSITELIB}/uliweb/lib/pysimplesoap/transport.pyc
-${PYSITELIB}/uliweb/lib/pysimplesoap/transport.pyo
 ${PYSITELIB}/uliweb/lib/rcssmin/LICENSE
 ${PYSITELIB}/uliweb/lib/rcssmin/MANIFEST
 ${PYSITELIB}/uliweb/lib/rcssmin/README
@@ -687,72 +695,63 @@
 ${PYSITELIB}/uliweb/orm/__init__.py
 ${PYSITELIB}/uliweb/orm/__init__.pyc
 ${PYSITELIB}/uliweb/orm/__init__.pyo
+${PYSITELIB}/uliweb/orm/graph.py
+${PYSITELIB}/uliweb/orm/graph.pyc
+${PYSITELIB}/uliweb/orm/graph.pyo
 ${PYSITELIB}/uliweb/orm/patch.py
 ${PYSITELIB}/uliweb/orm/patch.pyc
 ${PYSITELIB}/uliweb/orm/patch.pyo
+${PYSITELIB}/uliweb/template_files/.DS_Store
+${PYSITELIB}/uliweb/template_files/app/.DS_Store
+${PYSITELIB}/uliweb/template_files/app/README.md
 ${PYSITELIB}/uliweb/template_files/app/__init__.py
 ${PYSITELIB}/uliweb/template_files/app/__init__.pyc
 ${PYSITELIB}/uliweb/template_files/app/__init__.pyo
-${PYSITELIB}/uliweb/template_files/app/conf.py
-${PYSITELIB}/uliweb/template_files/app/conf.pyc
-${PYSITELIB}/uliweb/template_files/app/conf.pyo
-${PYSITELIB}/uliweb/template_files/app/info.ini
 ${PYSITELIB}/uliweb/template_files/app/static/readme.txt
 ${PYSITELIB}/uliweb/template_files/app/templates/readme.txt
 ${PYSITELIB}/uliweb/template_files/app/views.py
 ${PYSITELIB}/uliweb/template_files/app/views.pyc
 ${PYSITELIB}/uliweb/template_files/app/views.pyo
-${PYSITELIB}/uliweb/template_files/command/commands.py
-${PYSITELIB}/uliweb/template_files/command/commands.pyc
-${PYSITELIB}/uliweb/template_files/command/commands.pyo
+${PYSITELIB}/uliweb/template_files/command/command.tmpl
+${PYSITELIB}/uliweb/template_files/command/command_head.tmpl
 ${PYSITELIB}/uliweb/template_files/config/nginx.conf
 ${PYSITELIB}/uliweb/template_files/config/nginx.ini
 ${PYSITELIB}/uliweb/template_files/config/supervisor.conf
 ${PYSITELIB}/uliweb/template_files/config/supervisor.ini
 ${PYSITELIB}/uliweb/template_files/config/uwsgi.conf
 ${PYSITELIB}/uliweb/template_files/config/uwsgi.ini
+${PYSITELIB}/uliweb/template_files/module/.DS_Store
+${PYSITELIB}/uliweb/template_files/module/.gitignore.template
+${PYSITELIB}/uliweb/template_files/module/README.md
+${PYSITELIB}/uliweb/template_files/module/doc/readme.txt
+${PYSITELIB}/uliweb/template_files/module/module/.DS_Store
+${PYSITELIB}/uliweb/template_files/module/module/__init__.py
+${PYSITELIB}/uliweb/template_files/module/module/__init__.pyc
+${PYSITELIB}/uliweb/template_files/module/module/__init__.pyo
+${PYSITELIB}/uliweb/template_files/module/module/settings.ini
+${PYSITELIB}/uliweb/template_files/module/module/static/readme.txt
+${PYSITELIB}/uliweb/template_files/module/module/templates/readme.txt
+${PYSITELIB}/uliweb/template_files/module/setup.py.template
+${PYSITELIB}/uliweb/template_files/project/.DS_Store
 ${PYSITELIB}/uliweb/template_files/project/.gitignore.template
+${PYSITELIB}/uliweb/template_files/project/README.md
 ${PYSITELIB}/uliweb/template_files/project/apps/__init__.py
 ${PYSITELIB}/uliweb/template_files/project/apps/__init__.pyc
 ${PYSITELIB}/uliweb/template_files/project/apps/__init__.pyo
 ${PYSITELIB}/uliweb/template_files/project/apps/local_settings.ini
 ${PYSITELIB}/uliweb/template_files/project/apps/settings.ini
+${PYSITELIB}/uliweb/template_files/project/doc/readme.txt
 ${PYSITELIB}/uliweb/template_files/project/requirements.txt
-${PYSITELIB}/uliweb/template_files/project/setup.py
-${PYSITELIB}/uliweb/template_files/project/setup.pyc
-${PYSITELIB}/uliweb/template_files/project/setup.pyo
+${PYSITELIB}/uliweb/template_files/project/setup.py.template



Home | Main Index | Thread Index | Old Index