[Python-apps-commits] r2248 - in packages/drobo-utils/trunk/debian (7 files)

catlee-guest at users.alioth.debian.org catlee-guest at users.alioth.debian.org
Wed Jan 21 03:30:01 UTC 2009


    Date: Wednesday, January 21, 2009 @ 03:30:00
  Author: catlee-guest
Revision: 2248

Performing some of morph's suggestions to fix up the package.

To make the package dependencies make more sense, I've split the package up
into two binary packages: drobo-utils, and drobo-utils-gui.  The gui
package depends on python-qt4, which is used as the GUI toolkit.

Added:
  packages/drobo-utils/trunk/debian/README.source
  packages/drobo-utils/trunk/debian/drobo-utils-gui.manpages
Modified:
  packages/drobo-utils/trunk/debian/changelog
  packages/drobo-utils/trunk/debian/control
  packages/drobo-utils/trunk/debian/drobo-utils.manpages
  packages/drobo-utils/trunk/debian/rules
  packages/drobo-utils/trunk/debian/uscan-repack.sh

Added: packages/drobo-utils/trunk/debian/README.source
===================================================================
--- packages/drobo-utils/trunk/debian/README.source	                        (rev 0)
+++ packages/drobo-utils/trunk/debian/README.source	2009-01-21 03:30:00 UTC (rev 2248)
@@ -0,0 +1,4 @@
+This package needs to repack the upstream tarball in order to remove the
+debian/ directory from it; to obtain the tarball used from this package, run:
+
+    debian/rules get-orig-source

Modified: packages/drobo-utils/trunk/debian/changelog
===================================================================
--- packages/drobo-utils/trunk/debian/changelog	2009-01-21 01:46:50 UTC (rev 2247)
+++ packages/drobo-utils/trunk/debian/changelog	2009-01-21 03:30:00 UTC (rev 2248)
@@ -1,6 +1,5 @@
-drobo-utils (0.4.0+repack-1) UNRELEASED; urgency=low
+drobo-utils (0.4.0-1+repack-1) UNRELEASED; urgency=low
 
