[Python-modules-commits] r29612 - in packages/django-simple-captcha/trunk/debian (3 files)

bam at users.alioth.debian.org bam at users.alioth.debian.org
Fri Jul 4 00:53:40 UTC 2014


    Date: Friday, July 4, 2014 @ 00:53:39
  Author: bam
Revision: 29612

Use ttf-bitstream-vera

Modified:
  packages/django-simple-captcha/trunk/debian/changelog
  packages/django-simple-captcha/trunk/debian/control
  packages/django-simple-captcha/trunk/debian/rules

Modified: packages/django-simple-captcha/trunk/debian/changelog
===================================================================
--- packages/django-simple-captcha/trunk/debian/changelog	2014-07-04 00:39:21 UTC (rev 29611)
+++ packages/django-simple-captcha/trunk/debian/changelog	2014-07-04 00:53:39 UTC (rev 29612)
@@ -3,6 +3,7 @@
   * Simplify how we call the tests in debian/rules.
   * Change copyright to DEP5.
   * Include Bitstream license in copyright file.
+  * Symlink to font supplied in ttf-bitstream-vera.
   * NOT RELEASED YET
 
  -- Brian May <bam at debian.org>  Wed, 02 Jul 2014 16:01:35 +1000

Modified: packages/django-simple-captcha/trunk/debian/control
===================================================================
--- packages/django-simple-captcha/trunk/debian/control	2014-07-04 00:39:21 UTC (rev 29611)
+++ packages/django-simple-captcha/trunk/debian/control	2014-07-04 00:53:39 UTC (rev 29612)
@@ -16,14 +16,14 @@
 Architecture: all
 Replaces: django-simple-captcha (<< 0.4.2-3)
 Breaks: django-simple-captcha (<< 0.4.2-3)
-Depends: ${misc:Depends}, ${python:Depends}
+Depends: ${misc:Depends}, ${python:Depends}, ttf-bitstream-vera
 Description: Django Simple Captcha Django application
  Django Simple Captcha is an extremely simple, yet highly customizable Django
  application to add captcha images to any Django form.
 
 Package: python3-django-captcha
 Architecture: all
-Depends: ${misc:Depends}, ${python3:Depends}
+Depends: ${misc:Depends}, ${python3:Depends}, ttf-bitstream-vera
 Description: Django Simple Captcha Django application
  Django Simple Captcha is an extremely simple, yet highly customizable Django
  application to add captcha images to any Django form.

Modified: packages/django-simple-captcha/trunk/debian/rules
===================================================================
--- packages/django-simple-captcha/trunk/debian/rules	2014-07-04 00:39:21 UTC (rev 29611)
+++ packages/django-simple-captcha/trunk/debian/rules	2014-07-04 00:53:39 UTC (rev 29612)
@@ -11,3 +11,11 @@
 	python2 debian/run_tests.py
 	python3 debian/run_tests.py
 
+override_dh_install:
+	dh_install
+
+	find debian/python-django-captcha -name Vera.ttf -exec \
+		ln -sf /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf {} \;;
+
+	find debian/python3-django-captcha -name Vera.ttf -exec \
+		ln -sf /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf {} \;;




More information about the Python-modules-commits mailing list