[csw-devel] SF.net SVN: gar:[11267] csw/mgar/pkg/python/branches

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Oct 12 15:16:28 CEST 2010


Revision: 11267
          http://gar.svn.sourceforge.net/gar/?rev=11267&view=rev
Author:   wahwah
Date:     2010-10-12 13:16:28 +0000 (Tue, 12 Oct 2010)

Log Message:
-----------
python: Rules to build libpython2_5_1_0

Modified Paths:
--------------
    csw/mgar/pkg/python/branches/libpython2_5_1_0/Makefile

Added Paths:
-----------
    csw/mgar/pkg/python/branches/libpython2_5_1_0/

Modified: csw/mgar/pkg/python/branches/libpython2_5_1_0/Makefile
===================================================================
--- csw/mgar/pkg/python/branches/libpython25/Makefile	2010-10-12 09:46:42 UTC (rev 11262)
+++ csw/mgar/pkg/python/branches/libpython2_5_1_0/Makefile	2010-10-12 13:16:28 UTC (rev 11267)
@@ -30,10 +30,6 @@
 
 DISTFILES  = $(DISTNAME).tar.bz2
 
-# Previous Library for compatability
-DISTFILES += libpython2.5.so.1.0-isa-sparcv8
-DISTFILES += libpython2.5.so.1.0-isa-i386
-
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
 
@@ -78,8 +74,8 @@
 PACKAGES += CSWpython-devel
 PACKAGES += CSWpython-test
 PACKAGES += CSWpython-tk
-PACKAGES += CSWlibpython25
-PACKAGES += CSWlibpython26
+PACKAGES += CSWlibpython2-5-1-0
+PACKAGES += CSWlibpython2-6-1-0
 
 INCOMPATIBLE_PKGS_CSWpython = CSWpydistutils
 
@@ -88,6 +84,7 @@
 PKGFILES_CSWpython-devel  = $(includedir)/.*
 PKGFILES_CSWpython-devel += $(libdir)/.*/config/.*
 PKGFILES_CSWpython-devel += $(bindir)/.*config.*
+PKGFILES_CSWpython-devel += $(libdir)/libpython2.6.so
 # No idea why would this be in CSWpython, and no good idea for a better package
 # to put it.
 PKGFILES_CSWpython-devel += $(bindir)/smtpd.py
@@ -101,8 +98,8 @@
 PKGFILES_CSWpython-test += $(libdir)/python/json/tests.*
 PKGFILES_CSWpython-test += $(libdir)/python/lib2to3/tests.*
 PKGFILES_CSWpython-test += $(libdir)/python/sqlite3/test.*
-PKGFILES_CSWlibpython25 += $(libdir)/libpython2\.5.*
-PKGFILES_CSWlibpython26 += $(libdir)/libpython2\.6.*
+PKGFILES_CSWlibpython2-5-1-0 += $(libdir)/libpython2\.5\.so\..*
+PKGFILES_CSWlibpython2-6-1-0 += $(libdir)/libpython2\.6\.so\..*
 
 ARCHALL_CSWpython-test = 1
 ARCHALL_CSWidle        = 1
@@ -113,13 +110,13 @@
 RUNTIME_DEP_PKGS_CSWpython       += CSWbzip2
 RUNTIME_DEP_PKGS_CSWpython       += CSWgdbm
 RUNTIME_DEP_PKGS_CSWpython       += CSWggettextrt 
-RUNTIME_DEP_PKGS_CSWpython       += CSWlibpython26
+RUNTIME_DEP_PKGS_CSWpython       += CSWlibpython2-6-1-0
 RUNTIME_DEP_PKGS_CSWpython       += CSWncurses
 RUNTIME_DEP_PKGS_CSWpython       += CSWosslrt
 RUNTIME_DEP_PKGS_CSWpython       += CSWreadline 
 RUNTIME_DEP_PKGS_CSWpython       += CSWsqlite3rt
 RUNTIME_DEP_PKGS_CSWpython       += CSWzlib
-RUNTIME_DEP_PKGS_CSWpython-tk    += CSWlibpython26
+RUNTIME_DEP_PKGS_CSWpython-tk    += CSWlibpython2-6-1-0
 RUNTIME_DEP_PKGS_CSWpython-tk    += CSWpython
 RUNTIME_DEP_PKGS_CSWpython-tk    += CSWtcl
 RUNTIME_DEP_PKGS_CSWpython-tk    += CSWtk 
@@ -128,8 +125,7 @@
 
 # There are packages depending on libpython2.5, and listing CSWpython as the
 # dependency.
-DEP_PKGS_CSWpython               += CSWlibpython25
-DEP_PKGS_CSWpython               += CSWlibpython26
+RUNTIME_DEP_PKGS_CSWpython               += CSWlibpython2-5-1-0
 
 # This could be handled by automatic dependency detection
 CHECKPKG_OVERRIDES_CSWidle += surplus-dependency|CSWpython-tk
@@ -139,21 +135,21 @@
 CATALOGNAME_CSWpython-devel = python_devel
 CATALOGNAME_CSWpython-tk    = python_tk
 CATALOGNAME_CSWpython-test  = python_test
-CATALOGNAME_CSWlibpython25  = libpython25
-CATALOGNAME_CSWlibpython26  = libpython26
+CATALOGNAME_CSWlibpython2-5-1-0  = libpython2_5_1_0
+CATALOGNAME_CSWlibpython2-6-1-0  = libpython2_6_1_0
 
 SPKG_DESC_CSWidle         = Python IDE
 SPKG_DESC_CSWpython       = A high-level scripting language.
 SPKG_DESC_CSWpython-devel = Development Files for Python
 SPKG_DESC_CSWpython-tk    = Python Tk Interface (TkInter)
 SPKG_DESC_CSWpython-test  = Python Test modules
-SPKG_DESC_CSWlibpython25  = Python shared library (2.5)
-SPKG_DESC_CSWlibpython26  = Python shared library (2.6)
+SPKG_DESC_CSWlibpython2-5-1-0  = Python shared library (2.5)
+SPKG_DESC_CSWlibpython2-6-1-0  = Python shared library (2.6)
 
 LICENSE = LICENSE
 
 # These won't be fixed.
-CHECKPKG_OVERRIDES_CSWlibpython25 += file-with-bad-content
+CHECKPKG_OVERRIDES_CSWlibpython2-5-1-0 += file-with-bad-content
 
 # This is an exception, since these are original Python packages.
 CHECKPKG_OVERRIDES_CSWpython-test  += pkgname-does-not-start-with-CSWpy-
@@ -166,6 +162,7 @@
 CHECKPKG_OVERRIDES_CSWpython-devel += catalogname-does-not-start-with-py_
 CHECKPKG_OVERRIDES_CSWpython       += pkgname-does-not-start-with-CSWpy-
 CHECKPKG_OVERRIDES_CSWpython       += catalogname-does-not-start-with-py_
+CHECKPKG_OVERRIDES_CSWpython       += surplus-dependency|CSWlibpython2-5-1-0
 
 include gar/category.mk
 
@@ -174,7 +171,7 @@
 
 install-deprecated-libs:
 	echo "===> Installing deprecated Libraries into $(libdir)"
-	cp $(DOWNLOADDIR)/libpython2.5.so.1.0-$(MODULATION) \
+	cp $(FILEDIR)/libpython2.5.so.1.0-$(MODULATION) \
 		$(DESTDIR)$(libdir)/libpython2.5.so.1.0
 	cd $(DESTDIR)$(libdir); ln -s libpython2.5.so.1.0 libpython2.5.so
 	@$(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