[Python-apps-commits] r3819 - in packages/phatch/tags (8 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Wed Sep 23 10:26:04 UTC 2009


    Date: Wednesday, September 23, 2009 @ 10:26:04
  Author: piotr
Revision: 3819

tagging 0.2.1-1

Added:
  packages/phatch/tags/0.2.1-1/
  packages/phatch/tags/0.2.1-1/debian/changelog
    (from rev 3818, packages/phatch/trunk/debian/changelog)
  packages/phatch/tags/0.2.1-1/debian/control
    (from rev 3818, packages/phatch/trunk/debian/control)
  packages/phatch/tags/0.2.1-1/debian/phatch-doc.dirs
    (from rev 3818, packages/phatch/trunk/debian/phatch-doc.dirs)
  packages/phatch/tags/0.2.1-1/debian/rules
    (from rev 3818, packages/phatch/trunk/debian/rules)
Deleted:
  packages/phatch/tags/0.2.1-1/debian/changelog
  packages/phatch/tags/0.2.1-1/debian/control
  packages/phatch/tags/0.2.1-1/debian/rules

Deleted: packages/phatch/tags/0.2.1-1/debian/changelog
===================================================================
--- packages/phatch/trunk/debian/changelog	2009-09-22 23:43:01 UTC (rev 3817)
+++ packages/phatch/tags/0.2.1-1/debian/changelog	2009-09-23 10:26:04 UTC (rev 3819)
@@ -1,119 +0,0 @@
-phatch (0.2.1-1) unstable; urgency=low
-
-  [ Stani M ]
-   * New upstream release (Closes LP: #198365, #234788, #270478,
-    #297241, #304132, #311646, #344548, #352009, #378889, #378890,
-    #379280, #379720, #380415, #380776, #380816, #381091, #381145,
-    #381149, #381169, #381379, #381660, #382266, #382763, #382766,
-    #382776, #382977, #383140, #383664, #383889, #384273, #384315,
-    #384322, #384420, #384421, #384495, #384522, #384548, #384974,
-    #385058, #385059, #385166, #385246, #385356, #385740, #386411,
-    #386494, #386509, #386638, #386643, #386707, #386741, #386761,
-    #386772, #387116, #387413, #388094, #388155, #388371, #388848,
-    #390070, #391006, #391483, #391484, #391486, #391488, #391539,
-    #391542, #392907, #392999, #393183, #393255, #393257, #393993,
-    #394022, #394041, #394946, #398704, #413271, #415152, #418519,
-    #419459, #419563, #425910)
-  * debian/copyright:
-    - Added copyrights for the new contributions.
-  * debian/control:
-    - Added python-notify and libtiff-tools as dependencies
-
-  [ Emilio Pozuelo Monfort ]
-  * debian/rules:
-    - Install phatch in /usr/share/phatch instead of as a public module.
-    - Stop removing a file from a pysupport folder. With the above change
-      is not necessary anymore. Closes: #516322.
-  * debian/copyright:
-    - Add "Copyright" to the debian copyright.
-    - Update years.
-  * debian/control:
-    - move python-nautilus and pkg-config to Build-Depends-Indep.
-    - Wrap depends.
-  * Update my email address.
-
-  [ Piotr Ożarowski ]
-  * Splitting out the package, new binary packages:
-    - phatch-cli (command line interface)
-    - phatch-doc (documentation for developers)
-    - phatch-nautilus (Python nautilus integration)
-  * Add blender and inkscape to phatch's Suggests
-  * Add imagemagick, libjpeg-progs, exiftran, xcftools and dcraw to
-    phatch-cli's Recommends (new actions will use them)
-  * Add ttf-freefont and ttf-thai-tlwg to phatch-cli Depends (and add symlinks
-    to use fonts from these packages instead of local copies)
-  * Add locate to phatch-cli's Depends (used to find fonts)
-  * Add python-sphinx to build depens (docs are regenerated at build time)
-  * Bump Standards-Version to 3.8.3 (no changes needed)
-
- -- Piotr Ożarowski <piotr at debian.org>  Tue, 25 Aug 2009 20:41:45 +0200
-
-phatch (0.1.6-1) unstable; urgency=low
-
-  [ Stani M ]
-  * New upstream release (Closes LP: #288404, #277073, #260549)
-
-  [ Emilio Pozuelo Monfort ]
-  * Fix watch file.
-
-  [ Sandro Tosi ]
-  * debian/control
-    - switch Vcs-Browser field to viewsvn
-
- -- Piotr Ożarowski <piotr at debian.org>  Sun, 09 Nov 2008 21:43:23 +0100
-
-phatch (0.1.5-1) unstable; urgency=medium
-
-  [ Stani M ]
-  * New upstream release(Closes LP: #228259, #232436, #236282, #236462, #237359)
-  * debian/control:
-    - Added pkg-config and python-nautilus to build-depends, as
-      setup.py uses nautilus-python.pc to look for the nautilus
-      extensions path. Closes: #475233.
-  * debian/patches:
-    - All patches of Ubuntu and Debian are implemented upstream and are removed
-      from the package
-
-  [ Piotr Ożarowski ]
-  * Bump Standards-Version to 3.8.0 (no changes needed)
-  * debian/copyright wrapped at column 80 (where possible)
-
- -- Piotr Ożarowski <piotr at debian.org>  Mon, 21 Jul 2008 12:53:17 +0200
-
-phatch (0.1.3-2) unstable; urgency=low
-
-  * debian/patches/from_upstream_fix_themes.patch:
-    - Fix Phatch not working properly with some themes.
-      Thanks to Stani for the patch.
-
- -- Emilio Pozuelo Monfort <pochu at ubuntu.com>  Wed, 09 Apr 2008 14:00:05 +0200
-
-phatch (0.1.3-1) unstable; urgency=low
-
-  * New upstream release
-
- -- Stani M <spe.stani.be at gmail.com>  Mon, 07 Apr 2008 14:23:43 +0200
-
-phatch (0.1.2-1) unstable; urgency=low
-
-  * New upstream release
-
- -- Stani M <spe.stani.be at gmail.com>  Sat, 29 Mar 2008 00:21:07 +0100
-
-phatch (0.1.1-1) unstable; urgency=low
-
-  * New upstream release
-
-  [ Stani M ]
-  * Short and long description updated
-
-  [ Piotr Ożarowski ]
-  * Add myself to Uploaders
-
- -- Piotr Ożarowski <piotr at debian.org>  Thu, 06 Mar 2008 20:09:11 +0100
-
-phatch (0.1-1) unstable; urgency=low
-
-  * Initial release (Closes: #454499)
-
- -- Emilio Pozuelo Monfort <pochu at ubuntu.com>  Wed, 13 Feb 2008 23:48:47 +0100

Copied: packages/phatch/tags/0.2.1-1/debian/changelog (from rev 3818, packages/phatch/trunk/debian/changelog)
===================================================================
--- packages/phatch/tags/0.2.1-1/debian/changelog	                        (rev 0)
+++ packages/phatch/tags/0.2.1-1/debian/changelog	2009-09-23 10:26:04 UTC (rev 3819)
@@ -0,0 +1,121 @@
+phatch (0.2.1-1) unstable; urgency=low
+
+  [ Stani M ]
+   * New upstream release (Closes LP: #198365, #234788, #270478,
+    #297241, #304132, #311646, #344548, #352009, #378889, #378890,
+    #379280, #379720, #380415, #380776, #380816, #381091, #381145,
+    #381149, #381169, #381379, #381660, #382266, #382763, #382766,
+    #382776, #382977, #383140, #383664, #383889, #384273, #384315,
+    #384322, #384420, #384421, #384495, #384522, #384548, #384974,
+    #385058, #385059, #385166, #385246, #385356, #385740, #386411,
+    #386494, #386509, #386638, #386643, #386707, #386741, #386761,
+    #386772, #387116, #387413, #388094, #388155, #388371, #388848,
+    #390070, #391006, #391483, #391484, #391486, #391488, #391539,
+    #391542, #392907, #392999, #393183, #393255, #393257, #393993,
+    #394022, #394041, #394946, #398704, #413271, #415152, #418519,
+    #419459, #419563, #425910)
+  * debian/copyright:
+    - Added copyrights for the new contributions.
+  * debian/control:
+    - Added python-notify and libtiff-tools as dependencies
+
+  [ Emilio Pozuelo Monfort ]
+  * debian/rules:
+    - Install phatch in /usr/share/phatch instead of as a public module.
+    - Stop removing a file from a pysupport folder. With the above change
+      is not necessary anymore. Closes: #516322.
+  * debian/copyright:
+    - Add "Copyright" to the debian copyright.
+    - Update years.
+  * debian/control:
+    - move python-nautilus and pkg-config to Build-Depends-Indep.
+    - Wrap depends.
+  * Update my email address.
+
+  [ Piotr Ożarowski ]
+  * Splitting out the package, new binary packages:
+    - phatch-cli (command line interface)
+    - phatch-doc (documentation for developers)
+    - phatch-nautilus (Python nautilus integration)
+  * Add blender and inkscape to phatch's Suggests
+  * Add imagemagick, libjpeg-progs, exiftran, xcftools and dcraw to
+    phatch-cli's Recommends (new actions will use them)
+  * Add ttf-freefont and ttf-thai-tlwg to phatch-cli Depends (and add symlinks
+    to use fonts from these packages instead of local copies)
+  * Add locate to phatch-cli's Depends (used to find fonts)
+  * Add python-sphinx and locate to build depens (docs are regenerated at
+    build time)
+  * Add lintian override for extra-license-file in phatch-doc (false positive)
+  * Bump Standards-Version to 3.8.3 (no changes needed)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Wed, 23 Sep 2009 10:24:46 +0200
+
+phatch (0.1.6-1) unstable; urgency=low
+
+  [ Stani M ]
+  * New upstream release (Closes LP: #288404, #277073, #260549)
+
+  [ Emilio Pozuelo Monfort ]
+  * Fix watch file.
+
+  [ Sandro Tosi ]
+  * debian/control
+    - switch Vcs-Browser field to viewsvn
+
+ -- Piotr Ożarowski <piotr at debian.org>  Sun, 09 Nov 2008 21:43:23 +0100
+
+phatch (0.1.5-1) unstable; urgency=medium
+
+  [ Stani M ]
+  * New upstream release(Closes LP: #228259, #232436, #236282, #236462, #237359)
+  * debian/control:
+    - Added pkg-config and python-nautilus to build-depends, as
+      setup.py uses nautilus-python.pc to look for the nautilus
+      extensions path. Closes: #475233.
+  * debian/patches:
+    - All patches of Ubuntu and Debian are implemented upstream and are removed
+      from the package
+
+  [ Piotr Ożarowski ]
+  * Bump Standards-Version to 3.8.0 (no changes needed)
+  * debian/copyright wrapped at column 80 (where possible)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Mon, 21 Jul 2008 12:53:17 +0200
+
+phatch (0.1.3-2) unstable; urgency=low
+
+  * debian/patches/from_upstream_fix_themes.patch:
+    - Fix Phatch not working properly with some themes.
+      Thanks to Stani for the patch.
+
+ -- Emilio Pozuelo Monfort <pochu at ubuntu.com>  Wed, 09 Apr 2008 14:00:05 +0200
+
+phatch (0.1.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Stani M <spe.stani.be at gmail.com>  Mon, 07 Apr 2008 14:23:43 +0200
+
+phatch (0.1.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Stani M <spe.stani.be at gmail.com>  Sat, 29 Mar 2008 00:21:07 +0100
+
+phatch (0.1.1-1) unstable; urgency=low
+
+  * New upstream release
+
+  [ Stani M ]
+  * Short and long description updated
+
+  [ Piotr Ożarowski ]
+  * Add myself to Uploaders
+
+ -- Piotr Ożarowski <piotr at debian.org>  Thu, 06 Mar 2008 20:09:11 +0100
+
+phatch (0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #454499)
+
+ -- Emilio Pozuelo Monfort <pochu at ubuntu.com>  Wed, 13 Feb 2008 23:48:47 +0100

Deleted: packages/phatch/tags/0.2.1-1/debian/control
===================================================================
--- packages/phatch/trunk/debian/control	2009-09-22 23:43:01 UTC (rev 3817)
+++ packages/phatch/tags/0.2.1-1/debian/control	2009-09-23 10:26:04 UTC (rev 3819)
@@ -1,89 +0,0 @@
-Source: phatch
-Section: graphics
-Priority: optional
-Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Uploaders: Emilio Pozuelo Monfort <pochu at debian.org>, Bernd Zeimetz <bzed at debian.org>,
- Stani M <spe.stani.be at gmail.com>, Piotr Ożarowski <piotr at debian.org>
-Standards-Version: 3.8.3
-Homepage: http://photobatch.stani.be
-Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/phatch/trunk/
-Vcs-Svn: svn://svn.debian.org/python-apps/packages/phatch/trunk/
-Build-Depends: debhelper (>= 5.0.51),
-               cdbs (>= 0.4.43),
-               python (>= 2.3.5-11)
-Build-Depends-Indep: python-support (>= 0.5.3),
-                     python-nautilus,
-                     pkg-config,
-                     python-sphinx
-
-Package: phatch
-Architecture: all
-Depends: ${python:Depends},
-         ${misc:Depends},
-         phatch-cli (= ${binary:Version}),
-# move these to phatch-wx in the future:
-         python-wxgtk2.8 | python-wxgtk2.6,
-         python-wxversion,
-Suggests: blender, inkscape
-Enhances: thunar
-Description: simple to use Photo Batch Processor - GUI
- Phatch handles all popular image formats and can duplicate (sub)folder
- hierarchies. It can batch resize, rotate, apply perspective, shadows, rounded
- corners, ... and more in minutes instead of hours or days if you do it
- manually. Phatch allows you to use EXIF and IPTC tags for renaming and data
- stamping.
-
-Package: phatch-cli
-Conflicts: phatch (<< 0.2-1~)
-Architecture: all
-Depends: ${python:Depends},
-         ${misc:Depends},
-         python-imaging,
-         python-notify,
-         python-pyexiv2,
-         libtiff-tools,
-         ttf-freefont,
-         ttf-thai-tlwg,
-         locate
-# move Recommends to phatch-plugins if we'll decide to split out plugins:
-Recommends: xcftools,
-         dcraw,
-         imagemagick,
-         libjpeg-progs,
-         exiftran
-Description: simple to use Photo Batch Processor - command line interface
- Phatch handles all popular image formats and can duplicate (sub)folder
- hierarchies. It can batch resize, rotate, apply perspective, shadows, rounded
- corners, ... and more in minutes instead of hours or days if you do it
- manually. Phatch allows you to use EXIF and IPTC tags for renaming and data
- stamping.
- .
- This package contains command line interface to Phatch.
-
-Package: phatch-nautilus
-Architecture: all
-Depends: ${misc:Depends}, phatch, nautilus
-Enhances: nautilus
-Description: simple to use Photo Batch Processor - Nautilus scripts
- Phatch handles all popular image formats and can duplicate (sub)folder
- hierarchies. It can batch resize, rotate, apply perspective, shadows, rounded
- corners, ... and more in minutes instead of hours or days if you do it
- manually. Phatch allows you to use EXIF and IPTC tags for renaming and data
- stamping.
- .
- This package integrates Phatch with Nautilus.
-
-Package: phatch-doc
-Architecture: all
-Priority: extra
-Section: doc
-Depends: ${misc:Depends}, libjs-jquery
-Suggests: phatch
-Description: simple to use Photo Batch Processor - developer documentation
- Phatch handles all popular image formats and can duplicate (sub)folder
- hierarchies. It can batch resize, rotate, apply perspective, shadows, rounded
- corners, ... and more in minutes instead of hours or days if you do it
- manually. Phatch allows you to use EXIF and IPTC tags for renaming and data
- stamping.
- .
- This package provides Phatch documentation for developers.

Copied: packages/phatch/tags/0.2.1-1/debian/control (from rev 3818, packages/phatch/trunk/debian/control)
===================================================================
--- packages/phatch/tags/0.2.1-1/debian/control	                        (rev 0)
+++ packages/phatch/tags/0.2.1-1/debian/control	2009-09-23 10:26:04 UTC (rev 3819)
@@ -0,0 +1,90 @@
+Source: phatch
+Section: graphics
+Priority: optional
+Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Uploaders: Emilio Pozuelo Monfort <pochu at debian.org>, Bernd Zeimetz <bzed at debian.org>,
+ Stani M <spe.stani.be at gmail.com>, Piotr Ożarowski <piotr at debian.org>
+Standards-Version: 3.8.3
+Homepage: http://photobatch.stani.be
+Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/phatch/trunk/
+Vcs-Svn: svn://svn.debian.org/python-apps/packages/phatch/trunk/
+Build-Depends: debhelper (>= 5.0.51),
+               cdbs (>= 0.4.43),
+               python (>= 2.3.5-11)
+Build-Depends-Indep: python-support (>= 0.5.3),
+                     python-nautilus,
+                     pkg-config,
+                     python-sphinx,
+                     locate
+
+Package: phatch
+Architecture: all
+Depends: ${python:Depends},
+         ${misc:Depends},
+         phatch-cli (= ${binary:Version}),
+# move these to phatch-wx in the future:
+         python-wxgtk2.8 | python-wxgtk2.6,
+         python-wxversion,
+Suggests: blender, inkscape
+Enhances: thunar
+Description: simple to use Photo Batch Processor - GUI
+ Phatch handles all popular image formats and can duplicate (sub)folder
+ hierarchies. It can batch resize, rotate, apply perspective, shadows, rounded
+ corners, ... and more in minutes instead of hours or days if you do it
+ manually. Phatch allows you to use EXIF and IPTC tags for renaming and data
+ stamping.
+
+Package: phatch-cli
+Conflicts: phatch (<< 0.2-1~)
+Architecture: all
+Depends: ${python:Depends},
+         ${misc:Depends},
+         python-imaging,
+         python-notify,
+         python-pyexiv2,
+         libtiff-tools,
+         ttf-freefont,
+         ttf-thai-tlwg,
+         locate
+# move Recommends to phatch-plugins if we'll decide to split out plugins:
+Recommends: xcftools,
+         dcraw,
+         imagemagick,
+         libjpeg-progs,
+         exiftran
+Description: simple to use Photo Batch Processor - command line interface
+ Phatch handles all popular image formats and can duplicate (sub)folder
+ hierarchies. It can batch resize, rotate, apply perspective, shadows, rounded
+ corners, ... and more in minutes instead of hours or days if you do it
+ manually. Phatch allows you to use EXIF and IPTC tags for renaming and data
+ stamping.
+ .
+ This package contains command line interface to Phatch.
+
+Package: phatch-nautilus
+Architecture: all
+Depends: ${misc:Depends}, phatch, nautilus
+Enhances: nautilus
+Description: simple to use Photo Batch Processor - Nautilus scripts
+ Phatch handles all popular image formats and can duplicate (sub)folder
+ hierarchies. It can batch resize, rotate, apply perspective, shadows, rounded
+ corners, ... and more in minutes instead of hours or days if you do it
+ manually. Phatch allows you to use EXIF and IPTC tags for renaming and data
+ stamping.
+ .
+ This package integrates Phatch with Nautilus.
+
+Package: phatch-doc
+Architecture: all
+Priority: extra
+Section: doc
+Depends: ${misc:Depends}, libjs-jquery
+Suggests: phatch
+Description: simple to use Photo Batch Processor - developer documentation
+ Phatch handles all popular image formats and can duplicate (sub)folder
+ hierarchies. It can batch resize, rotate, apply perspective, shadows, rounded
+ corners, ... and more in minutes instead of hours or days if you do it
+ manually. Phatch allows you to use EXIF and IPTC tags for renaming and data
+ stamping.
+ .
+ This package provides Phatch documentation for developers.

Copied: packages/phatch/tags/0.2.1-1/debian/phatch-doc.dirs (from rev 3818, packages/phatch/trunk/debian/phatch-doc.dirs)
===================================================================
--- packages/phatch/tags/0.2.1-1/debian/phatch-doc.dirs	                        (rev 0)
+++ packages/phatch/tags/0.2.1-1/debian/phatch-doc.dirs	2009-09-23 10:26:04 UTC (rev 3819)
@@ -0,0 +1,2 @@
+/usr/share/doc/phatch/html/
+/usr/share/lintian/overrides

Deleted: packages/phatch/tags/0.2.1-1/debian/rules
===================================================================
--- packages/phatch/trunk/debian/rules	2009-09-22 23:43:01 UTC (rev 3817)
+++ packages/phatch/tags/0.2.1-1/debian/rules	2009-09-23 10:26:04 UTC (rev 3819)
@@ -1,41 +0,0 @@
-#!/usr/bin/make -f
-
-DEB_PYTHON_SYSTEM := pysupport
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-
-PKG_P_DIR=$(CURDIR)/debian/phatch
-PKG_C_DIR=$(CURDIR)/debian/phatch-cli
-PKG_D_DIR=$(CURDIR)/debian/phatch-doc
-PKG_N_DIR=$(CURDIR)/debian/phatch-nautilus
-
-# install to phatch-cli by default and move files later
-DEB_PYTHON_INSTALL_ARGS_ALL = --install-lib=/usr/share/phatch --root=$(PKG_C_DIR)
-
-binary-install/phatch-cli::
-	find $(PKG_C_DIR) -name '*.py[co]' -delete
-	sed -i -e "s|import phatch|sys.path.insert(0,'/usr/share/phatch/');import phatch|" $(PKG_C_DIR)/usr/bin/phatch
-
-binary-install/phatch:: binary-install/phatch-cli
-	mkdir -p $(PKG_P_DIR)/usr/share/phatch/phatch/lib
-	mv $(PKG_C_DIR)/usr/share/phatch/phatch/pyWx $(PKG_P_DIR)/usr/share/phatch/phatch
-	mv $(PKG_C_DIR)/usr/share/phatch/phatch/lib/pyWx $(PKG_P_DIR)/usr/share/phatch/phatch/lib
-	dh_icons
-
-binary-install/phatch-nautilus:: binary-install/phatch-cli
-	mkdir -p $(PKG_N_DIR)/usr/share/phatch/phatch/lib/linux/
-	mv $(PKG_C_DIR)/usr/lib $(PKG_N_DIR)/usr/
-	mv $(PKG_C_DIR)/usr/share/phatch/phatch/lib/linux/nautilusExtension.py\
-	   $(PKG_N_DIR)/usr/share/phatch/phatch/lib/linux/
-
-binary-install/phatch-docs::
-	mkdir -p $(PKG_D_DIR)/usr/share/doc/phatch/html/
-	cd docs && python update.py
-	dh_install -p phatch-doc docs/build/html /usr/share/doc/phatch/
-	dh_link -p phatch-doc /usr/share/javascript/jquery/jquery.js \
-	    /usr/share/doc/phatch/html/_static/jquery.js
-	rm -f $(PKG_D_DIR)/usr/share/doc/phatch/html/.buildinfo
-
-clean::
-	rm -rf docs/build

Copied: packages/phatch/tags/0.2.1-1/debian/rules (from rev 3818, packages/phatch/trunk/debian/rules)
===================================================================
--- packages/phatch/tags/0.2.1-1/debian/rules	                        (rev 0)
+++ packages/phatch/tags/0.2.1-1/debian/rules	2009-09-23 10:26:04 UTC (rev 3819)
@@ -0,0 +1,44 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM := pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+PKG_P_DIR=$(CURDIR)/debian/phatch
+PKG_C_DIR=$(CURDIR)/debian/phatch-cli
+PKG_D_DIR=$(CURDIR)/debian/phatch-doc
+PKG_N_DIR=$(CURDIR)/debian/phatch-nautilus
+
+# install to phatch-cli by default and move files later
+DEB_PYTHON_INSTALL_ARGS_ALL = --install-lib=/usr/share/phatch --root=$(PKG_C_DIR)
+
+binary-install/phatch-cli::
+	rm -rf $(PKG_C_DIR)/usr/share/phatch/docs # install_data creates it
+	find $(PKG_C_DIR) -name '*.py[co]' -delete
+	sed -i -e "s|import phatch|sys.path.insert(0,'/usr/share/phatch/');import phatch|" $(PKG_C_DIR)/usr/bin/phatch
+
+binary-install/phatch:: binary-install/phatch-cli
+	mkdir -p $(PKG_P_DIR)/usr/share/phatch/phatch/lib
+	mv $(PKG_C_DIR)/usr/share/phatch/phatch/pyWx $(PKG_P_DIR)/usr/share/phatch/phatch
+	mv $(PKG_C_DIR)/usr/share/phatch/phatch/lib/pyWx $(PKG_P_DIR)/usr/share/phatch/phatch/lib
+	dh_icons
+
+binary-install/phatch-nautilus:: binary-install/phatch-cli
+	mkdir -p $(PKG_N_DIR)/usr/share/phatch/phatch/lib/linux/
+	mv $(PKG_C_DIR)/usr/lib $(PKG_N_DIR)/usr/
+	mv $(PKG_C_DIR)/usr/share/phatch/phatch/lib/linux/nautilusExtension.py\
+	   $(PKG_N_DIR)/usr/share/phatch/phatch/lib/linux/
+
+binary-install/phatch-doc::
+	dh_installdirs
+	cd docs && python update.py
+	dh_install -p phatch-doc docs/build/html /usr/share/doc/phatch/
+	dh_link -p phatch-doc /usr/share/javascript/jquery/jquery.js \
+	    /usr/share/doc/phatch/html/_static/jquery.js
+	rm -f $(PKG_D_DIR)/usr/share/doc/phatch/html/.buildinfo
+	echo "phatch-doc: extra-license-file usr/share/doc/phatch/html/_sources/data.license.txt" \
+		>> $(PKG_D_DIR)/usr/share/lintian/overrides/phatch-doc
+
+clean::
+	rm -rf docs/build




More information about the Python-apps-commits mailing list