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

catlee-guest at users.alioth.debian.org catlee-guest at users.alioth.debian.org
Mon Feb 2 16:37:33 UTC 2009


    Date: Monday, February 2, 2009 @ 16:37:33
  Author: catlee-guest
Revision: 2281

Updating package for new upstream 0.5.0-1.

Upstream no longer requires a compiled C extension, so changing
Architecture to 'all' instead of 'any' and removing debug package.

Upstream now requires ctypes, so adding python-ctypes dependency.

Modified:
  packages/drobo-utils/trunk/debian/changelog
  packages/drobo-utils/trunk/debian/control
  packages/drobo-utils/trunk/debian/docs
  packages/drobo-utils/trunk/debian/rules

Modified: packages/drobo-utils/trunk/debian/changelog
===================================================================
--- packages/drobo-utils/trunk/debian/changelog	2009-02-01 21:50:46 UTC (rev 2280)
+++ packages/drobo-utils/trunk/debian/changelog	2009-02-02 16:37:33 UTC (rev 2281)
@@ -1,4 +1,4 @@
-drobo-utils (0.4.0-1+repack-1) UNRELEASED; urgency=low
+drobo-utils (0.5.0-1+repack-1) UNRELEASED; urgency=low
 
   * Initial release. (Closes: #498720)
 

Modified: packages/drobo-utils/trunk/debian/control
===================================================================
--- packages/drobo-utils/trunk/debian/control	2009-02-01 21:50:46 UTC (rev 2280)
+++ packages/drobo-utils/trunk/debian/control	2009-02-02 16:37:33 UTC (rev 2281)
@@ -11,10 +11,10 @@
 Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/drobo-utils/trunk/
 
 Package: drobo-utils
-Architecture: any
+Architecture: all
 Recommends: parted, sudo
 Suggests: gparted, python-qt4
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-ctypes
 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
@@ -26,17 +26,3 @@
  This package provides a command line interface for managing a Drobo, as well
  as a graphical dashboard interface.  To enable the graphical interface, please
  be sure to install the suggested python-qt4 package, as well as gparted.
-
-Package: drobo-utils-dbg
-Architecture: any
-Depends: ${misc:Depends}, drobo-utils (= ${binary:Version}), ${shlibs:Depends},
- python-dbg
-Description: manage data robotics storage units (drobos) (debug libraries)
- 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 contains the extension built for the Python debug interpreter.

Modified: packages/drobo-utils/trunk/debian/docs
===================================================================
--- packages/drobo-utils/trunk/debian/docs	2009-02-01 21:50:46 UTC (rev 2280)
+++ packages/drobo-utils/trunk/debian/docs	2009-02-02 16:37:33 UTC (rev 2281)
@@ -2,3 +2,5 @@
 Dunno.txt
 TODO
 DroboFirmwareWishes.txt
+DEVELOPERS.txt
+QA.txt

Modified: packages/drobo-utils/trunk/debian/rules
===================================================================
--- packages/drobo-utils/trunk/debian/rules	2009-02-01 21:50:46 UTC (rev 2280)
+++ packages/drobo-utils/trunk/debian/rules	2009-02-02 16:37:33 UTC (rev 2281)
@@ -8,27 +8,18 @@
 
 PYVERS=$(shell pyversions -vs)
 
-build: $(PYVERS:%=build-python%-stamp) $(PYVERS:%=build-dbg-python%-stamp)
+build: $(PYVERS:%=build-python%-stamp)
 
 build-python%-stamp:
 	python$* setup.py build
 	touch $@
 
-build-dbg-python%-stamp:
-	python$*-dbg setup.py build
-	touch $@
-
 clean:
 	dh_testdir
 	dh_testroot
-
 	[ ! -d build ] || rm -rf build
-
 	python setup.py clean --all
-	python-dbg setup.py clean --all
-
 	find . -name "*\.pyc" -delete
-
 	dh_clean *-stamp
 
 install: build
@@ -36,37 +27,25 @@
 	dh_testroot
 	dh_clean -k
 	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-dbg setup.py install_lib -d $(CURDIR)/debian/$(PKGNAME)-dbg/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 \
 	    sed -i '1s,#!.*python.*,#!/usr/bin/python,' $$s; \
 	done
-	find debian/$(PKGNAME)-dbg ! -type d ! -name '*.so' | xargs rm -f
-	find debian/$(PKGNAME)-dbg -depth -empty -exec rmdir {} \;
-	for py in $(PYVERS); do        \
-	    rm -rf debian/$(PKGNAME)-dbg/usr/include/python$$py; \
-	    mkdir -p debian/$(PKGNAME)-dbg/usr/include/python$${py}_d; \
-	    ln -s ../python$$py/$(PKGNAME) debian/$(PKGNAME)-dbg/usr/include/python$${py}_d/$(PKGNAME); \
-	done
 
-binary-indep: build install
+binary-arch:
 
-binary-arch: build install
+binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs CHANGES
+	dh_installchangelogs CHANGES.txt
 	dh_installdocs
 	dh_pysupport
 	dh_strip
 	dh_link
-	dh_strip -p$(PKGNAME) --dbg-package=$(PKGNAME)-dbg
-	rm -rf debian/$(PKGNAME)-dbg/usr/share/doc/$(PKGNAME)-dbg
-	ln -s $(PKGNAME) debian/$(PKGNAME)-dbg/usr/share/doc/$(PKGNAME)-dbg
 	dh_installman
 	dh_compress 		-X.py
 	dh_fixperms




More information about the Python-apps-commits mailing list