[Python-modules-commits] [flask-autoindex] 01/01: Bringing back into dpmt

Jonathan Cristopher Carter jcc at moszumanska.debian.org
Mon Sep 4 12:16:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

jcc pushed a commit to branch master
in repository flask-autoindex.

commit 44f0f38a3391f2d96c7dda74d02ddeece34cf573
Author: Jonathan Carter <jcarter at linux.com>
Date:   Mon Sep 4 14:16:37 2017 +0200

    Bringing back into dpmt
---
 Flask_AutoIndex.egg-info/PKG-INFO             |  36 ---
 Flask_AutoIndex.egg-info/SOURCES.txt          | 141 ----------
 Flask_AutoIndex.egg-info/dependency_links.txt |   1 -
 Flask_AutoIndex.egg-info/not-zip-safe         |   1 -
 Flask_AutoIndex.egg-info/requires.txt         |   2 -
 Flask_AutoIndex.egg-info/top_level.txt        |   1 -
 PKG-INFO                                      |   2 +-
 debian/.git-dpm                               |  11 -
 debian/changelog                              |  47 +++-
 debian/compat                                 |   2 +-
 debian/control                                |  36 ++-
 debian/copyright                              |   7 +-
 debian/patches/doc-silk-license.patch         |  47 ----
 debian/patches/flask-0.10.patch               |  50 ----
 debian/patches/series                         |   3 +-
 debian/patches/use-default-theme.patch        |  24 ++
 debian/python-flask-autoindex.install         |   2 +
 debian/python-flask-autoindex.links           |   5 +
 debian/python-flask-autoindex.pyremove        |   4 +
 debian/python3-flask-autoindex.install        |   3 +
 debian/python3-flask-autoindex.links          |   5 +
 debian/python3-flask-autoindex.pyremove       |   4 +
 debian/rules                                  |  19 +-
 debian/watch                                  |   4 +-
 docs/_themes/LICENSE                          |  37 ---
 docs/_themes/README                           |  31 ---
 docs/_themes/flask/layout.html                |  16 --
 docs/_themes/flask/relations.html             |  19 --
 docs/_themes/flask/static/flasky.css_t        | 387 --------------------------
 docs/_themes/flask/static/small_flask.css     |  70 -----
 docs/_themes/flask/theme.conf                 |   7 -
 docs/_themes/flask_small/layout.html          |  22 --
 docs/_themes/flask_small/static/flasky.css_t  | 287 -------------------
 docs/_themes/flask_small/theme.conf           |  10 -
 docs/_themes/flask_theme_support.py           |  86 ------
 docs/conf.py                                  |   2 +-
 docs/index.rst                                |  33 ++-
 flask_autoindex/__init__.py                   |  85 ++++--
 flask_autoindex/entry.py                      |  45 +--
 flask_autoindex/icons.py                      |   7 +-
 flask_autoindex/run.py                        |  10 +
 flaskext/autoindex/converters.py              |  37 ---
 flaskext/test.py                              |   1 -
 setup.py                                      |  11 +-
 tests/__init__.py                             |  59 ++--
 tests/blueprinttest/static/asc.gif            | Bin 53 -> 0 bytes
 tests/blueprinttest/static/autoindex.css      | 171 ------------
 tests/blueprinttest/static/desc.gif           | Bin 53 -> 0 bytes
 tests/static/test.bak                         |   0
 49 files changed, 307 insertions(+), 1583 deletions(-)

