Johannes Schilling <da...@deaktualisierung.org> writes: > any progress on this? i would be happy to see python-flask-admin > packaged, and would be willing to do some work myself if necessary, > but don't want to interfere with what you already got.
No, not really. This proved to be much more work than I had expected due to the big pile of embedded minified javascript, and I ran out of time before getting this into an uploadable state. Recently I was actually considering marking this bug as an RFP instead. If you have the time to work on this feel free to take over. I have attached a patch containing my work in progress packaging. -- Arto Jantunen
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..17fa5fd --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +flask-admin (1.0.9-1) unstable; urgency=low + + * Initial release + + -- Arto Jantunen <vi...@debian.org> Tue, 12 Aug 2014 15:37:50 +0300 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..56fb522 --- /dev/null +++ b/debian/control @@ -0,0 +1,74 @@ +Source: flask-admin +Section: python +Priority: optional +Maintainer: Arto Jantunen <vi...@debian.org> +Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3~), dh-python, python-setuptools, python3-all, python3-setuptools, python-sphinx (>= 1.0.7+dfsg-1~), python-nose, python-flask, python-wtforms, python-flask-sqlalchemy, python-pymongo +Standards-Version: 3.9.2.0 +X-Python-Version: >= 2.5 +X-Python3-Version: >= 3.2 + +Package: python-flask-admin +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-pkg-resources +Suggests: python-flask-admin-doc +Description: admin interface extension for Flask + Flask-Admin is a batteries-included, simple-to-use Flask extension that lets + you add admin interfaces to Flask applications. It is inspired by the + *django-admin* package, but implemented in such a way that the developer has + total control of the look, feel and functionality of the resulting + application. + . + Out-of-the-box, Flask-Admin plays nicely with various ORM's, including + . + - SQLAlchemy + - MongoEngine + - pymongo + - Peewee + . + It also boasts a simple file management interface and a redis client console. + . + This is the Python 2 version of the package. + +Package: python3-flask-admin +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends}, python3-pkg-resources +Suggests: python-flask-admin-doc +Description: admin interface extension for Flask + Flask-Admin is a batteries-included, simple-to-use Flask extension that lets + you add admin interfaces to Flask applications. It is inspired by the + *django-admin* package, but implemented in such a way that the developer has + total control of the look, feel and functionality of the resulting + application. + . + Out-of-the-box, Flask-Admin plays nicely with various ORM's, including + . + - SQLAlchemy + - MongoEngine + - pymongo + - Peewee + . + It also boasts a simple file management interface and a redis client console. + . + This is the Python 3 version of the package. + +Package: python-flask-admin-doc +Architecture: all +Depends: ${misc:Depends}, ${sphinxdoc:Depends} +Section: doc +Description: admin interface extension for Flask + Flask-Admin is a batteries-included, simple-to-use Flask extension that lets + you add admin interfaces to Flask applications. It is inspired by the + *django-admin* package, but implemented in such a way that the developer has + total control of the look, feel and functionality of the resulting + application. + . + Out-of-the-box, Flask-Admin plays nicely with various ORM's, including + . + - SQLAlchemy + - MongoEngine + - pymongo + - Peewee + . + It also boasts a simple file management interface and a redis client console. + . + This package contains the documentation. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e7caaa9 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Arto Jantunen <vi...@debian.org> on +Wed, 15 Oct 2014 13:36:01 +0300. + +It was downloaded from https://github.com/mrjoes/flask-admin + +Upstream Author: Serge S. Koval + +Copyright: + +Copyright (c) 2014, Serge S. Koval and contributors. See AUTHORS +for more details. + +Some rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Names of the contributors may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL SERGE KOVAL BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/python-flask-admin-doc.docs b/debian/python-flask-admin-doc.docs new file mode 100644 index 0000000..47e372b --- /dev/null +++ b/debian/python-flask-admin-doc.docs @@ -0,0 +1,4 @@ +build/html +examples +README.rst +AUTHORS diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..24a1f03 --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f +export PYBUILD_NAME=flask-admin +export PYBUILD_AFTER_INSTALL=rm -r {destdir}{install_dir}/examples + +%: + dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild + +override_dh_auto_build: + dh_auto_build + PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/html # HTML generator + +override_dh_auto_test: + +override_dh_installchangelogs: + dh_installchangelogs doc/changelog.rst diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)