[Python-modules-commits] r18471 - in packages/python-peak.util/trunk/debian (clean rules)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Fri Sep 9 00:10:18 UTC 2011


    Date: Friday, September 9, 2011 @ 00:10:16
  Author: eriol-guest
Revision: 18471

Moved clean stuff inside debian/clean

Added:
  packages/python-peak.util/trunk/debian/clean
Modified:
  packages/python-peak.util/trunk/debian/rules

Added: packages/python-peak.util/trunk/debian/clean
===================================================================
--- packages/python-peak.util/trunk/debian/clean	                        (rev 0)
+++ packages/python-peak.util/trunk/debian/clean	2011-09-09 00:10:16 UTC (rev 18471)
@@ -0,0 +1,7 @@
+build/*
+addons-0-7/AddOns.egg-info/PKG-INFO
+bytecodeassembler-0-6/BytecodeAssembler.egg-info/PKG-INFO
+extremes-1-1-1/Extremes.egg-info/PKG-INFO
+symboltype-1-0/SymbolType.egg-info/PKG-INFO
+symboltype-1-0/SymbolType.egg-info/SOURCES.txt
+symboltype-1-0/SymbolType.egg-info/dependency_links.txt

Modified: packages/python-peak.util/trunk/debian/rules
===================================================================
--- packages/python-peak.util/trunk/debian/rules	2011-09-08 23:35:10 UTC (rev 18470)
+++ packages/python-peak.util/trunk/debian/rules	2011-09-09 00:10:16 UTC (rev 18471)
@@ -5,6 +5,7 @@
 
 PKG = python-peak.util
 VERSION = $(shell dpkg-parsechangelog | grep ^Version | cut -d" " -f2 | sed 's,-.*,,')
+
 # Use an absolute path because of regression introduced by devscripts 2.10.72:
 # uscan --destdir option no longer works with relative paths.
 # TARBALLS_DIR point to the default svn-buildpackage tarballs directory.
@@ -22,23 +23,11 @@
 
 DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
 
-clean::
-	rm -rf build/
-	rm -f AddOns-0.7/AddOns.egg-info/PKG-INFO
-	rm -f BytecodeAssembler-0.6/BytecodeAssembler.egg-info/PKG-INFO
-	rm -f Extremes-1.1.1/Extremes.egg-info/PKG-INFO
-	rm -f SymbolType-1.0/SymbolType.egg-info/PKG-INFO
-	rm -f SymbolType-1.0/SymbolType.egg-info/SOURCES.txt
-	rm -f SymbolType-1.0/SymbolType.egg-info/dependency_links.txt
-
-
 # avoid installing tests: useless at runtime and prone to name clashes
 install/$(PKG)::
-	rm -rf debian/$(PKG)/usr/lib/python*/site-packages/tests/
-	rm -f debian/$(PKG)/usr/lib/python*/site-packages/*.pth
+	rm -f debian/$(PKG)/usr/lib/python*/*-packages/*.pth
 
 USCAN_EXTRA_ARGS = --repack
-# -include debian/get-orig-source.mk
 
 .PHONY: get-orig-source
 get-orig-source:




More information about the Python-modules-commits mailing list