[Python-modules-commits] r30576 - in packages/flask-silk/trunk/debian (11 files)

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Wed Sep 10 20:20:36 UTC 2014


    Date: Wednesday, September 10, 2014 @ 20:20:35
  Author: sramacher
Revision: 30576

* 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.

Added:
  packages/flask-silk/trunk/debian/patches/
  packages/flask-silk/trunk/debian/patches/privacy-breach.patch
  packages/flask-silk/trunk/debian/patches/series
  packages/flask-silk/trunk/debian/python-flask-silk.links
  packages/flask-silk/trunk/debian/python-flask-silk.linktrees
  packages/flask-silk/trunk/debian/python-flask-silk.lintian-overrides
  packages/flask-silk/trunk/debian/source/lintian-overrides
Modified:
  packages/flask-silk/trunk/debian/changelog
  packages/flask-silk/trunk/debian/control
  packages/flask-silk/trunk/debian/python-flask-silk.install
  packages/flask-silk/trunk/debian/rules

Modified: packages/flask-silk/trunk/debian/changelog
===================================================================
--- packages/flask-silk/trunk/debian/changelog	2014-09-10 15:15:29 UTC (rev 30575)
+++ packages/flask-silk/trunk/debian/changelog	2014-09-10 20:20:35 UTC (rev 30576)
@@ -1,3 +1,19 @@
+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.

Modified: packages/flask-silk/trunk/debian/control
===================================================================
--- packages/flask-silk/trunk/debian/control	2014-09-10 15:15:29 UTC (rev 30575)
+++ packages/flask-silk/trunk/debian/control	2014-09-10 20:20:35 UTC (rev 30576)
@@ -5,12 +5,15 @@
 Uploaders: Sebastian Ramacher <sramacher at debian.org>
 Build-Depends:
  debhelper (>= 9),
+ dh-python,
+ dh-linktree,
  python-all (>= 2.6.6-3~),
  python-setuptools,
  python-sphinx (>= 1.0.7+dfsg),
- python-flask (>= 0.8)
+ python-flask (>= 0.8),
+ famfamfam-silk
 X-Python-Version: >= 2.6
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/flask-silk/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/flask-silk/trunk/
 Homepage: https://github.com/sublee/flask-silk

Added: packages/flask-silk/trunk/debian/patches/privacy-breach.patch
===================================================================
--- packages/flask-silk/trunk/debian/patches/privacy-breach.patch	                        (rev 0)
+++ packages/flask-silk/trunk/debian/patches/privacy-breach.patch	2014-09-10 20:20:35 UTC (rev 30576)
@@ -0,0 +1,17 @@
+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 %}

Added: packages/flask-silk/trunk/debian/patches/series
===================================================================
--- packages/flask-silk/trunk/debian/patches/series	                        (rev 0)
+++ packages/flask-silk/trunk/debian/patches/series	2014-09-10 20:20:35 UTC (rev 30576)
@@ -0,0 +1 @@
+privacy-breach.patch

Modified: packages/flask-silk/trunk/debian/python-flask-silk.install
===================================================================
--- packages/flask-silk/trunk/debian/python-flask-silk.install	2014-09-10 15:15:29 UTC (rev 30575)
+++ packages/flask-silk/trunk/debian/python-flask-silk.install	2014-09-10 20:20:35 UTC (rev 30576)
@@ -1 +1,4 @@
 usr/lib/python2.*
+flask_silk/icons/blank.gif usr/share/icons/flask-silk/16x16
+flask_silk/icons/arrow_turn_up.png usr/share/icons/flask-silk/16x16
+flask_silk/icons/*python.png usr/share/icons/flask-silk/16x16

Added: packages/flask-silk/trunk/debian/python-flask-silk.links
===================================================================
--- packages/flask-silk/trunk/debian/python-flask-silk.links	                        (rev 0)
+++ packages/flask-silk/trunk/debian/python-flask-silk.links	2014-09-10 20:20:35 UTC (rev 30576)
@@ -0,0 +1,4 @@
+usr/share/icons/flask-silk/16x16/blank.gif usr/lib/python2.7/dist-packages/flask_silk/icons/blank.gif
+usr/share/icons/flask-silk/16x16/arrow_turn_up.png usr/lib/python2.7/dist-packages/flask_silk/icons/arrow_turn_up.png
+usr/share/icons/flask-silk/16x16/python.png usr/lib/python2.7/dist-packages/flask_silk/icons/python.png
+usr/share/icons/flask-silk/16x16/page_white_python.png usr/lib/python2.7/dist-packages/flask_silk/icons/page_white_python.png

Added: packages/flask-silk/trunk/debian/python-flask-silk.linktrees
===================================================================
--- packages/flask-silk/trunk/debian/python-flask-silk.linktrees	                        (rev 0)
+++ packages/flask-silk/trunk/debian/python-flask-silk.linktrees	2014-09-10 20:20:35 UTC (rev 30576)
@@ -0,0 +1 @@
+replace usr/share/icons/silk/16x16 usr/lib/python2.7/dist-packages/flask_silk/icons

Added: packages/flask-silk/trunk/debian/python-flask-silk.lintian-overrides
===================================================================
--- packages/flask-silk/trunk/debian/python-flask-silk.lintian-overrides	                        (rev 0)
+++ packages/flask-silk/trunk/debian/python-flask-silk.lintian-overrides	2014-09-10 20:20:35 UTC (rev 30576)
@@ -0,0 +1,2 @@
+# they are fine
+package-contains-broken-symlink

Modified: packages/flask-silk/trunk/debian/rules
===================================================================
--- packages/flask-silk/trunk/debian/rules	2014-09-10 15:15:29 UTC (rev 30575)
+++ packages/flask-silk/trunk/debian/rules	2014-09-10 20:20:35 UTC (rev 30576)
@@ -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,sphinxdoc,linktree --buildsystem pybuild
 
 override_dh_clean:
 	dh_clean
@@ -20,11 +14,3 @@
 override_dh_auto_install:
 	dh_auto_install
 	rm debian/tmp/usr/lib/python*/*-packages/Flask_Silk-*.egg-info/SOURCES.txt
-	chmod a-x debian/tmp/usr/lib/python*/*-packages/flask_silk/icons/*.png
-
-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

Added: packages/flask-silk/trunk/debian/source/lintian-overrides
===================================================================
--- packages/flask-silk/trunk/debian/source/lintian-overrides	                        (rev 0)
+++ packages/flask-silk/trunk/debian/source/lintian-overrides	2014-09-10 20:20:35 UTC (rev 30576)
@@ -0,0 +1,2 @@
+# the source is in flask_silk/icons/__init__.py
+source: source-is-missing flaskext/silk/icons/__init__.pyc




More information about the Python-modules-commits mailing list