-  * Initial release. (Closes: #498720: ITP: drobo-utils -- manage data
-    robotics storage units (drobos))
+  * Initial release. (Closes: #498720)
 
  -- Chris AtLee <chris at atlee.ca>  Sat, 17 Jan 2009 16:28:13 -0500

Modified: packages/drobo-utils/trunk/debian/control
===================================================================
--- packages/drobo-utils/trunk/debian/control	2009-01-21 01:46:50 UTC (rev 2247)
+++ packages/drobo-utils/trunk/debian/control	2009-01-21 03:30:00 UTC (rev 2248)
@@ -11,7 +11,8 @@
 
 Package: drobo-utils
 Architecture: any
-Recommends: parted, gparted, kdesudo, gtksudo, python-qt4
+Recommends: parted, sudo
+Suggests: drobo-utils-gui
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
 Description: manage data robotics storage units (drobos)
  Provides utilities for managing Data Robotics storage units, also known as
@@ -21,10 +22,20 @@
  easily expanded.  Different sized hard drives can be mixed on the same Drobo.
  See http://drobo.com for more information.
  .
- Python gui, cli, and api providing the "Dashboard" functionality.
- If you fire up droboview, it should look pretty familiar to those who 
- have seen the dashboard on other operating systems.  Droboview is built 
- on a little programmer interface which can be installed on the system 
- and used by other applications as well.  For experienced Linux hands, 
- there is a command line interface, drobom, which offers the same 
- functionality as droboview.
+ This package provides the command line interface for managing a Drobo, as well
+ as libraries used by the graphical interface provided by the drobo-utils-gui
+ package.
+
+Package: drobo-utils-gui
+Architecture: any
+Recommends: gparted, sudo
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, drobo-utils (= ${binary:Version}), python-qt4
+Description: manage data robotics storage units (drobos)
+ Provides utilities for managing Data Robotics storage units, also known as
+ "Drobos".  Drobos are external hard drive enclosures that connect to your PC
+ via USB or Firewire and provide RAID-like features.  Drobos provide automatic
+ data redundancy, hotswappable drive bays, and the size of the RAID can be
+ easily expanded.  Different sized hard drives can be mixed on the same Drobo.
+ See http://drobo.com for more information.
+ .
+ This package provides a graphical interface for managing a Drobo.

Added: packages/drobo-utils/trunk/debian/drobo-utils-gui.manpages
===================================================================
--- packages/drobo-utils/trunk/debian/drobo-utils-gui.manpages	                        (rev 0)
+++ packages/drobo-utils/trunk/debian/drobo-utils-gui.manpages	2009-01-21 03:30:00 UTC (rev 2248)
@@ -0,0 +1 @@
+debian/droboview.8

Modified: packages/drobo-utils/trunk/debian/drobo-utils.manpages
===================================================================
--- packages/drobo-utils/trunk/debian/drobo-utils.manpages	2009-01-21 01:46:50 UTC (rev 2247)
+++ packages/drobo-utils/trunk/debian/drobo-utils.manpages	2009-01-21 03:30:00 UTC (rev 2248)
@@ -1,2 +1 @@
 debian/drobom.8
-debian/droboview.8

Modified: packages/drobo-utils/trunk/debian/rules
===================================================================
--- packages/drobo-utils/trunk/debian/rules	2009-01-21 01:46:50 UTC (rev 2247)
+++ packages/drobo-utils/trunk/debian/rules	2009-01-21 03:30:00 UTC (rev 2248)
@@ -5,6 +5,8 @@
 #export DH_VERBOSE=1
 
 PKGNAME := drobo-utils
+GUIPKGNAME := drobo-utils-gui
+
 PYVERS=$(shell pyversions -vs)
 
 build: $(PYVERS:%=build-python%-stamp)
@@ -32,13 +34,17 @@
 	dh_installdirs
 
 	for py in $(PYVERS); do \
-		python$$py setup.py install_lib -d $(CURDIR)/debian/$(PKGNAME)/usr/lib/python$$py/site-packages; \
+	    python$$py setup.py install_lib -d $(CURDIR)/debian/$(PKGNAME)/usr/lib/python$$py/site-packages; \
+	    python$$py setup.py install_lib -d $(CURDIR)/debian/$(GUIPKGNAME)/usr/lib/python$$py/site-packages; \
 	done
 	python setup.py install_data -d $(CURDIR)/debian/$(PKGNAME)/usr/share/$(PKGNAME)
 	python setup.py install_scripts -d $(CURDIR)/debian/$(PKGNAME)/usr/sbin
-	for s in $(CURDIR)/debian/$(PKGNAME)/usr/sbin/*; do \
+	python setup.py install_scripts -d $(CURDIR)/debian/$(GUIPKGNAME)/usr/sbin
+	for s in $(CURDIR)/debian/$(PKGNAME)/usr/sbin/* $(CURDIR)/debian/$(GUIPKGNAME)/usr/sbin/*; do \
 	    sed -i '1s,#!.*python.*,#!/usr/bin/python,' $$s; \
 	done
+	find $(CURDIR)/debian/$(PKGNAME) \( -name droboview -o -name DroboGUI.py \) -exec rm -v {} \;
+	find $(CURDIR)/debian/$(GUIPKGNAME) \( -name drobom -o -name Drobo.py -o -name *.so \) -exec rm -v {} \;
 
 binary-indep: build install
 

Modified: packages/drobo-utils/trunk/debian/uscan-repack.sh
===================================================================
--- packages/drobo-utils/trunk/debian/uscan-repack.sh	2009-01-21 01:46:50 UTC (rev 2247)
+++ packages/drobo-utils/trunk/debian/uscan-repack.sh	2009-01-21 03:30:00 UTC (rev 2248)
@@ -9,13 +9,13 @@
 
 echo
 
+version="$2"
 filename="$3"
+dfsgfilename=`echo $3 | sed 's,\.orig\.,+repack.orig.,'`
 
 tar xfz ${filename} 
 
 dir=`tar tfz ${filename} | head -1 | sed 's,/.*,,g'`
-version=`echo $dir | sed 's,drobo-utils-,,'`
-dfsgfilename="../drobo-utils_$version+repack.orig.tar.gz"
 rm -f ${filename}
 
 rm -rf ${dir}/debian ${dir}/notdebian
@@ -26,4 +26,3 @@
 rm -rf ${dir}+repack.orig
 
 echo "${dfsgfilename} created."
-




More information about the Python-apps-commits mailing list