[csw-devel] SF.net SVN: gar:[21868] csw/mgar/pkg/lang-python/pyqt/trunk/Makefile

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Thu Aug 29 11:45:30 CEST 2013


Revision: 21868
          http://gar.svn.sourceforge.net/gar/?rev=21868&view=rev
Author:   pfelecan
Date:     2013-08-29 09:45:29 +0000 (Thu, 29 Aug 2013)
Log Message:
-----------
lang-python/pyqt:
- support only Python 2.7
- builds only with the last Qt4 recipe, revision 21645

Revision Links:
--------------
    http://gar.svn.sourceforge.net/gar/?rev=21645&view=rev

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/pyqt/trunk/Makefile

Modified: csw/mgar/pkg/lang-python/pyqt/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/pyqt/trunk/Makefile	2013-08-29 09:18:57 UTC (rev 21867)
+++ csw/mgar/pkg/lang-python/pyqt/trunk/Makefile	2013-08-29 09:45:29 UTC (rev 21868)
@@ -1,9 +1,10 @@
 # $Id$
 
-NAME		=	pyqt
-VERSION		=	4.10.2
-CATEGORIES	=	python
-GARTYPE		=	v2
+NAME			=	pyqt
+VERSION			=	4.10.2
+CATEGORIES		=	python
+PYTHON_VERSION	=	2_7
+GARTYPE			=	v2
 
 DESCRIPTION	=	Python bindings for Qt
 define BLURB
@@ -86,7 +87,7 @@
 		touch reference && \
 	 	/usr/bin/env -i \
 		  $(CONFIGURE_ENV) \
-			python configure.py \
+			$(PYTHON_EXECUTABLE) configure.py \
 				--verbose \
 				--confirm-license \
 				--assume-shared \
@@ -126,7 +127,7 @@
 	cd $(WORKSRC) && \
 	 	/usr/bin/env -i \
 		  $(CONFIGURE_ENV) \
-			python configure-ng.py \
+			$(PYTHON_EXECUTABLE) configure-ng.py \
 				--verbose \
 				--confirm-license \
 				--assume-shared \
@@ -150,6 +151,6 @@
 	 	/usr/bin/env -i \
 		  $(INSTALL_ENV) \
 			$(MAKE) DESTDIR=$(DESTDIR) INSTALL_ROOT=$(DESTDIR) install
-	ginstall --preserve-timestamps --mode=u=rwx,go=r $(WORKSRC)/pyqtconfig.py $(DESTDIR)/$(libdir)/python/site-packages/PyQt4
+	ginstall --preserve-timestamps --mode=u=rwx,go=r $(WORKSRC)/pyqtconfig.py $(DESTDIR)/$(PYTHON_SITE_PACKAGES)/PyQt4
 
 	@$(MAKECOOKIE)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list