Codebase list flask-restful / 2bed766
Imported Debian patch 0.5-1 Sebastian Ramacher 11 years ago
13 changed file(s) with 176 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 flask-autoindex (0.5-1) experimental; urgency=low
1
2 * Initial release. (Closes: #703531)
3
4 -- Sebastian Ramacher <sramacher@debian.org> Wed, 17 Apr 2013 14:34:53 +0200
0 Flask_AutoIndex.egg-info/*
0 Source: flask-autoindex
1 Section: python
2 Priority: optional
3 Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
4 Uploaders: Sebastian Ramacher <sramacher@debian.org>
5 Build-Depends:
6 debhelper (>= 9),
7 python-all (>= 2.6.6-3~),
8 python-setuptools,
9 python-sphinx (>= 1.0.7+dfsg),
10 python-flask (>= 0.8),
11 python-flask-silk
12 X-Python-Version: >= 2.6
13 Standards-Version: 3.9.4
14 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/flask-autoindex/trunk/
15 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/flask-autoindex/trunk/
16 Homepage: https://github.com/sublee/flask-autoindex
17
18 Package: python-flask-autoindex
19 Architecture: all
20 Depends:
21 ${python:Depends},
22 ${misc:Depends},
23 python-flask (>= 0.8)
24 Suggests:
25 python-flask-autoindex-doc
26 Description: automatically generated index pages for Flask applications
27 Flask-AutoIndex is a Flask extension that generates index pages for
28 directories automatically. The result is similar to the pages generated by
29 Apache's mod_autoindex.
30
31 Package: python-flask-autoindex-doc
32 Architecture: all
33 Section: doc
34 Depends: ${misc:Depends}, ${sphinxdoc:Depends}
35 Description: automatically generated index pages for Flask applications (documentation)
36 Flask-AutoIndex is a Flask extension that generates index pages for
37 directories automatically. The result is similar to the pages generated by
38 Apache's mod_autoindex.
39 .
40 This package contains the documentation.
0 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: Flask-AutoIndex
2 Source: https://pypi.python.org/pypi/Flask-AutoIndex
3 Comment:
4 Flask-AutoIndex uses Flask-Silk (available from python-flask-silk) to serve
5 icons. Per default, the icons from the Silk icon set by Mark James are used.
6 These icons are released under CC-BY-3.0. Before using the icons, read their
7 license which can be found in /usr/share/doc/python-flask-silk/copyright.
8
9 Files: *
10 Copyright: 2010-2013 Heungsub Lee
11 License: BSD-3-clause
12
13 Files: docs/_themes/*
14 Copyright: 2010 Armin Ronacher <armin.ronacher@active-4.com>
15 License: BSD-3-clause
16
17 Files: debian/*
18 Copyright: 2013 Sebastian Ramacher <sramacher@debian.org>
19 License: BSD-3-clause
20
21 License: BSD-3-clause
22 Redistribution and use in source and binary forms, with or without
23 modification, are permitted provided that the following conditions
24 are met:
25 .
26 1. Redistributions of source code must retain the above copyright
27 notice, this list of conditions and the following disclaimer.
28 2. Redistributions in binary form must reproduce the above copyright
29 notice, this list of conditions and the following disclaimer in the
30 documentation and/or other materials provided with the distribution.
31 3. The name of the author may not be used to endorse or promote products
32 derived from this software without specific prior written permission.
33 .
34 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
35 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
36 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
37 IN NO EVENT SHALL THE AUTOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
38 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
39 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
40 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
41 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
42 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
43 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0 Description: add a note about Silk's license
1 Author: Sebastian Ramacher <sramacher@debian.org>
2 Origin: upstream,
3 https://github.com/sebastinas/flask-autoindex/commit/968354e3,
4 https://github.com/sebastinas/flask-autoindex/commit/fb4ea7f7
5 Last-Update: 2013-03-31
6
7 --- flask-autoindex-0.5.orig/docs/index.rst
8 +++ flask-autoindex-0.5/docs/index.rst
9 @@ -13,8 +13,18 @@ awesome! Look at this:
10 This module contains pre-designed template and css file. It is default
11 style, but you can make your own style.
12
13 +.. note::
14 + Flask-AutoIndex uses `Flask-Silk`_ to serve icons. Per default, the icons
15 + from Mark James's `Silk`_ icon set are used. These icons are licensed
16 + under `Creative Commons Attribution 2.5 License <CC-BY-2.5>`_ or
17 + `3.0 License <CC-BY-3.0>`_. Before using the icons, read the license.
18 +
19 .. _Flask: http://flask.pocoo.org/
20 .. _mod_autoindex: http://httpd.apache.org/docs/current/mod/mod_autoindex.html
21 +.. _Flask-Silk: http://packages.python.org/Flask-Silk
22 +.. _Silk: http://www.famfamfam.com/lab/icons/silk/
23 +.. _CC-BY-2.5: http://creativecommons.org/licenses/by/2.5
24 +.. _CC-BY-3.0: http://creativecommons.org/licenses/by/3.0
25
26 Installation
27 ============
28 @@ -112,7 +122,7 @@ Now you can get a silk icon from ``http:
29 ``http://localhost/__icons__/folder.png``.
30
31 .. seealso::
32 - The documentation for `Flask-Silk <http://packages.python.org/Flask-Silk>`_
33 + The documentation for `Flask-Silk`_
34
35 Redesigning the template
36 ````````````````````````
0 doc-silk-license.patch
0 Document: python-flask-autoindex
1 Title: Flask-AutoIndex API Documentation
2 Author: Heungsub Lee
3 Abstract:
4 Flask-AutoIndex adds automatically generated index pages to Flask applications.
5 The result is similar to Apache's mod_autoindex. This is its API documentation.
6 Section: Programming/Python
7
8 Format: HTML
9 Index: /usr/share/doc/python-flask-autoindex-doc/html/index.html
10 Files: /usr/share/doc/python-flask-autoindex-doc/html/*.html
0 #!/usr/bin/make -f
1
2 # Supported Python versions
3 PYVERS = $(shell pyversions -vr)
4
5 # Callable functions to determine the correct PYTHONPATH
6 pythonpath = $$(ls -d $(CURDIR)/build/lib.*-$(1))
7
8 %:
9 dh $@ --with=python2,sphinxdoc
10
11 override_dh_clean:
12 dh_clean
13 rm -rf docs/_build
14
15 override_dh_auto_build:
16 dh_auto_build
17 python setup.py build_sphinx
18
19 override_dh_auto_install:
20 dh_auto_install
21 rm debian/tmp/usr/lib/python*/*-packages/Flask_AutoIndex-*.egg-info/SOURCES.txt
22
23 override_dh_auto_test:
24 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
25 set -ex && for py in $(PYVERS); do \
26 PYTHONPATH=$(call pythonpath,$$py) python$$py setup.py test ;\
27 done
28 endif
0 3.0 (quilt)
0 version=3
1 https://pypi.python.org/pypi/Flask-AutoIndex \
2 .*/Flask-AutoIndex-(.*)\.tar\.gz