Tim Ansell pisze:

>>> Well, I can add a "--ignore-deps" option pretty easily. Do think that
>>> would be the way to go?
>>>
>>> Mithro
>> Might be... Even dpkg has it, so why not? :)
>> -KS
> 
> Added...
> See a1a4a28a1c473fc91670b7b1911f6942d25627e4

And this patch uses it in debian/rules :)
-KS


----------------------------------------------------------------------
Sprawdz
czy Ty i Twoj partner pasujecie do siebie emocjonalnie i seksualnie

>>>http://link.interia.pl/f1b14
From 5cc1f07bf93a05506c1f9b635cf39416dd64fd34 Mon Sep 17 00:00:00 2001
From: Krzysztof Sobolewski <[EMAIL PROTECTED]>
Date: Tue, 21 Aug 2007 21:17:08 +0200
Subject: [PATCH] Use the new --ignore-deps option to setup.py to build Debian package

---
 debian/rules |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index be8a3ae..d6eb0df 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@ build: $(PYVERS:%=build-python%)
 
 build-python%:
 	dh_testdir
-	python$* setup.py build
+	python$* setup.py --ignore-deps build
 	touch $@
 
 clean:
@@ -34,7 +34,7 @@ install-python%:
 	dh_clean -k 
 	dh_installdirs
 	python$* setup.py install --root=$(CURDIR)/debian/python-tp-client \
-		--single-version-externally-managed
+		--single-version-externally-managed --ignore-deps
 
 # Build architecture-independent files here.
 binary-indep: build install
-- 
1.5.2.4

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to