diff --git a/Flask_AutoIndex.egg-info/PKG-INFO b/Flask_AutoIndex.egg-info/PKG-INFO
deleted file mode 100644
index d724ab1..0000000
--- a/Flask_AutoIndex.egg-info/PKG-INFO
+++ /dev/null
@@ -1,36 +0,0 @@
-Metadata-Version: 1.1
-Name: Flask-AutoIndex
-Version: 0.5
-Summary: The mod_autoindex for Flask
-Home-page: http://pythonhosted.org/Flask-AutoIndex
-Author: Heungsub Lee
-Author-email: sub at subl.ee
-License: BSD
-Description: 
-        Flask-AutoIndex
-        ---------------
-        
-        Flask-AutoIndex generates an index page for your `Flask`_ application
-        automatically. The result just like `mod_autoindex`_, but the look is more
-        awesome! Look at this:
-        
-        .. _Flask: http://flask.pocoo.org/
-        .. _mod_autoindex: http://httpd.apache.org/docs/current/mod/mod_autoindex.html
-        
-        Links
-        `````
-        
-        * `documentation <http://packages.python.org/Flask-AutoIndex/>`_
-        * `development version
-          <http://github.com/sublee/flask-autoindex/zipball/master#egg=flask-autoindex-dev>`_
-        
-        
-Platform: any
-Classifier: Development Status :: 4 - Beta
-Classifier: Environment :: Web Environment
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: BSD License
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python
-Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff --git a/Flask_AutoIndex.egg-info/SOURCES.txt b/Flask_AutoIndex.egg-info/SOURCES.txt
deleted file mode 100644
index 701467a..0000000
--- a/Flask_AutoIndex.egg-info/SOURCES.txt
+++ /dev/null
@@ -1,141 +0,0 @@
-LICENSE
-MANIFEST.in
-README
-setup.cfg
-setup.py
-Flask_AutoIndex.egg-info/PKG-INFO
-Flask_AutoIndex.egg-info/SOURCES.txt
-Flask_AutoIndex.egg-info/dependency_links.txt
-Flask_AutoIndex.egg-info/not-zip-safe
-Flask_AutoIndex.egg-info/requires.txt
-Flask_AutoIndex.egg-info/top_level.txt
-docs/conf.py
-docs/index.rst
-docs/_static/example.png
-docs/_static/flask-autoindex.png
-docs/_themes/LICENSE
-docs/_themes/README
-docs/_themes/flask_theme_support.py
-docs/_themes/flask/layout.html
-docs/_themes/flask/relations.html
-docs/_themes/flask/theme.conf
-docs/_themes/flask/static/flasky.css_t
-docs/_themes/flask/static/small_flask.css
-docs/_themes/flask_small/layout.html
-docs/_themes/flask_small/theme.conf
-docs/_themes/flask_small/static/flasky.css_t
-flask_autoindex/__init__.py
-flask_autoindex/entry.py
-flask_autoindex/icons.py
-flask_autoindex/static/asc.gif
-flask_autoindex/static/autoindex.css
-flask_autoindex/static/desc.gif
-flask_autoindex/templates/__autoindex__/autoindex.html
-flask_autoindex/templates/__autoindex__/macros.html
-flaskext/test.py
-flaskext/autoindex/converters.py
-tests/__init__.py
-tests/blueprinttest/__init__.py
-tests/blueprinttest/static/asc.gif
-tests/blueprinttest/static/autoindex.css
-tests/blueprinttest/static/desc.gif
-tests/static/helloworld.txt
-tests/static/test.7z
-tests/static/test.ai
-tests/static/test.alz
-tests/static/test.app
-tests/static/test.applescript
-tests/static/test.asp
-tests/static/test.avi
-tests/static/test.bak
-tests/static/test.bat
-tests/static/test.bin
-tests/static/test.bmp
-tests/static/test.bup
-tests/static/test.c
-tests/static/test.cab
-tests/static/test.cer
-tests/static/test.cfg
-tests/static/test.cgi
-tests/static/test.com
-tests/static/test.conf
-tests/static/test.cpl
-tests/static/test.cpp
-tests/static/test.css
-tests/static/test.csv
-tests/static/test.cur
-tests/static/test.db
-tests/static/test.dll
-tests/static/test.dmg
-tests/static/test.doc
-tests/static/test.docx
-tests/static/test.eps
-tests/static/test.exe
-tests/static/test.fla
-tests/static/test.flv
-tests/static/test.gif
-tests/static/test.h
-tests/static/test.htm
-tests/static/test.html
-tests/static/test.hwp
-tests/static/test.ico
-tests/static/test.ics
-tests/static/test.ini
-tests/static/test.iso
-tests/static/test.jar
-tests/static/test.java
-tests/static/test.jpeg
-tests/static/test.jpg
-tests/static/test.js
-tests/static/test.json
-tests/static/test.jsp
-tests/static/test.less
-tests/static/test.log
-tests/static/test.markdown
-tests/static/test.md
-tests/static/test.mid
-tests/static/test.mov
-tests/static/test.mp3
-tests/static/test.mp4
-tests/static/test.mpa
-tests/static/test.mpeg
-tests/static/test.mpg
-tests/static/test.pdf
-tests/static/test.php
-tests/static/test.pkg
-tests/static/test.png
-tests/static/test.ppt
-tests/static/test.pptx
-tests/static/test.psd
-tests/static/test.py
-tests/static/test.rar
-tests/static/test.rb
-tests/static/test.rss
-tests/static/test.rtf
-tests/static/test.sh
-tests/static/test.smi
-tests/static/test.sql
-tests/static/test.svg
-tests/static/test.swf
-tests/static/test.sys
-tests/static/test.tar
-tests/static/test.tar.gz
-tests/static/test.tgz
-tests/static/test.tif
-tests/static/test.tmp
-tests/static/test.toast
-tests/static/test.torrent
-tests/static/test.ttf
-tests/static/test.txt
-tests/static/test.vb
-tests/static/test.vcd
-tests/static/test.vcf
-tests/static/test.wav
-tests/static/test.wmv
-tests/static/test.xhtml
-tests/static/test.xls
-tests/static/test.xlsx
-tests/static/test.xml
-tests/static/test.xsl
-tests/static/test.yml
-tests/static/test.zip
\ No newline at end of file
diff --git a/Flask_AutoIndex.egg-info/dependency_links.txt b/Flask_AutoIndex.egg-info/dependency_links.txt
deleted file mode 100644
index 8b13789..0000000
--- a/Flask_AutoIndex.egg-info/dependency_links.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/Flask_AutoIndex.egg-info/not-zip-safe b/Flask_AutoIndex.egg-info/not-zip-safe
deleted file mode 100644
index 8b13789..0000000
--- a/Flask_AutoIndex.egg-info/not-zip-safe
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/Flask_AutoIndex.egg-info/requires.txt b/Flask_AutoIndex.egg-info/requires.txt
deleted file mode 100644
index 9319209..0000000
--- a/Flask_AutoIndex.egg-info/requires.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Flask>=0.8
-Flask-Silk>=0.2
\ No newline at end of file
diff --git a/Flask_AutoIndex.egg-info/top_level.txt b/Flask_AutoIndex.egg-info/top_level.txt
deleted file mode 100644
index 64aa19d..0000000
--- a/Flask_AutoIndex.egg-info/top_level.txt
+++ /dev/null
@@ -1 +0,0 @@
-flask_autoindex
diff --git a/PKG-INFO b/PKG-INFO
index d724ab1..19122f3 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: Flask-AutoIndex
-Version: 0.5
+Version: 0.6
 Summary: The mod_autoindex for Flask
 Home-page: http://pythonhosted.org/Flask-AutoIndex
 Author: Heungsub Lee
