[Python-modules-commits] [flask-autoindex] 04/05: New upstream version 0.2

Jonathan Cristopher Carter jcc at moszumanska.debian.org
Wed Sep 6 08:22:25 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 25cf8e98db85ecbb2049a3fbb1f1d54b0b33634c
Author: Jonathan Carter <jcarter at linux.com>
Date:   Wed Sep 6 10:22:20 2017 +0200

    New upstream version 0.2
---
 .gitignore                                         |  11 -
 .gitmodules                                        |   3 -
 debian/changelog                                   |  69 ----
 debian/clean                                       |   1 -
 debian/compat                                      |   1 -
 debian/control                                     |  64 ----
 debian/copyright                                   | 350 ---------------------
 debian/patches/privacy-breach.patch                |  17 -
 debian/patches/series                              |   1 -
 debian/python-flask-silk-doc.doc-base              |  12 -
 debian/python-flask-silk-doc.docs                  |   1 -
 debian/python-flask-silk.install                   |   4 -
 debian/python-flask-silk.links                     |   4 -
 debian/python-flask-silk.linktrees                 |   1 -
 debian/python-flask-silk.pyremove                  |   1 -
 debian/python3-flask-silk.install                  |   4 -
 debian/python3-flask-silk.links                    |   4 -
 debian/python3-flask-silk.linktrees                |   1 -
 debian/rules                                       |  12 -
 debian/source/format                               |   1 -
 debian/source/lintian-overrides                    |   2 -
 debian/watch                                       |   3 -
 docs/_themes/flask_small/layout.html               |   4 +
 flask_autoindex/__init__.py                        | 276 ----------------
 flask_autoindex/entry.py                           | 332 -------------------
 flask_autoindex/icons.py                           |  81 -----
 flask_autoindex/run.py                             |  10 -
 flask_autoindex/static/asc.gif                     | Bin 53 -> 0 bytes
 flask_autoindex/static/autoindex.css               | 171 ----------
 flask_autoindex/static/desc.gif                    | Bin 53 -> 0 bytes
 .../templates/__autoindex__/autoindex.html         |  42 ---
 .../templates/__autoindex__/macros.html            |  70 -----
 tests/__init__.py                                  | 287 -----------------
 tests/blueprinttest/__init__.py                    |   2 -
 tests/static/helloworld.txt                        |   1 -
 tests/static/test.7z                               |   0
 tests/static/test.ai                               |   0
 tests/static/test.alz                              |   0
 tests/static/test.app                              |   0
 tests/static/test.applescript                      |   0
 tests/static/test.asp                              |   0
 tests/static/test.avi                              |   0
 tests/static/test.bak                              |   0
 tests/static/test.bat                              |   0
 tests/static/test.bin                              |   0
 tests/static/test.bmp                              |   0
 tests/static/test.bup                              |   0
 tests/static/test.c                                |   0
 tests/static/test.cab                              |   0
 tests/static/test.cer                              |   0
 tests/static/test.cfg                              |   0
 tests/static/test.cgi                              |   0
 tests/static/test.com                              |   0
 tests/static/test.conf                             |   0
 tests/static/test.cpl                              |   0
 tests/static/test.cpp                              |   0
 tests/static/test.css                              |   0
 tests/static/test.csv                              |   0
 tests/static/test.cur                              |   0
 tests/static/test.db                               |   0
 tests/static/test.dll                              |   0
 tests/static/test.dmg                              |   0
 tests/static/test.doc                              |   0
 tests/static/test.docx                             |   0
 tests/static/test.eps                              |   0
 tests/static/test.exe                              |   0
 tests/static/test.fla                              |   0
 tests/static/test.flv                              |   0
 tests/static/test.gif                              |   0
 tests/static/test.h                                |   0
 tests/static/test.htm                              |   0
 tests/static/test.html                             |   0
 tests/static/test.hwp                              |   0
 tests/static/test.ico                              |   0
 tests/static/test.ics                              |   0
 tests/static/test.ini                              |   0
 tests/static/test.iso                              |   0
 tests/static/test.jar                              |   0
 tests/static/test.java                             |   0
 tests/static/test.jpeg                             |   0
 tests/static/test.jpg                              |   0
 tests/static/test.js                               |   0
 tests/static/test.json                             |   0
 tests/static/test.jsp                              |   0
 tests/static/test.less                             |   0
 tests/static/test.log                              |   0
 tests/static/test.markdown                         |   0
 tests/static/test.md                               |   0
 tests/static/test.mid                              |   0
 tests/static/test.mov                              |   0
 tests/static/test.mp3                              |   0
 tests/static/test.mp4                              |   0
 tests/static/test.mpa                              |   0
 tests/static/test.mpeg                             |   0
 tests/static/test.mpg                              |   0
 tests/static/test.pdf                              |   0
 tests/static/test.php                              |   0
 tests/static/test.pkg                              |   0
 tests/static/test.png                              |   0
 tests/static/test.ppt                              |   0
 tests/static/test.pptx                             |   0
 tests/static/test.psd                              |   0
 tests/static/test.py                               |   0
 tests/static/test.rar                              |   0
 tests/static/test.rb                               |   0
 tests/static/test.rss                              |   0
 tests/static/test.rtf                              |   0
 tests/static/test.sh                               |   0
 tests/static/test.smi                              |   0
 tests/static/test.sql                              |   0
 tests/static/test.svg                              |   0
 tests/static/test.swf                              |   0
 tests/static/test.sys                              |   0
 tests/static/test.tar                              |   0
 tests/static/test.tar.gz                           |   0
 tests/static/test.tgz                              |   0
 tests/static/test.tif                              |   0
 tests/static/test.tmp                              |   0
 tests/static/test.toast                            |   0
 tests/static/test.torrent                          |   0
 tests/static/test.ttf                              |   0
 tests/static/test.txt                              |   0
 tests/static/test.vb                               |   0
 tests/static/test.vcd                              |   0
 tests/static/test.vcf                              |   0
 tests/static/test.wav                              |   0
 tests/static/test.wmv                              |   0
 tests/static/test.xhtml                            |   0
 tests/static/test.xls                              |   0
 tests/static/test.xlsx                             |   0
 tests/static/test.xml                              |   0
 tests/static/test.xsl                              |   0
 tests/static/test.yml                              |   0
 tests/static/test.zip                              |   0
 134 files changed, 4 insertions(+), 1839 deletions(-)

diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 278ef71..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-# Compiled sources
-*.pyc
-
-# Temporary files
-*.swp
-
-# Distribution
-*egg-info
-build
-dist
-docs/_build
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index 3d7df14..0000000
--- a/.gitmodules
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "docs/_themes"]
-	path = docs/_themes
-	url = https://github.com/mitsuhiko/flask-sphinx-themes.git
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index aa766bf..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,69 +0,0 @@
-flask-silk (0.2-7) unstable; urgency=medium
-
-  * Adopting package as part of Python team (DPMT) (Closes: #873653)
-  * Bump compat level to 10
-  * Update standards version to 4.1.0
-  * Remove ancient versioned dependencies
-
- -- Jonathan Carter <jcc at debian.org>  Wed, 06 Sep 2017 10:04:23 +0200
-
-flask-silk (0.2-6) unstable; urgency=medium
-
-  * debian/python3-flask-silk.install: Fix install location of arrow_up.png.
-    (Closes: #857222)
-  * debian/control:
-    - Bump Standards-Version.
-    - Update Vcs-Git.
-  * debian/*.lintian-overrides: Removed, no longer needed.
-
- -- Sebastian Ramacher <sramacher at debian.org>  Fri, 16 Jun 2017 00:37:52 +0200
-
-flask-silk (0.2-5) unstable; urgency=medium
-
-  * Build package for Python 3.
-    - debian/control: Add python3-flask-babel and Build-Depends for Python 3.
-    - debian/rules: Build with --with python3.
-    - debian/*.{install,links,linktree}: Copy for python3-flask-babel and
-      adopt accordingly.
-
- -- Sebastian Ramacher <sramacher at debian.org>  Thu, 21 Jan 2016 00:23:40 +0100
-
-flask-silk (0.2-4) unstable; urgency=medium
-
-  * debian/control:
-    - Move to collab-maint.
-    - Update Standards-Version to 3.9.6.
-  * debian/{rules,python-flask-silk.pyremve}: Remove SOURCES.txt using.
-    pyremove (Closes: #805198).
-
- -- Sebastian Ramacher <sramacher at debian.org>  Sun, 15 Nov 2015 23:38:41 +0100
-
-flask-silk (0.2-3) unstable; urgency=medium
-
-  * Use dh_linktree to replace icons with links to icons provided by
-    famfamfam-silk. (Closes: #753785)
-  * debian/rules:
-    - Switch to pybuild.
-    - Remove no longer needed override_dh_auto_test target.
-  * debian/source/lintian-overrides: Add override for source-is-missing.
-  * debian/control:
-    - Add dh-python, dh-linktree and famfamfam-silk to Build-Depends.
-    - Bump Standards-Version. No changes needed.
-  * debian/patches/privacy-breach.patch: Disable "Fork me on GitHub" logo
-    which is fetched from the web.
-
- -- Sebastian Ramacher <sramacher at debian.org>  Wed, 10 Sep 2014 22:12:59 +0200
-
-flask-silk (0.2-2) unstable; urgency=low
-
-  * Upload to unstable.
-  * debian/clean: Remove Flask_Silk.egg-info/* to fix FTBFS if built twice in
-    a row.
-
- -- Sebastian Ramacher <sramacher at debian.org>  Sat, 04 May 2013 22:59:32 +0200
-
-flask-silk (0.2-1) experimental; urgency=low
-
-  * Initial release. (Closes: #703535)
-
- -- Sebastian Ramacher <sramacher at debian.org>  Tue, 26 Mar 2013 23:14:20 +0100
diff --git a/debian/clean b/debian/clean
deleted file mode 100644
index a63c066..0000000
--- a/debian/clean
+++ /dev/null
@@ -1 +0,0 @@
-Flask_Silk.egg-info/*
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 40e9a34..0000000
--- a/debian/control
+++ /dev/null
@@ -1,64 +0,0 @@
-Source: flask-silk
-Section: python
-Priority: optional
-Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Jonathan Carter <jcc at debian.org>
-Build-Depends:
- debhelper (>= 10),
- dh-python,
- dh-linktree,
- python-all,
- python3-all,
- python-setuptools,
- python3-setuptools,
- python-sphinx,
- python-flask,
- python3-flask,
- famfamfam-silk
-X-Python-Version: >= 2.6
-Standards-Version: 4.1.0
-Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/flask-silk.git
-Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/flask-silk.git
-Homepage: https://github.com/sublee/flask-silk
-
-Package: python-flask-silk
-Architecture: all
-Depends:
- ${python:Depends},
- ${misc:Depends},
- python-flask
-Suggests: python-flask-silk-doc
-Description: FamFamFam Silk icon set for Flask applications (Python 2)
- Flask-Silk is a Flask extension that provides the icons from the FamFamFam
- Silk icon set for Flask applications, blueprints and other extensions. It also
- allows one to serve custom icons replacing or extending those from the
- FamFamFam Silk icon set.
- .
- This package contains the module for Python 2.
-
-Package: python3-flask-silk
-Architecture: all
-Depends:
- ${python3:Depends},
- ${misc:Depends},
- python3-flask
-Suggests: python-flask-silk-doc
-Description: FamFamFam Silk icon set for Flask applications (Python 3)
- Flask-Silk is a Flask extension that provides the icons from the FamFamFam
- Silk icon set for Flask applications, blueprints and other extensions. It also
- allows one to serve custom icons replacing or extending those from the
- FamFamFam Silk icon set.
- .
- This package contains the module for Python 3.
-
-Package: python-flask-silk-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}, ${sphinxdoc:Depends}
-Description: FamFamFam Silk icon set for Flask applications (documentation)
- Flask-Silk is a Flask extension that provides the icons from the FamFamFam
- Silk icon set for Flask applications, blueprints and other extensions. It also
- allows one to serve custom icons replacing or extending those from the
- FamFamFam Silk icon set.
- .
- This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index 1b68e05..0000000
--- a/debian/copyright
+++ /dev/null
@@ -1,350 +0,0 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: Flask-Silk
-Source: https://pypi.python.org/pypi/Flask-Silk
-
-Files: *
-Copyright: 2010-2013 Heungsub Lee
-License: BSD-3-clause
-
-Files: flask_silk/icons/*.png
-Copyright: Mark James
-License: CC-BY-3.0
- THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS
- CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS
- PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK
- OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS
- PROHIBITED.
- .
- BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND
- AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS
- LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE
- RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS
- AND CONDITIONS.
- .
- 1. Definitions
- .
-  a. "Adaptation" means a work based upon the Work, or upon the Work
-     and other pre-existing works, such as a translation, adaptation,
-     derivative work, arrangement of music or other alterations of a
-     literary or artistic work, or phonogram or performance and
-     includes cinematographic adaptations or any other form in which
-     the Work may be recast, transformed, or adapted including in any
-     form recognizably derived from the original, except that a work
-     that constitutes a Collection will not be considered an Adaptation
-     for the purpose of this License. For the avoidance of doubt, where
-     the Work is a musical work, performance or phonogram, the
-     synchronization of the Work in timed-relation with a moving image
-     ("synching") will be considered an Adaptation for the purpose of
-     this License.
-  b. "Collection" means a collection of literary or artistic works,
-     such as encyclopedias and anthologies, or performances, phonograms
-     or broadcasts, or other works or subject matter other than works
-     listed in Section 1(f) below, which, by reason of the selection
-     and arrangement of their contents, constitute intellectual
-     creations, in which the Work is included in its entirety in
-     unmodified form along with one or more other contributions, each
-     constituting separate and independent works in themselves, which
-     together are assembled into a collective whole. A work that
-     constitutes a Collection will not be considered an Adaptation (as
-     defined above) for the purposes of this License.
-  c. "Distribute" means to make available to the public the original
-     and copies of the Work or Adaptation, as appropriate, through sale
-     or other transfer of ownership.
-  d. "Licensor" means the individual, individuals, entity or entities
-     that offer(s) the Work under the terms of this License.
-  e. "Original Author" means, in the case of a literary or artistic
-     work, the individual, individuals, entity or entities who created
-     the Work or if no individual or entity can be identified, the
-     publisher; and in addition (i) in the case of a performance the
-     actors, singers, musicians, dancers, and other persons who act,
-     sing, deliver, declaim, play in, interpret or otherwise perform
-     literary or artistic works or expressions of folklore; (ii) in the
-     case of a phonogram the producer being the person or legal entity
-     who first fixes the sounds of a performance or other sounds; and,
-     (iii) in the case of broadcasts, the organization that transmits
-     the broadcast.
-  f. "Work" means the literary and/or artistic work offered under the
-     terms of this License including without limitation any production
-     in the literary, scientific and artistic domain, whatever may be
-     the mode or form of its expression including digital form, such as
-     a book, pamphlet and other writing; a lecture, address, sermon or
-     other work of the same nature; a dramatic or dramatico-musical
-     work; a choreographic work or entertainment in dumb show; a
-     musical composition with or without words; a cinematographic work
-     to which are assimilated works expressed by a process analogous to
-     cinematography; a work of drawing, painting, architecture,
-     sculpture, engraving or lithography; a photographic work to which
-     are assimilated works expressed by a process analogous to
-     photography; a work of applied art; an illustration, map, plan,
-     sketch or three-dimensional work relative to geography,
-     topography, architecture or science; a performance; a broadcast; a
-     phonogram; a compilation of data to the extent it is protected as
-     a copyrightable work; or a work performed by a variety or circus
-     performer to the extent it is not otherwise considered a literary
-     or artistic work.
-  g. "You" means an individual or entity exercising rights under this
-     License who has not previously violated the terms of this License
-     with respect to the Work, or who has received express permission
-     from the Licensor to exercise rights under this License despite a
-     previous violation.
-  h. "Publicly Perform" means to perform public recitations of the Work
-     and to communicate to the public those public recitations, by any
-     means or process, including by wire or wireless means or public
-     digital performances; to make available to the public Works in
-     such a way that members of the public may access these Works from
-     a place and at a place individually chosen by them; to perform the
-     Work to the public by any means or process and the communication
-     to the public of the performances of the Work, including by public
-     digital performance; to broadcast and rebroadcast the Work by any
-     means including signs, sounds or images.
-  i. "Reproduce" means to make copies of the Work by any means
-     including without limitation by sound or visual recordings and the
-     right of fixation and reproducing fixations of the Work, including
-     storage of a protected performance or phonogram in digital form or
-     other electronic medium.
- .
- 2. Fair Dealing Rights. Nothing in this License is intended to reduce,
-    limit, or restrict any uses free from copyright or rights arising
-    from limitations or exceptions that are provided for in connection
-    with the copyright protection under copyright law or other
-    applicable laws.
- .
- 3. License Grant. Subject to the terms and conditions of this License,
-    Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
-    perpetual (for the duration of the applicable copyright) license to
-    exercise the rights in the Work as stated below:
- .
-  a. to Reproduce the Work, to incorporate the Work into one or more
-     Collections, and to Reproduce the Work as incorporated in the
-     Collections;
-  b. to create and Reproduce Adaptations provided that any such
-     Adaptation, including any translation in any medium, takes
-     reasonable steps to clearly label, demarcate or otherwise identify
-     that changes were made to the original Work. For example, a
-     translation could be marked "The original work was translated from
-     English to Spanish," or a modification could indicate "The
-     original work has been modified.";
-  c. to Distribute and Publicly Perform the Work including as
-     incorporated in Collections; and,
-  d. to Distribute and Publicly Perform Adaptations.
-  e. For the avoidance of doubt:
- .
-  i. Non-waivable Compulsory License Schemes. In those
-     jurisdictions in which the right to collect royalties
-     through any statutory or compulsory licensing scheme cannot
-     be waived, the Licensor reserves the exclusive right to
-     collect such royalties for any exercise by You of the rights
-     granted under this License;
-  ii. Waivable Compulsory License Schemes. In those jurisdictions
-     in which the right to collect royalties through any
-     statutory or compulsory licensing scheme can be waived, the
-     Licensor waives the exclusive right to collect such
-     royalties for any exercise by You of the rights granted
-     under this License; and,
-  iii. Voluntary License Schemes. The Licensor waives the right to
-     collect royalties, whether individually or, in the event
-     that the Licensor is a member of a collecting society that
-     administers voluntary licensing schemes, via that society,
-     from any exercise by You of the rights granted under this
-     License.
- .
- The above rights may be exercised in all media and formats whether now
- known or hereafter devised. The above rights include the right to make
- such modifications as are technically necessary to exercise the rights
- in other media and formats. Subject to Section 8(f), all rights not
- expressly granted by Licensor are hereby reserved.
- .
- 4. Restrictions. The license granted in Section 3 above is expressly
-    made subject to and limited by the following restrictions:
- .
-  a. You may Distribute or Publicly Perform the Work only under the
-     terms of this License. You must include a copy of, or the Uniform
-     Resource Identifier (URI) for, this License with every copy of the
-     Work You Distribute or Publicly Perform. You may not offer or
-     impose any terms on the Work that restrict the terms of this
-     License or the ability of the recipient of the Work to exercise
-     the rights granted to that recipient under the terms of the
-     License. You may not sublicense the Work. You must keep intact all
-     notices that refer to this License and to the disclaimer of
-     warranties with every copy of the Work You Distribute or Publicly
-     Perform. When You Distribute or Publicly Perform the Work, You may
-     not impose any effective technological measures on the Work that
-     restrict the ability of a recipient of the Work from You to
-     exercise the rights granted to that recipient under the terms of
-     the License. This Section 4(a) applies to the Work as incorporated
-     in a Collection, but this does not require the Collection apart
-     from the Work itself to be made subject to the terms of this
-     License. If You create a Collection, upon notice from any Licensor
-     You must, to the extent practicable, remove from the Collection
-     any credit as required by Section 4(b), as requested. If You
-     create an Adaptation, upon notice from any Licensor You must, to
-     the extent practicable, remove from the Adaptation any credit as
-     required by Section 4(b), as requested.
-  b. If You Distribute, or Publicly Perform the Work or any Adaptations
-     or Collections, You must, unless a request has been made pursuant
-     to Section 4(a), keep intact all copyright notices for the Work
-     and provide, reasonable to the medium or means You are utilizing:
-     (i) the name of the Original Author (or pseudonym, if applicable)
-     if supplied, and/or if the Original Author and/or Licensor
-     designate another party or parties (e.g., a sponsor institute,
-     publishing entity, journal) for attribution ("Attribution
-     Parties") in Licensor's copyright notice, terms of service or by
-     other reasonable means, the name of such party or parties; (ii)
-     the title of the Work if supplied; (iii) to the extent reasonably
-     practicable, the URI, if any, that Licensor specifies to be
-     associated with the Work, unless such URI does not refer to the
-     copyright notice or licensing information for the Work; and (iv) ,
-     consistent with Section 3(b), in the case of an Adaptation, a
-     credit identifying the use of the Work in the Adaptation (e.g.,
-     "French translation of the Work by Original Author," or
-     "Screenplay based on original Work by Original Author"). The
-     credit required by this Section 4 (b) may be implemented in any
-     reasonable manner; provided, however, that in the case of a
-     Adaptation or Collection, at a minimum such credit will appear,
-     if a credit for all contributing authors of the Adaptation or
-     Collection appears, then as part of these credits and in a manner
-     at least as prominent as the credits for the other contributing
-     authors. For the avoidance of doubt, You may only use the credit
-     required by this Section for the purpose of attribution in the
-     manner set out above and, by exercising Your rights under this
-     License, You may not implicitly or explicitly assert or imply any
-     connection with, sponsorship or endorsement by the Original
-     Author, Licensor and/or Attribution Parties, as appropriate, of
-     You or Your use of the Work, without the separate, express prior
-     written permission of the Original Author, Licensor and/or
-     Attribution Parties.
-  c. Except as otherwise agreed in writing by the Licensor or as may be
-     otherwise permitted by applicable law, if You Reproduce,
-     Distribute or Publicly Perform the Work either by itself or as
-     part of any Adaptations or Collections, You must not distort,
-     mutilate, modify or take other derogatory action in relation to
-     the Work which would be prejudicial to the Original Author's honor
-     or reputation. Licensor agrees that in those jurisdictions (e.g.
-     Japan), in which any exercise of the right granted in Section 3(b)
-     of this License (the right to make Adaptations) would be deemed to
-     be a distortion, mutilation, modification or other derogatory
-     action prejudicial to the Original Author's honor and reputation,
-     the Licensor will waive or not assert, as appropriate, this
-     Section, to the fullest extent permitted by the applicable
-     national law, to enable You to reasonably exercise Your right
-     under Section 3(b) of this License (right to make Adaptations) but
-     not otherwise.
- .
- 5. Representations, Warranties and Disclaimer
- .
- UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR
- OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
- KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
- INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
- FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF
- LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF
- ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW
- THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO
- YOU.
- .
- 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
-    LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY
-    FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY
-    DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF
-    LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
- .
- 7. Termination
- .
-  a. This License and the rights granted hereunder will terminate
-     automatically upon any breach by You of the terms of this License.
-     Individuals or entities who have received Adaptations or
-     Collections from You under this License, however, will not have
-     their licenses terminated provided such individuals or entities
-     remain in full compliance with those licenses. Sections 1, 2, 5,
-     6, 7, and 8 will survive any termination of this License.
-  b. Subject to the above terms and conditions, the license granted
-     here is perpetual (for the duration of the applicable copyright in
-     the Work). Notwithstanding the above, Licensor reserves the right
-     to release the Work under different license terms or to stop
-     distributing the Work at any time; provided, however that any such
-     election will not serve to withdraw this License (or any other
-     license that has been, or is required to be, granted under the
-     terms of this License), and this License will continue in full
-     force and effect unless terminated as stated above.
- .
- 8. Miscellaneous
- .
-  a. Each time You Distribute or Publicly Perform the Work or a
-     Collection, the Licensor offers to the recipient a license to the
-     Work on the same terms and conditions as the license granted to
-     You under this License.
-  b. Each time You Distribute or Publicly Perform an Adaptation,
-     Licensor offers to the recipient a license to the original Work on
-     the same terms and conditions as the license granted to You under
-     this License.
-  c. If any provision of this License is invalid or unenforceable under
-     applicable law, it shall not affect the validity or enforceability
-     of the remainder of the terms of this License, and without further
-     action by the parties to this agreement, such provision shall be
-     reformed to the minimum extent necessary to make such provision
-     valid and enforceable.
-  d. No term or provision of this License shall be deemed waived and no
-     breach consented to unless such waiver or consent shall be in
-     writing and signed by the party to be charged with such waiver or
-     consent.
-  e. This License constitutes the entire agreement between the parties
-     with respect to the Work licensed here. There are no
-     understandings, agreements or representations with respect to the
-     Work not specified here. Licensor shall not be bound by any
-     additional provisions that may appear in any communication from
-     You. This License may not be modified without the mutual written
-     agreement of the Licensor and You.
-  f. The rights granted under, and the subject matter referenced, in
-     this License were drafted utilizing the terminology of the Berne
-     Convention for the Protection of Literary and Artistic Works (as
-     amended on September 28, 1979), the Rome Convention of 1961, the
-     WIPO Copyright Treaty of 1996, the WIPO Performances and
-     Phonograms Treaty of 1996 and the Universal Copyright Convention
-     (as revised on July 24, 1971). These rights and subject matter
-     take effect in the relevant jurisdiction in which the License
-     terms are sought to be enforced according to the corresponding
-     provisions of the implementation of those treaty provisions in the
-     applicable national law. If the standard suite of rights granted
-     under applicable copyright law includes additional rights not
-     granted under this License, such additional rights are deemed to
-     be included in the License; this License is not intended to
-     restrict the license of any rights under applicable law.
-Comment:
- Mark James distributes the icons themselves under the CC-BY 3.0 licence
- <http://creativecommons.org/licenses/by/3.0/>. Applications using
- python-flask-silk (even indirectly via another module) must provide
- credit. Including a link to <http://famfamfam.com/lab/icons/silk/> in
- the documentation of the application is probably sufficient.
-
-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>
-           2017 Jonathan Carter <jcc at debian.org>
-License: BSD-3-clause
-
-License: BSD-3-clause
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- .
-  1. Redistributions of source code must retain the above copyright
-     notice, this list of conditions and the following disclaimer.
-  2. 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.
-  3. The name of the author may not be used to endorse or promote products
-     derived from this software without specific prior written permission.
- .
- THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTOR 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/patches/privacy-breach.patch b/debian/patches/privacy-breach.patch
deleted file mode 100644
index 361a080..0000000
--- a/debian/patches/privacy-breach.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Description: Disable "fork me on GitHub" logo to prevent privacy breach
-Author: Sebastian Ramacher <sramacher at debian.org>
-Last-Update: 2014-09-10
-
---- flask-silk-0.2.orig/docs/_themes/flask_small/layout.html
-+++ flask-silk-0.2/docs/_themes/flask_small/layout.html
-@@ -13,10 +13,6 @@
- {# do not display relbars #}
- {% block relbar1 %}{% endblock %}
- {% block relbar2 %}
--  {% if theme_github_fork %}
--    <a href="http://github.com/{{ theme_github_fork }}"><img style="position: fixed; top: 0; right: 0; border: 0;"
--    src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
--  {% endif %}
- {% endblock %}
- {% block sidebar1 %}{% endblock %}
- {% block sidebar2 %}{% endblock %}
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 7ca3720..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-privacy-breach.patch
diff --git a/debian/python-flask-silk-doc.doc-base b/debian/python-flask-silk-doc.doc-base
deleted file mode 100644
index 5f82ad2..0000000
--- a/debian/python-flask-silk-doc.doc-base
+++ /dev/null
@@ -1,12 +0,0 @@
-Document: python-flask-silk
-Title: Flask-Silk API Documentation
-Author: Heungsub Lee
-Abstract:
- Flask-Silk adds the Silk icon set to Flask applications. This is its API
- documentation.
-Section: Programming/Python
-
-Format: HTML
-Index: /usr/share/doc/python-flask-silk-doc/html/index.html
-Files: /usr/share/doc/python-flask-silk-doc/html/*.html
-
diff --git a/debian/python-flask-silk-doc.docs b/debian/python-flask-silk-doc.docs
deleted file mode 100644
index 4ecc793..0000000
--- a/debian/python-flask-silk-doc.docs
+++ /dev/null
@@ -1 +0,0 @@
-docs/_build/html
diff --git a/debian/python-flask-silk.install b/debian/python-flask-silk.install
deleted file mode 100644
index 8dc0584..0000000
--- a/debian/python-flask-silk.install
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/lib/python2*
-flask_silk/icons/blank.gif usr/share/icons/python-flask-silk/16x16
-flask_silk/icons/arrow_turn_up.png usr/share/icons/python-flask-silk/16x16
-flask_silk/icons/*python.png usr/share/icons/python-flask-silk/16x16
diff --git a/debian/python-flask-silk.links b/debian/python-flask-silk.links
deleted file mode 100644
index efce1a0..0000000
--- a/debian/python-flask-silk.links
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/share/icons/python-flask-silk/16x16/blank.gif usr/lib/python2.7/dist-packages/flask_silk/icons/blank.gif
-usr/share/icons/python-flask-silk/16x16/arrow_turn_up.png usr/lib/python2.7/dist-packages/flask_silk/icons/arrow_turn_up.png
-usr/share/icons/python-flask-silk/16x16/python.png usr/lib/python2.7/dist-packages/flask_silk/icons/python.png
-usr/share/icons/python-flask-silk/16x16/page_white_python.png usr/lib/python2.7/dist-packages/flask_silk/icons/page_white_python.png
diff --git a/debian/python-flask-silk.linktrees b/debian/python-flask-silk.linktrees
deleted file mode 100644
index 8a69cca..0000000
--- a/debian/python-flask-silk.linktrees
+++ /dev/null
@@ -1 +0,0 @@
-replace usr/share/icons/silk/16x16 usr/lib/python2.7/dist-packages/flask_silk/icons
diff --git a/debian/python-flask-silk.pyremove b/debian/python-flask-silk.pyremove
deleted file mode 100644
index 94440d2..0000000
--- a/debian/python-flask-silk.pyremove
+++ /dev/null
@@ -1 +0,0 @@
-*.egg-info/SOURCES.txt
diff --git a/debian/python3-flask-silk.install b/debian/python3-flask-silk.install
deleted file mode 100644
index eed6571..0000000
--- a/debian/python3-flask-silk.install
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/lib/python3*
-flask_silk/icons/blank.gif usr/share/icons/python3-flask-silk/16x16
-flask_silk/icons/arrow_turn_up.png usr/share/python3-flask-silk/16x16
-flask_silk/icons/*python.png usr/share/icons/python3-flask-silk/16x16
diff --git a/debian/python3-flask-silk.links b/debian/python3-flask-silk.links
deleted file mode 100644
index 9a923f8..0000000
--- a/debian/python3-flask-silk.links
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/share/icons/python3-flask-silk/16x16/blank.gif usr/lib/python3/dist-packages/flask_silk/icons/blank.gif
-usr/share/icons/python3-flask-silk/16x16/arrow_turn_up.png usr/lib/python3/dist-packages/flask_silk/icons/arrow_turn_up.png
-usr/share/icons/python3-flask-silk/16x16/python.png usr/lib/python3/dist-packages/flask_silk/icons/python.png
-usr/share/icons/python3-flask-silk/16x16/page_white_python.png usr/lib/python3/dist-packages/flask_silk/icons/page_white_python.png
diff --git a/debian/python3-flask-silk.linktrees b/debian/python3-flask-silk.linktrees
deleted file mode 100644
index f40f595..0000000
--- a/debian/python3-flask-silk.linktrees
+++ /dev/null
@@ -1 +0,0 @@
-replace usr/share/icons/silk/16x16 usr/lib/python3/dist-packages/flask_silk/icons
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index fe40b52..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/make -f
-
-%:
-	dh $@ --with=python2,python3,sphinxdoc,linktree --buildsystem pybuild
-
-override_dh_clean:
-	dh_clean
-	rm -rf docs/_build
-
-override_dh_auto_build:
-	dh_auto_build
-	python setup.py build_sphinx
diff --git a/debian/source/format b/debian/source/format
deleted file mode 100644
index 163aaf8..0000000
--- a/debian/source/format
+++ /dev/null
@@ -1 +0,0 @@
-3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
deleted file mode 100644
index 8645e58..0000000
--- a/debian/source/lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-# the source is in flask_silk/icons/__init__.py
-source: source-is-missing flaskext/silk/icons/__init__.pyc
diff --git a/debian/watch b/debian/watch
deleted file mode 100644
index e870a29..0000000
--- a/debian/watch
+++ /dev/null
@@ -1,3 +0,0 @@
-version=3
-https://pypi.python.org/pypi/Flask-Silk \
-  .*/Flask-Silk-(.*)\.tar\.gz
diff --git a/docs/_themes/flask_small/layout.html b/docs/_themes/flask_small/layout.html
index 707fe01..aa1716a 100644
--- a/docs/_themes/flask_small/layout.html
+++ b/docs/_themes/flask_small/layout.html
@@ -13,6 +13,10 @@
 {# do not display relbars #}
 {% block relbar1 %}{% endblock %}
 {% block relbar2 %}
+  {% if theme_github_fork %}
+    <a href="http://github.com/{{ theme_github_fork }}"><img style="position: fixed; top: 0; right: 0; border: 0;"
+    src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
+  {% endif %}
 {% endblock %}
 {% block sidebar1 %}{% endblock %}
 {% block sidebar2 %}{% endblock %}
diff --git a/flask_autoindex/__init__.py b/flask_autoindex/__init__.py
deleted file mode 100644
index 136fd61..0000000
--- a/flask_autoindex/__init__.py
+++ /dev/null
@@ -1,276 +0,0 @@
-# -*- coding: utf-8 -*-
-"""
-    flask_autoindex
-    ~~~~~~~~~~~~~~~
-
-    The mod_autoindex for `Flask <http://flask.pocoo.org/>`_.
-
-    :copyright: (c) 2010-2013 by Heungsub Lee.
-    :license: BSD, see LICENSE for more details.
-"""
-from __future__ import absolute_import
-from future.builtins import str
-from future.builtins import object
-import os
-import re
-
-from flask import *
-from flask_silk import Silk
-from jinja2 import FileSystemLoader, TemplateNotFound
-from werkzeug import cached_property
-
-from .entry import *
-from . import icons
-
-
-__version__ = '0.5'
-__autoindex__ = '__autoindex__'
-
-
-class AutoIndex(object):
-    """This class makes the Flask application to serve automatically
-    generated index page. The wrapped application will route ``/`` and
-    ``/<path:path>`` when ``add_url_rules`` is ``True``. Here's a simple
-    example::
-
-        app = Flask(__name__)
-        AutoIndex(app, '/home/someone/public_html', add_url_rules=True)
-
-    :param base: a Flask application.
-    :param browse_root: a path which is served by root address. By default,
-                        this is the working directory, but you can set it to
-                        fix your app to always use one location if you like.
-    :param add_url_rules: if it is ``True``, the wrapped application routes
-                          ``/`` and ``/<path:path>`` to autoindex. default
-                          is ``True``.
-    :param template_context: would be passed to the Jinja2 template when
-                             rendering an AutoIndex page.
-    :param silk_options: keyword options for :class:`flask_silk.Silk`.
-    """
-
-    shared = None
-
-    def _register_shared_autoindex(self, state=None, app=None):
-        """Registers a magic module named __autoindex__."""
-        app = app or state.app
-        if __autoindex__ not in app.blueprints:
-            static_folder = os.path.join(__path__[0], 'static')
-            template_folder = os.path.join(__path__[0], 'templates')
-            shared = Blueprint(__autoindex__, __name__,
-                               template_folder=template_folder)
-            @shared.route('/__autoindex__/<path:filename>')
-            def static(filename):
-                return send_from_directory(static_folder, filename)
-            app.register_blueprint(shared)
-
-    def __new__(cls, base, *args, **kwargs):
-        if isinstance(base, Flask):
-            return object.__new__(AutoIndexApplication)
-        elif isinstance(base, Blueprint):
-            return object.__new__(AutoIndexBlueprint)
-        else:
-            raise TypeError("'base' should be Flask or Blueprint.")
-
-    def __init__(self, base, browse_root=None, add_url_rules=True,
-                 template_context=None, silk_options=None,
-                 show_hidden=False):
-        """Initializes an autoindex instance."""
-        self.base = base
-        if browse_root:
-            browse_root = str(browse_root)
-        else:
-            browse_root = os.path.curdir
-        self.rootdir = RootDirectory(browse_root, autoindex=self)
-        self.template_context = template_context
-        if silk_options is None:
-            silk_options = {}
-        silk_options['silk_path'] = silk_options.get('silk_path', '/__icons__')
-        self.silk = Silk(self.base, **silk_options)
-        self.show_hidden = show_hidden
-        self.icon_map = []
-        self.converter_map = []
-        if add_url_rules:
-            @self.base.route('/')
-            @self.base.route('/<path:path>')
-            def autoindex(path='.'):
-                return self.render_autoindex(path)
-
-    def render_autoindex(self, path, browse_root=None, template=None,
-                         template_context=None, endpoint='.autoindex',
-                         show_hidden=None, sort_by='name',
-                         mimetype=None):
-        """Renders an autoindex with the given path.
-
-        :param path: the relative path.
-        :param browse_root: if it is specified, it used to a path which is
-                            served by root address.
-        :param template: the template name.
-        :param template_context: would be passed to the Jinja2 template when
-                                 rendering an AutoIndex page.
-        :param endpoint: an endpoint which is a function.
-        :param show_hidden: whether to show hidden files (starting with '.')
-        :param sort_by: the property to sort the entrys by.
-        :param mimetype: set static mime type for files (no auto detection).
-        """
-        if browse_root:
-            rootdir = RootDirectory(browse_root, autoindex=self)
-        else:
-            rootdir = self.rootdir
-        path = re.sub(r'\/*$', '', path)
-        abspath = os.path.join(rootdir.abspath, path)
-        if os.path.isdir(abspath):
-            sort_by = request.args.get('sort_by', sort_by)
-            order = {'asc': 1, 'desc': -1}[request.args.get('order', 'asc')]
-            curdir = Directory(path, rootdir)
-            if show_hidden == None: show_hidden = self.show_hidden
-            entries = curdir.explore(sort_by=sort_by, order=order,
-                                     show_hidden=show_hidden)
-            if callable(endpoint):
-                endpoint = endpoint.__name__
-            context = {}
-            if template_context is not None:
-                context.update(template_context)
-            if self.template_context is not None:
-                context.update(self.template_context)
-            context.update(
-                curdir=curdir, entries=entries,
-                sort_by=sort_by, order=order, endpoint=endpoint)
-            if template:
... 1493 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