[Python-apps-commits] r9306 - in packages/retext/tags (9 files)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Tue Dec 11 11:19:10 UTC 2012


    Date: Tuesday, December 11, 2012 @ 11:19:08
  Author: mitya57-guest
Revision: 9306

[svn-buildpackage] Tagging retext 4.0.0-1

Added:
  packages/retext/tags/4.0.0-1/
  packages/retext/tags/4.0.0-1/debian/changelog
    (from rev 9305, packages/retext/trunk/debian/changelog)
  packages/retext/tags/4.0.0-1/debian/control
    (from rev 9304, packages/retext/trunk/debian/control)
  packages/retext/tags/4.0.0-1/debian/retext.install
    (from rev 9304, packages/retext/trunk/debian/retext.install)
  packages/retext/tags/4.0.0-1/debian/rules
    (from rev 9304, packages/retext/trunk/debian/rules)
Deleted:
  packages/retext/tags/4.0.0-1/debian/changelog
  packages/retext/tags/4.0.0-1/debian/control
  packages/retext/tags/4.0.0-1/debian/retext.install
  packages/retext/tags/4.0.0-1/debian/rules

Deleted: packages/retext/tags/4.0.0-1/debian/changelog
===================================================================
--- packages/retext/trunk/debian/changelog	2012-12-05 20:46:59 UTC (rev 9290)
+++ packages/retext/tags/4.0.0-1/debian/changelog	2012-12-11 11:19:08 UTC (rev 9306)
@@ -1,202 +0,0 @@
-retext (4.0~rc1-1) UNRELEASED; urgency=low
-
-  * New upstream release candidate
-    - Switched to pymarkups for parsing text
-    - Added support for MathJax formulas (powered by pymarkups)
-    - Switched to python3 by default
-    - Split the program by modules and added a setup.py file
-    - Now keeps indentation of last line on new lines
-    - Tabulation improvements, now uses 4 spaces (instead of tabs)
-      by default
-    - Added support for per-document style sheets
-    - External links are now opened in a web browser by default
-    - Added an option to display right margin at given column
-      (LP: #1037492)
-    - Added an option to restore window geometry on startup
-      (closes: #687602)
-  * Switch to python3 and dh_python3
-  * Bump dh compat level to 9
-  * Make retext-wpgen a transitional package, its functionality is now
-    provided by retext package
-  * Make retext.desktop a valid desktop file
-  * Added Catalan and Danish translations (from Transifex)
-  * Refreshed dependencies
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Sat, 10 Nov 2012 18:00:45 +0400
-
-retext (3.1.3-1) unstable; urgency=low
-
-  * New upstream bugfix release
-  * Add Slovak translation (from Transifex)
-  * Bump Standards-Version to 3.9.4, no changes needed
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Thu, 20 Sep 2012 19:09:39 +0400
-
-retext (3.1.2-1) unstable; urgency=low
-
-  * New upstream bugfix release
-    - Fixed processing of text containing "%\" (closes: #683717)
-  * debian/x-retext-markdown.desktop: Remove obsolete .re extension
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Wed, 22 Aug 2012 15:58:01 +0400
-
-retext (3.1.1-1) unstable; urgency=low
-
-  * New upstream bugfix release
-  * Updated translations from Transifex
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Thu, 02 Aug 2012 13:31:09 +0400
-
-retext (3.1.0-1) unstable; urgency=low
-
-  * New upstream release
-    - Suggestions for the spell checker
-    - Re-written parsing/markup logic
-    - Document-specific highlighting
-  * Recommend python-enchant instead of suggesting it
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Thu, 07 Jun 2012 14:31:26 +0400
-
-retext (3.0.4-1) unstable; urgency=low
-
-  * New upstream release
-    - "Quit" menu action now works correctly
-    - Fixed crash when trying to save files to a read-only directory
-    - If Qt doesn't know icon theme name, try to load it from gconf
-    - Added German translation
-  * Updated translations from Transifex
-  * Drop git_fix_insert_chars.patch, it's in the new release
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Fri, 25 May 2012 13:20:54 +0400
-
-retext (3.0.3-1) unstable; urgency=low
-
-  * New upstream release
-    - Now HTML export works correctly
-  * Set DM-Upload-Allowed to yes
-  * debian/patches/git_fix_insert_chars.patch:
-    - Fix typo in insertChars() function (taken from upstream Git)
-  * Add Czech, Danish and Polish translations for retext.desktop
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Wed, 02 May 2012 21:29:35 +0400
-
-retext (3.0.2-1) unstable; urgency=low
-
-  * New upstream release
-  * Fix typo in retext-wpgen description (closes: #666209)
-  * Add trailing semicolons to desktop file
-  * Add Vcs fields to debian/control
-  * First translations import from Transifex
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Tue, 03 Apr 2012 18:06:01 +0400
-
-retext (3.0.0-1) unstable; urgency=low
-
-  * New upstream release
-    - Python 3 support
-    - Improved highlighter
-    - Support for export extensions
-    - Spell checking improvements
-    - WebKit engine improvements
-  * Drop all patches, they are in the new upstream version
-  * Switch to the latest copyright format and Standards-Version 3.9.3
-  * Add PAPT to uploaders
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Sun, 11 Mar 2012 18:45:10 +0400
-
-retext (2.1.4-2) unstable; urgency=low
-
-  * debian/patches/git_01_gdata_improvements.patch:
-    - Support gdata 2.0.16
-    - Remove temporary files correctly
-  * debian/patches/git_02_handle_subprocess_errors.patch:
-    - Display an error message when subprocess.Popen fails
-  * debian/patches/01_recent_files_menu.patch:
-    - Use recent files menu instead of a dialog (backported from master)
-  * debian/rules: Install the upstream changelog correctly
-  * debian/compat, debian/control: Switch to debhelper 8
-  * debian/copyright: Update format to fix lintian warning
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Wed, 22 Feb 2012 18:55:46 +0400
-
-retext (2.1.4-1) unstable; urgency=low
-
-  * New upstream bugfix release
-    - Backport some fixes from trunk
-    - Add Chinese translations
-    - Update WpGen to 0.4.3
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Sun, 08 Jan 2012 13:39:18 +0400
-
-retext (2.1.3-1) unstable; urgency=low
-
-  * New upstream bugfix release
-    - Backport some fixes from trunk
-    - Update WpGen to 0.4.2
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Sat, 10 Dec 2011 11:49:17 +0400
-
-retext (2.1.2-1) unstable; urgency=low
-
-  * New upstream release
-    - Add French and Basque translations
-    - Add app styles (aka skins) support
-  * Rename x-markdown.xml -> x-retext-markdown.xml,
-    x-rst.xml -> x-retext-rst.xml to avoid conflicts with gedit-gmate
-  * Move all translations to locale directory
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Sat, 29 Oct 2011 11:37:07 +0400
-
-retext (2.1.0-2) unstable; urgency=low
-
-  * retext.desktop:
-    - Use %F instead of %U to match XDG specification
-    - Don't associate with text/plain
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Tue, 04 Oct 2011 20:50:58 +0400
-
-retext (2.1.0-1) unstable; urgency=low
-
-  * New upstream release
-    - Ability to use QtWebKit
-    - Splitter between edit and preview boxes
-    - Support for opening several files via command-line
-    - Support for GData 3 API and replacing existing document in Google Docs
-    - Link to help page
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Sun, 02 Oct 2011 18:29:48 +0400
-
-retext (2.0.0-1) unstable; urgency=low
-
-  * New upstream release
-    - Support for reST (reStructuredText),
-      with a GUI option to switch between Markdown and reST
-    - Text search
-    - File auto-save support
-    - WpGen 0.4, also with reST support
-    - Getting title from ReST title or Markdown metadata
-    - Changed the default extension for Markdown to .mkd
-    - New "About" dialog
-  * New text/x-markdown and text/x-rst mime files
-  * debian/control: Update descriptions
-  * Update man pages and retext.desktop
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Tue, 16 Aug 2011 16:29:18 +0400
-
-retext (1.1.5-1) unstable; urgency=low
-
-  * New release
-    - Global CSS styles support
-    - Support for changing editor font
-    - Bugfixes
-  * Include .ts translation sources into the orig tarball
-    to match debian policies
-  * ReText now comes with its own icon, clean up debian/copyright
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Thu, 28 Jul 2011 16:44:02 +0400
-
-retext (1.1.2-2) unstable; urgency=low
-
-  * First upload to debian (closes: #626157)
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Mon, 13 Jun 2011 11:57:28 +0400

Copied: packages/retext/tags/4.0.0-1/debian/changelog (from rev 9305, packages/retext/trunk/debian/changelog)
===================================================================
--- packages/retext/tags/4.0.0-1/debian/changelog	                        (rev 0)
+++ packages/retext/tags/4.0.0-1/debian/changelog	2012-12-11 11:19:08 UTC (rev 9306)
@@ -0,0 +1,204 @@
+retext (4.0.0-1) experimental; urgency=low
+
+  * New upstream stable release
+    - Switched to pymarkups for parsing text
+    - Added support for MathJax formulas (powered by pymarkups)
+    - Switched to python3 by default
+    - Split the program by modules and added a setup.py file
+    - Now keeps indentation of last line on new lines
+    - Tabulation improvements, now uses 4 spaces (instead of tabs)
+      by default
+    - Added support for per-document style sheets
+    - External links are now opened in a web browser by default
+    - Added an option to display right margin at given column
+      (LP: #1037492)
+    - Added an option to restore window geometry on startup
+      (closes: #687602)
+  * Switch to python3 and dh_python3
+  * Bump dh compat level to 9
+  * Make retext-wpgen a transitional package, its functionality is now
+    provided by retext package
+  * Make retext.desktop a valid desktop file
+  * Added Catalan and Danish translations (from Transifex)
+  * Regenerate .qm files during build
+  * Remove deprecated DM-Upload-Allowed flag
+  * Refreshed dependencies
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Tue, 11 Dec 2012 14:44:54 +0400
+
+retext (3.1.3-1) unstable; urgency=low
+
+  * New upstream bugfix release
+  * Add Slovak translation (from Transifex)
+  * Bump Standards-Version to 3.9.4, no changes needed
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Thu, 20 Sep 2012 19:09:39 +0400
+
+retext (3.1.2-1) unstable; urgency=low
+
+  * New upstream bugfix release
+    - Fixed processing of text containing "%\" (closes: #683717)
+  * debian/x-retext-markdown.desktop: Remove obsolete .re extension
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Wed, 22 Aug 2012 15:58:01 +0400
+
+retext (3.1.1-1) unstable; urgency=low
+
+  * New upstream bugfix release
+  * Updated translations from Transifex
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Thu, 02 Aug 2012 13:31:09 +0400
+
+retext (3.1.0-1) unstable; urgency=low
+
+  * New upstream release
+    - Suggestions for the spell checker
+    - Re-written parsing/markup logic
+    - Document-specific highlighting
+  * Recommend python-enchant instead of suggesting it
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Thu, 07 Jun 2012 14:31:26 +0400
+
+retext (3.0.4-1) unstable; urgency=low
+
+  * New upstream release
+    - "Quit" menu action now works correctly
+    - Fixed crash when trying to save files to a read-only directory
+    - If Qt doesn't know icon theme name, try to load it from gconf
+    - Added German translation
+  * Updated translations from Transifex
+  * Drop git_fix_insert_chars.patch, it's in the new release
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Fri, 25 May 2012 13:20:54 +0400
+
+retext (3.0.3-1) unstable; urgency=low
+
+  * New upstream release
+    - Now HTML export works correctly
+  * Set DM-Upload-Allowed to yes
+  * debian/patches/git_fix_insert_chars.patch:
+    - Fix typo in insertChars() function (taken from upstream Git)
+  * Add Czech, Danish and Polish translations for retext.desktop
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Wed, 02 May 2012 21:29:35 +0400
+
+retext (3.0.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Fix typo in retext-wpgen description (closes: #666209)
+  * Add trailing semicolons to desktop file
+  * Add Vcs fields to debian/control
+  * First translations import from Transifex
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Tue, 03 Apr 2012 18:06:01 +0400
+
+retext (3.0.0-1) unstable; urgency=low
+
+  * New upstream release
+    - Python 3 support
+    - Improved highlighter
+    - Support for export extensions
+    - Spell checking improvements
+    - WebKit engine improvements
+  * Drop all patches, they are in the new upstream version
+  * Switch to the latest copyright format and Standards-Version 3.9.3
+  * Add PAPT to uploaders
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Sun, 11 Mar 2012 18:45:10 +0400
+
+retext (2.1.4-2) unstable; urgency=low
+
+  * debian/patches/git_01_gdata_improvements.patch:
+    - Support gdata 2.0.16
+    - Remove temporary files correctly
+  * debian/patches/git_02_handle_subprocess_errors.patch:
+    - Display an error message when subprocess.Popen fails
+  * debian/patches/01_recent_files_menu.patch:
+    - Use recent files menu instead of a dialog (backported from master)
+  * debian/rules: Install the upstream changelog correctly
+  * debian/compat, debian/control: Switch to debhelper 8
+  * debian/copyright: Update format to fix lintian warning
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Wed, 22 Feb 2012 18:55:46 +0400
+
+retext (2.1.4-1) unstable; urgency=low
+
+  * New upstream bugfix release
+    - Backport some fixes from trunk
+    - Add Chinese translations
+    - Update WpGen to 0.4.3
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Sun, 08 Jan 2012 13:39:18 +0400
+
+retext (2.1.3-1) unstable; urgency=low
+
+  * New upstream bugfix release
+    - Backport some fixes from trunk
+    - Update WpGen to 0.4.2
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Sat, 10 Dec 2011 11:49:17 +0400
+
+retext (2.1.2-1) unstable; urgency=low
+
+  * New upstream release
+    - Add French and Basque translations
+    - Add app styles (aka skins) support
+  * Rename x-markdown.xml -> x-retext-markdown.xml,
+    x-rst.xml -> x-retext-rst.xml to avoid conflicts with gedit-gmate
+  * Move all translations to locale directory
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Sat, 29 Oct 2011 11:37:07 +0400
+
+retext (2.1.0-2) unstable; urgency=low
+
+  * retext.desktop:
+    - Use %F instead of %U to match XDG specification
+    - Don't associate with text/plain
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Tue, 04 Oct 2011 20:50:58 +0400
+
+retext (2.1.0-1) unstable; urgency=low
+
+  * New upstream release
+    - Ability to use QtWebKit
+    - Splitter between edit and preview boxes
+    - Support for opening several files via command-line
+    - Support for GData 3 API and replacing existing document in Google Docs
+    - Link to help page
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Sun, 02 Oct 2011 18:29:48 +0400
+
+retext (2.0.0-1) unstable; urgency=low
+
+  * New upstream release
+    - Support for reST (reStructuredText),
+      with a GUI option to switch between Markdown and reST
+    - Text search
+    - File auto-save support
+    - WpGen 0.4, also with reST support
+    - Getting title from ReST title or Markdown metadata
+    - Changed the default extension for Markdown to .mkd
+    - New "About" dialog
+  * New text/x-markdown and text/x-rst mime files
+  * debian/control: Update descriptions
+  * Update man pages and retext.desktop
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Tue, 16 Aug 2011 16:29:18 +0400
+
+retext (1.1.5-1) unstable; urgency=low
+
+  * New release
+    - Global CSS styles support
+    - Support for changing editor font
+    - Bugfixes
+  * Include .ts translation sources into the orig tarball
+    to match debian policies
+  * ReText now comes with its own icon, clean up debian/copyright
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Thu, 28 Jul 2011 16:44:02 +0400
+
+retext (1.1.2-2) unstable; urgency=low
+
+  * First upload to debian (closes: #626157)
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Mon, 13 Jun 2011 11:57:28 +0400

Deleted: packages/retext/tags/4.0.0-1/debian/control
===================================================================
--- packages/retext/trunk/debian/control	2012-12-05 20:46:59 UTC (rev 9290)
+++ packages/retext/tags/4.0.0-1/debian/control	2012-12-11 11:19:08 UTC (rev 9306)
@@ -1,34 +0,0 @@
-Source: retext
-Section: editors
-Priority: optional
-Maintainer: Dmitry Shachnev <mitya57 at gmail.com>
-Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 9), imagemagick, python3-all, qt4-linguist-tools
-Standards-Version: 3.9.4
-Homepage: http://retext.sourceforge.net/
-Vcs-Svn: svn://svn.debian.org/python-apps/packages/retext/trunk/
-Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/retext/trunk/
-
-Package: retext
-Architecture: all
-Depends: ${misc:Depends}, ${python3:Depends}, python3-pyqt4, python3-markups
-Recommends: python3-enchant
-Breaks: retext-wpgen (<< 4.0~)
-Replaces: retext-wpgen (<< 4.0~)
-Description: Simple text editor for Markdown and reStructuredText
- ReText is a simple editor for Markdown and reStructuredText markup languages.
- .
- ReText supports tabs, live text preview and syntax highlighting. Supported
- export formats: HTML, ODT, PDF. It is also possible to write custom export
- extensions.
- .
- It is written in Python using Qt libraries.
-
-Package: retext-wpgen
-Architecture: all
-Section: oldlibs
-Depends: ${misc:Depends}, retext
-Description: Dummy transitional package
- This is a transitional package and can be safely removed. The wpgen tool is
- now provided by "retext" package.

Copied: packages/retext/tags/4.0.0-1/debian/control (from rev 9304, packages/retext/trunk/debian/control)
===================================================================
--- packages/retext/tags/4.0.0-1/debian/control	                        (rev 0)
+++ packages/retext/tags/4.0.0-1/debian/control	2012-12-11 11:19:08 UTC (rev 9306)
@@ -0,0 +1,34 @@
+Source: retext
+Section: editors
+Priority: optional
+Maintainer: Dmitry Shachnev <mitya57 at gmail.com>
+Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 9), imagemagick, python3-all, qt4-linguist-tools
+Standards-Version: 3.9.4
+Homepage: http://retext.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/python-apps/packages/retext/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/retext/trunk/
+
+Package: retext
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}, python3-pyqt4, python3-markups
+Recommends: python3-enchant
+Breaks: retext-wpgen (<< 4.0~)
+Replaces: retext-wpgen (<< 4.0~)
+Description: Simple text editor for Markdown and reStructuredText
+ ReText is a simple editor for Markdown and reStructuredText markup languages.
+ .
+ ReText supports tabs, live text preview and syntax highlighting. Supported
+ export formats: HTML, ODT, PDF. It is also possible to write custom export
+ extensions.
+ .
+ It is written in Python using Qt libraries.
+
+Package: retext-wpgen
+Architecture: all
+Section: oldlibs
+Priority: extra
+Depends: ${misc:Depends}, retext
+Description: Dummy transitional package
+ This is a transitional package and can be safely removed. The wpgen tool is
+ now provided by "retext" package.

Deleted: packages/retext/tags/4.0.0-1/debian/retext.install
===================================================================
--- packages/retext/trunk/debian/retext.install	2012-12-05 20:46:59 UTC (rev 9290)
+++ packages/retext/tags/4.0.0-1/debian/retext.install	2012-12-11 11:19:08 UTC (rev 9306)
@@ -1,6 +0,0 @@
-locale/retext_*.qm /usr/share/retext/locale
-icons/retext.svg /usr/share/icons/hicolor/scalable/apps
-debian/retext.desktop /usr/share/applications
-debian/x-*.xml /usr/share/mime/packages
-templates/* /usr/share/wpgen
-usr/share/retext/

Copied: packages/retext/tags/4.0.0-1/debian/retext.install (from rev 9304, packages/retext/trunk/debian/retext.install)
===================================================================
--- packages/retext/tags/4.0.0-1/debian/retext.install	                        (rev 0)
+++ packages/retext/tags/4.0.0-1/debian/retext.install	2012-12-11 11:19:08 UTC (rev 9306)
@@ -0,0 +1,6 @@
+build/locale/retext_*.qm /usr/share/retext/locale
+icons/retext.svg /usr/share/icons/hicolor/scalable/apps
+debian/retext.desktop /usr/share/applications
+debian/x-*.xml /usr/share/mime/packages
+templates/* /usr/share/wpgen
+usr/share/retext/

Deleted: packages/retext/tags/4.0.0-1/debian/rules
===================================================================
--- packages/retext/trunk/debian/rules	2012-12-05 20:46:59 UTC (rev 9290)
+++ packages/retext/tags/4.0.0-1/debian/rules	2012-12-11 11:19:08 UTC (rev 9306)
@@ -1,33 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-
-ICONSDIR=debian/retext/usr/share/icons/hicolor
-
-# python3 should be last so that scripts get a correct shebang
-PY3REQUESTED=$(shell py3versions -r)
-PY3DEFAULT=$(shell py3versions -d)
-PYTHON3=$(filter-out $(PY3DEFAULT),$(PY3REQUESTED)) python3
-
-%:
-	dh $@ --with python3
-
-override_dh_auto_clean:
-	rm -rf build ReText/__pycache__
-
-override_dh_auto_build:
-	set -ex; for python in $(PYTHON3); do \
-		$$python setup.py build; \
-	done
-
-override_dh_auto_install:
-	set -ex; for python in $(PYTHON3); do \
-		$$python setup.py install --install-layout=deb --install-lib=/usr/share/retext \
-		--install-scripts=/usr/share/retext --root=debian/tmp; \
-	done
-	for size in 16 22 24 32 48 128; do \
-		mkdir -p $(ICONSDIR)/$$size\x$$size/apps/; \
-		convert -resize $$size icons/retext.png $(ICONSDIR)/$$size\x$$size/apps/retext.png; \
-	done
-
-override_dh_installchangelogs:
-	dh_installchangelogs changelog.md

Copied: packages/retext/tags/4.0.0-1/debian/rules (from rev 9304, packages/retext/trunk/debian/rules)
===================================================================
--- packages/retext/tags/4.0.0-1/debian/rules	                        (rev 0)
+++ packages/retext/tags/4.0.0-1/debian/rules	2012-12-11 11:19:08 UTC (rev 9306)
@@ -0,0 +1,36 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+ICONSDIR=debian/retext/usr/share/icons/hicolor
+
+# python3 should be last so that scripts get a correct shebang
+PY3REQUESTED=$(shell py3versions -r)
+PY3DEFAULT=$(shell py3versions -d)
+PYTHON3=$(filter-out $(PY3DEFAULT),$(PY3REQUESTED)) python3
+
+%:
+	dh $@ --with python3
+
+override_dh_auto_clean:
+	rm -rf build ReText/__pycache__
+
+override_dh_auto_build:
+	set -ex; for python in $(PYTHON3); do \
+		$$python setup.py build; \
+	done
+	mkdir build/locale
+	cp locale/*.ts build/locale/
+	lrelease build/locale/*.ts
+
+override_dh_auto_install:
+	set -ex; for python in $(PYTHON3); do \
+		$$python setup.py install --install-layout=deb --install-lib=/usr/share/retext \
+		--install-scripts=/usr/share/retext --root=debian/tmp; \
+	done
+	for size in 16 22 24 32 48 128; do \
+		mkdir -p $(ICONSDIR)/$$size\x$$size/apps/; \
+		convert -resize $$size icons/retext.png $(ICONSDIR)/$$size\x$$size/apps/retext.png; \
+	done
+
+override_dh_installchangelogs:
+	dh_installchangelogs changelog.md




More information about the Python-apps-commits mailing list