diff --git a/debian/.git-dpm b/debian/.git-dpm
deleted file mode 100644
index e16bd33..0000000
--- a/debian/.git-dpm
+++ /dev/null
@@ -1,11 +0,0 @@
-# see git-dpm(1) from git-dpm package
-cb1545220ec8bd1119aa05113c8957707f733bcc
-cb1545220ec8bd1119aa05113c8957707f733bcc
-c79c5b23b51bd2f8cc533e5807b38ffab18bd2db
-c79c5b23b51bd2f8cc533e5807b38ffab18bd2db
-flask-autoindex_0.5.orig.tar.gz
-15e08bd3a516aa327ab4af767a29154a4bebdae3
-61513
-debianTag="debian/%e%v"
-patchedTag="patched/%e%v"
-upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
index f0a5b7d..28032ea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,49 @@
-flask-autoindex (0.5-4) UNRELEASED; urgency=medium
+flask-autoindex (0.6-2) unstable; urgency=medium
 
-  * Fixed VCS URL (https)
+  * Adopting packages as part of Python Team (DPMT) (Closes: #873648)
+    - Set new maintainer/uploaders
+    - Update debian/copyright
+  * Bump compat level to 10
+  * Update standards version to 4.1.0.0
+  * Set testsuite: autopkgtest-pkg-python
+  * Add install file for python3 version
 
- -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 21:30:21 +0200
+ -- Jonathan Carter <jcc at debian.org>  Mon, 04 Sep 2017 12:25:44 +0200
+
+flask-autoindex (0.6-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Build Python 3 package
+  * debian/patches:
+    - Remove patches integrated upstream.
+    - use-default-theme.patch: Use the default sphinx theme since
+      flask-small is no longer included.
+  * debian/rules: Switch to pybuild.
+  * debian/control:
+    - Update Vcs-Git.
+    - Add python-future to Build-Depensd.
+    - Add Python 3 versions of the Build-Depends.
+  * debian/copyright:
+    - Remove unused paragraph.
+    - Update copyright years.
+
+ -- Sebastian Ramacher <sramacher at debian.org>  Sat, 30 Jan 2016 18:27:40 +0100
+
+flask-autoindex (0.5-4) unstable; urgency=medium
+
+  * debian/control:
+    - Move package to collab-maint.
+    - Bump Standards-Version.
+    - Add dh-python to Build-Depends.
+  * debian/{rules,python-flask-babel.pyremove}: Use dh_python2 to remove
+    SOURCES.txt. (Closes: #803263)
+  * debian/python-flask.babel.{pyremove,links}: Move HTML, CSS and image files
+    to /usr/share.
+  * debian/watch: Use PyPI redirector.
+  * debian/patches/github-fork.patch: Copy from flask-openid to fix
+    privacy-breach-generic from lintian.
+
+ -- Sebastian Ramacher <sramacher at debian.org>  Wed, 28 Oct 2015 21:23:07 +0100
 
 flask-autoindex (0.5-3) unstable; urgency=low
 
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index f7c3992..f0451dc 100644
--- a/debian/control
+++ b/debian/control
@@ -2,19 +2,27 @@ Source: flask-autoindex
 Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Sebastian Ramacher <sramacher at debian.org>
+Uploaders: Jonathan Carter <jcc at debian.org>
 Build-Depends:
- debhelper (>= 9),
- python-all (>= 2.6.6-3~),
+ debhelper (>= 10),
+ dh-python,
+ python-all,
+ python3-all,
  python-setuptools,
+ python3-setuptools,
  python-sphinx (>= 1.0.7+dfsg),
  python-flask (>= 0.8),
- python-flask-silk
+ python3-flask,
+ python-flask-silk,
+ python3-flask-silk,
+ python-future,
+ python3-future
 X-Python-Version: >= 2.6
-Standards-Version: 3.9.4
+Standards-Version: 4.1.0.0
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/flask-autoindex.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/flask-autoindex.git
 Homepage: https://github.com/sublee/flask-autoindex
+Testsuite: autopkgtest-pkg-python
 
 Package: python-flask-autoindex
 Architecture: all
@@ -24,10 +32,26 @@ Depends:
  python-flask (>= 0.8)
 Suggests:
  python-flask-autoindex-doc
-Description: automatically generated index pages for Flask applications
+Description: automatically generated index pages for Flask applications (Python 2)
  Flask-AutoIndex is a Flask extension that generates index pages for
  directories automatically. The result is similar to the pages generated by
  Apache's mod_autoindex.
+ .
+ This package contains the module for Python 2.
+
+Package: python3-flask-autoindex
+Architecture: all
+Depends:
+ ${python3:Depends},
+ ${misc:Depends},
+Suggests:
+ python-flask-autoindex-doc
+Description: automatically generated index pages for Flask applications (Python 3)
+ Flask-AutoIndex is a Flask extension that generates index pages for
+ directories automatically. The result is similar to the pages generated by
+ Apache's mod_autoindex.
+ .
+ This package contains the module for Python 3.
 
 Package: python-flask-autoindex-doc
 Architecture: all
diff --git a/debian/copyright b/debian/copyright
index ae2e9ad..10a0ea9 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -11,12 +11,9 @@ Files: *
 Copyright: 2010-2013 Heungsub Lee
 License: BSD-3-clause
 
-Files: docs/_themes/*
-Copyright: 2010 Armin Ronacher <armin.ronacher at active-4.com>
-License: BSD-3-clause
-
 Files: debian/*
-Copyright: 2013 Sebastian Ramacher <sramacher at debian.org>
+Copyright: 2013,2015-2016 Sebastian Ramacher <sramacher at debian.org>
+i          2017 Jonathan Carter <jcc at debian.org>
 License: BSD-3-clause
 
 License: BSD-3-clause
diff --git a/debian/patches/doc-silk-license.patch b/debian/patches/doc-silk-license.patch
deleted file mode 100644
index 72f14db..0000000
--- a/debian/patches/doc-silk-license.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 29102b17a5048fef9401a006bcc4d57cf959ba19 Mon Sep 17 00:00:00 2001
-From: Sebastian Ramacher <sramacher at debian.org>
-Date: Thu, 8 Oct 2015 09:05:28 -0700
-Subject: add a note about Silk's license
-
-Origin: upstream,
- https://github.com/sebastinas/flask-autoindex/commit/968354e3,
- https://github.com/sebastinas/flask-autoindex/commit/fb4ea7f7
-Last-Update: 2013-03-31
-
-Patch-Name: doc-silk-license.patch
----
- docs/index.rst | 12 +++++++++++-
- 1 file changed, 11 insertions(+), 1 deletion(-)
-
-diff --git a/docs/index.rst b/docs/index.rst
-index f4bf8a3..5e943fd 100644
---- a/docs/index.rst
-+++ b/docs/index.rst
-@@ -13,8 +13,18 @@ awesome! Look at this:
- This module contains pre-designed template and css file. It is default
- style, but you can make your own style.
- 
-+.. note::
-+    Flask-AutoIndex uses `Flask-Silk`_ to serve icons. Per default, the icons
-+    from Mark James's `Silk`_ icon set are used. These icons are licensed
-+    under `Creative Commons Attribution 2.5 License <CC-BY-2.5>`_ or
-+    `3.0 License <CC-BY-3.0>`_. Before using the icons, read the license.
-+
- .. _Flask: http://flask.pocoo.org/
- .. _mod_autoindex: http://httpd.apache.org/docs/current/mod/mod_autoindex.html
-+.. _Flask-Silk: http://packages.python.org/Flask-Silk
-+.. _Silk: http://www.famfamfam.com/lab/icons/silk/
-+.. _CC-BY-2.5: http://creativecommons.org/licenses/by/2.5
-+.. _CC-BY-3.0: http://creativecommons.org/licenses/by/3.0
- 
- Installation
- ============
-@@ -112,7 +122,7 @@ Now you can get a silk icon from ``http://localhost/myicons/folder.png`` not
- ``http://localhost/__icons__/folder.png``.
- 
- .. seealso::
--   The documentation for `Flask-Silk <http://packages.python.org/Flask-Silk>`_
-+   The documentation for `Flask-Silk`_
- 
- Redesigning the template
- ````````````````````````
diff --git a/debian/patches/flask-0.10.patch b/debian/patches/flask-0.10.patch
deleted file mode 100644
index 53ed571..0000000
--- a/debian/patches/flask-0.10.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From cb1545220ec8bd1119aa05113c8957707f733bcc Mon Sep 17 00:00:00 2001
-From: SVN-Git Migration <python-modules-team at lists.alioth.debian.org>
-Date: Thu, 8 Oct 2015 09:05:30 -0700
-Subject: Pass tests with Flask 0.10.1
-
-Origin: upsteam,
- https://github.com/sublee/flask-autoindex/commit/5e920c5c7ea675f7cae2f6e83b44209136f9b68d
-Last-Update: 2013-08-11
-
-Patch-Name: flask-0.10.patch
----
- tests/__init__.py | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/tests/__init__.py b/tests/__init__.py
-index 3b39337..0048ae3 100644
---- a/tests/__init__.py
-+++ b/tests/__init__.py
-@@ -133,16 +133,17 @@ class ApplicationTestCase(unittest.TestCase):
-         self.app = Flask(__name__)
-         self.app2 = Flask(__name__)
-         self.idx = AutoIndex(self.app, browse_root, add_url_rules=True)
--        self.idx2 = AutoIndex(self.app2, silk_path='/myicons')
-+        self.idx2 = AutoIndex(self.app2, browse_root, silk_path='/myicons')
-         @self.app2.route('/')
-         @self.app2.route('/<path:path>')
--        def autoindex(path='.'):
-+        def autoindex_test(path='.'):
-             return self.idx2.render_autoindex(path, browse_root)
- 
-     def get(self, path):
-         return self.app.test_client().get(path)
- 
-     def get2(self, path):
-+        self.app2.config['TESTING'] = True
-         return self.app2.test_client().get(path)
- 
-     def test_css(self):
-@@ -157,9 +158,8 @@ class ApplicationTestCase(unittest.TestCase):
-         assert rv.data == rv2.data
- 
-     def test_autoindex(self):
--        for get in self.get, self.get2:
--            rv = get('/')
--            assert '__init__.py' in rv.data
-+        assert '__init__.py' in self.get('/').data
-+        assert '__init__.py' in self.get2('/').data
- 
-     def test_own_static_file(self):
-         rv = self.get('/static/helloworld.txt')
diff --git a/debian/patches/series b/debian/patches/series
index 32e368e..35440d7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-doc-silk-license.patch
-flask-0.10.patch
+use-default-theme.patch
diff --git a/debian/patches/use-default-theme.patch b/debian/patches/use-default-theme.patch
new file mode 100644
index 0000000..e3f48d6
--- /dev/null
+++ b/debian/patches/use-default-theme.patch
@@ -0,0 +1,24 @@
+Description: Use default theme since flask_small is not included
+Author: Sebastian Ramacher <sramacher at debian.org>
+Forwarded: not-needed
+
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -93,14 +93,14 @@
+ 
+ # The theme to use for HTML and HTML Help pages.  See the documentation for
+ # a list of builtin themes.
+-html_theme = 'flask_small'
++# html_theme = 'flask_small'
+ 
+ # Theme options are theme-specific and customize the look and feel of a theme
+ # further.  For a list of options available for each theme, see the
+ # documentation.
+ html_theme_options = {
+-    'index_logo': 'flask-autoindex.png',
+-    'github_fork': 'sublee/flask-autoindex'
++#    'index_logo': 'flask-autoindex.png',
++#    'github_fork': 'sublee/flask-autoindex'
+ }
+ 
+ # Add any paths that contain custom themes here, relative to this directory.
diff --git a/debian/python-flask-autoindex.install b/debian/python-flask-autoindex.install
index 2655300..4747711 100644
--- a/debian/python-flask-autoindex.install
+++ b/debian/python-flask-autoindex.install
@@ -1 +1,3 @@
 usr/lib/python2.*
+flask_autoindex/static usr/share/python-flask-autoindex
+flask_autoindex/templates usr/share/python-flask-autoindex
diff --git a/debian/python-flask-autoindex.links b/debian/python-flask-autoindex.links
new file mode 100644
index 0000000..647f681
--- /dev/null
+++ b/debian/python-flask-autoindex.links
@@ -0,0 +1,5 @@
+usr/share/python-flask-autoindex/static/asc.gif /usr/lib/python2.7/dist-packages/flask_autoindex/static/asc.gif
+usr/share/python-flask-autoindex/static/desc.gif /usr/lib/python2.7/dist-packages/flask_autoindex/static/desc.gif
+usr/share/python-flask-autoindex/static/autoindex.css /usr/lib/python2.7/dist-packages/flask_autoindex/static/autoindex.css
+usr/share/python-flask-autoindex/templates/__autoindex__/autoindex.html /usr/lib/python2.7/dist-packages/flask_autoindex/templates/__autoindex__/autoindex.html
+usr/share/python-flask-autoindex/templates/__autoindex__/macros.html /usr/lib/python2.7/dist-packages/flask_autoindex/templates/__autoindex__/macros.html
diff --git a/debian/python-flask-autoindex.pyremove b/debian/python-flask-autoindex.pyremove
new file mode 100644
index 0000000..fba30dd
--- /dev/null
+++ b/debian/python-flask-autoindex.pyremove
@@ -0,0 +1,4 @@
+Flask_AutoIndex-*.egg-info/SOUCES.txt
+**/*.gif
+**/*.css
+**/*.html
diff --git a/debian/python3-flask-autoindex.install b/debian/python3-flask-autoindex.install
new file mode 100644
index 0000000..262a368
--- /dev/null
+++ b/debian/python3-flask-autoindex.install
@@ -0,0 +1,3 @@
+usr/lib/python3.*
+flask_autoindex/static usr/share/python3-flask-autoindex
+flask_autoindex/templates usr/share/python3-flask-autoindex
diff --git a/debian/python3-flask-autoindex.links b/debian/python3-flask-autoindex.links
new file mode 100644
index 0000000..b4282cc
--- /dev/null
+++ b/debian/python3-flask-autoindex.links
@@ -0,0 +1,5 @@
+usr/share/python-flask-autoindex/static/asc.gif /usr/lib/python3/dist-packages/flask_autoindex/static/asc.gif
+usr/share/python-flask-autoindex/static/desc.gif /usr/lib/python3/dist-packages/flask_autoindex/static/desc.gif
+usr/share/python-flask-autoindex/static/autoindex.css /usr/lib/python3/dist-packages/flask_autoindex/static/autoindex.css
+usr/share/python-flask-autoindex/templates/__autoindex__/autoindex.html /usr/lib/python3/dist-packages/flask_autoindex/templates/__autoindex__/autoindex.html
+usr/share/python-flask-autoindex/templates/__autoindex__/macros.html /usr/lib/python3/dist-packages/flask_autoindex/templates/__autoindex__/macros.html
diff --git a/debian/python3-flask-autoindex.pyremove b/debian/python3-flask-autoindex.pyremove
new file mode 100644
index 0000000..fba30dd
--- /dev/null
+++ b/debian/python3-flask-autoindex.pyremove
@@ -0,0 +1,4 @@
+Flask_AutoIndex-*.egg-info/SOUCES.txt
+**/*.gif
+**/*.css
+**/*.html
diff --git a/debian/rules b/debian/rules
index ea1cc05..26c8bcf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,7 @@
 #!/usr/bin/make -f
 
-# Supported Python versions
-PYVERS = $(shell pyversions -vr)
-
-# Callable functions to determine the correct PYTHONPATH
-pythonpath = $$(ls -d $(CURDIR)/build/lib.*-$(1))
-
 %:
-	dh $@ --with=python2,sphinxdoc
+	dh $@ --with=python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_clean:
 	dh_clean
@@ -16,14 +10,3 @@ override_dh_clean:
 override_dh_auto_build:
 	dh_auto_build
 	python setup.py build_sphinx
-
-override_dh_auto_install:
-	dh_auto_install
-	rm debian/tmp/usr/lib/python*/*-packages/Flask_AutoIndex-*.egg-info/SOURCES.txt
-
-override_dh_auto_test:
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-	set -ex && for py in $(PYVERS); do \
-		PYTHONPATH=$(call pythonpath,$$py) python$$py setup.py test ;\
-	done
-endif
diff --git a/debian/watch b/debian/watch
index 4bfb809..e418c9d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-https://pypi.python.org/pypi/Flask-AutoIndex \
-  .*/Flask-AutoIndex-(.*)\.tar\.gz
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/Flask-AutoIndex/Flask-AutoIndex-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
diff --git a/docs/_themes/LICENSE b/docs/_themes/LICENSE
deleted file mode 100644
index 8daab7e..0000000
--- a/docs/_themes/LICENSE
+++ /dev/null
@@ -1,37 +0,0 @@
-Copyright (c) 2010 by Armin Ronacher.
-
-Some rights reserved.
-
-Redistribution and use in source and binary forms of the theme, 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.
-
-* The names of the contributors may not be used to endorse or
-  promote products derived from this software without specific
-  prior written permission.
-
-We kindly ask you to only use these themes in an unmodified manner just
-for Flask and Flask-related products, not for unrelated projects.  If you
-like the visual style and want to use it for your own projects, please
-consider making some larger changes to the themes (such as changing
-font faces, sizes, colors or margins).
-
-THIS THEME 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 THE COPYRIGHT OWNER OR CONTRIBUTORS 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 THEME, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
diff --git a/docs/_themes/README b/docs/_themes/README
deleted file mode 100644
index b3292bd..0000000
--- a/docs/_themes/README
+++ /dev/null
@@ -1,31 +0,0 @@
-Flask Sphinx Styles
-===================
-
-This repository contains sphinx styles for Flask and Flask related
-projects.  To use this style in your Sphinx documentation, follow
-this guide:
-
-1. put this folder as _themes into your docs folder.  Alternatively
-   you can also use git submodules to check out the contents there.
-2. add this to your conf.py:
-
-   sys.path.append(os.path.abspath('_themes'))
-   html_theme_path = ['_themes']
-   html_theme = 'flask'
-
-The following themes exist:
-
-- 'flask' - the standard flask documentation theme for large
-  projects
-- 'flask_small' - small one-page theme.  Intended to be used by
-  very small addon libraries for flask.
-
-The following options exist for the flask_small theme:
-
-   [options]
-   index_logo = ''              filename of a picture in _static
-                                to be used as replacement for the
-                                h1 in the index.rst file.
-   index_logo_height = 120px    height of the index logo
-   github_fork = ''             repository name on github for the
-                                "fork me" badge
diff --git a/docs/_themes/flask/layout.html b/docs/_themes/flask/layout.html
deleted file mode 100644
index d7c8792..0000000
--- a/docs/_themes/flask/layout.html
+++ /dev/null
@@ -1,16 +0,0 @@
-{%- extends "basic/layout.html" %}
-{%- block extrahead %}
-  {{ super() }}
-  {% if theme_touch_icon %}
-  <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" />
-  {% endif %}
-  <link media="only screen and (max-device-width: 480px)" href="{{
-    pathto('_static/small_flask.css', 1) }}" type= "text/css" rel="stylesheet" />
-{% endblock %}
-{%- block relbar2 %}{% endblock %}
-{%- block footer %}
-    <div class="footer">
-      © Copyright {{ copyright }}.
-      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
-    </div>
-{%- endblock %}
diff --git a/docs/_themes/flask/relations.html b/docs/_themes/flask/relations.html
deleted file mode 100644
index 3bbcde8..0000000
--- a/docs/_themes/flask/relations.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<h3>Related Topics</h3>
-<ul>
-  <li><a href="{{ pathto(master_doc) }}">Documentation overview</a><ul>
-  {%- for parent in parents %}
-  <li><a href="{{ parent.link|e }}">{{ parent.title }}</a><ul>
-  {%- endfor %}
-    {%- if prev %}
-      <li>Previous: <a href="{{ prev.link|e }}" title="{{ _('previous chapter')
-        }}">{{ prev.title }}</a></li>
-    {%- endif %}
-    {%- if next %}
-      <li>Next: <a href="{{ next.link|e }}" title="{{ _('next chapter')
-        }}">{{ next.title }}</a></li>
-    {%- endif %}
-  {%- for parent in parents %}
-  </ul></li>
-  {%- endfor %}
-  </ul></li>
-</ul>
diff --git a/docs/_themes/flask/static/flasky.css_t b/docs/_themes/flask/static/flasky.css_t
deleted file mode 100644
index 0de60ee..0000000
--- a/docs/_themes/flask/static/flasky.css_t
+++ /dev/null
@@ -1,387 +0,0 @@
-/*
- * flasky.css_t
- * ~~~~~~~~~~~~
- *
- * :copyright: Copyright 2010 by Armin Ronacher.
- * :license: Flask Design License, see LICENSE for details.
- */
-
-{% set page_width = '940px' %}
-{% set sidebar_width = '220px' %}
- 
- at import url("basic.css");
- 
-/* -- page layout ----------------------------------------------------------- */
- 
-body {
-    font-family: 'Georgia', serif;
-    font-size: 17px;
-    background-color: white;
-    color: #000;
-    margin: 0;
-    padding: 0;
-}
-
-div.document {
-    width: {{ page_width }};
-    margin: 30px auto 0 auto;
-}
-
-div.documentwrapper {
-    float: left;
-    width: 100%;
-}
-
-div.bodywrapper {
-    margin: 0 0 0 {{ sidebar_width }};
-}
-
-div.sphinxsidebar {
-    width: {{ sidebar_width }};
-}
-
-hr {
-    border: 1px solid #B1B4B6;
-}
- 
-div.body {
-    background-color: #ffffff;
-    color: #3E4349;
-    padding: 0 30px 0 30px;
-}
-
-img.floatingflask {
-    padding: 0 0 10px 10px;
-    float: right;
-}
- 
-div.footer {
-    width: {{ page_width }};
-    margin: 20px auto 30px auto;
-    font-size: 14px;
-    color: #888;
-    text-align: right;
-}
-
-div.footer a {
-    color: #888;
-}
-
-div.related {
-    display: none;
-}
- 
-div.sphinxsidebar a {
-    color: #444;
-    text-decoration: none;
-    border-bottom: 1px dotted #999;
-}
-
-div.sphinxsidebar a:hover {
-    border-bottom: 1px solid #999;
-}
- 
-div.sphinxsidebar {
-    font-size: 14px;
-    line-height: 1.5;
-}
-
-div.sphinxsidebarwrapper {
-    padding: 18px 10px;
-}
-
-div.sphinxsidebarwrapper p.logo {
-    padding: 0 0 20px 0;
-    margin: 0;
-    text-align: center;
-}
- 
-div.sphinxsidebar h3,
-div.sphinxsidebar h4 {
-    font-family: 'Garamond', 'Georgia', serif;
-    color: #444;
-    font-size: 24px;
-    font-weight: normal;
-    margin: 0 0 5px 0;
-    padding: 0;
-}
-
-div.sphinxsidebar h4 {
-    font-size: 20px;
-}
- 
-div.sphinxsidebar h3 a {
-    color: #444;
-}
-
-div.sphinxsidebar p.logo a,
-div.sphinxsidebar h3 a,
-div.sphinxsidebar p.logo a:hover,
-div.sphinxsidebar h3 a:hover {
-    border: none;
-}
- 
-div.sphinxsidebar p {
-    color: #555;
-    margin: 10px 0;
-}
-
-div.sphinxsidebar ul {
-    margin: 10px 0;
-    padding: 0;
-    color: #000;
-}
- 
-div.sphinxsidebar input {
-    border: 1px solid #ccc;
-    font-family: 'Georgia', serif;
-    font-size: 1em;
-}
- 
-/* -- body styles ----------------------------------------------------------- */
- 
-a {
-    color: #004B6B;
-    text-decoration: underline;
-}
- 
-a:hover {
-    color: #6D4100;
-    text-decoration: underline;
-}
- 
-div.body h1,
-div.body h2,
-div.body h3,
-div.body h4,
-div.body h5,
-div.body h6 {
-    font-family: 'Garamond', 'Georgia', serif;
-    font-weight: normal;
-    margin: 30px 0px 10px 0px;
-    padding: 0;
-}
... 1566 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flask-autoindex.git



More information about the Python-modules-commits mailing list