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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Oct 26 13:43:27 CEST 2010


Revision: 11421
          http://gar.svn.sourceforge.net/gar/?rev=11421&view=rev
Author:   wahwah
Date:     2010-10-26 11:43:27 +0000 (Tue, 26 Oct 2010)

Log Message:
-----------
python-2.7: It builds.

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/python/branches/python-2.7/Makefile
    csw/mgar/pkg/lang-python/python/branches/python-2.7/checksums

Modified: csw/mgar/pkg/lang-python/python/branches/python-2.7/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/python/branches/python-2.7/Makefile	2010-10-26 10:01:36 UTC (rev 11420)
+++ csw/mgar/pkg/lang-python/python/branches/python-2.7/Makefile	2010-10-26 11:43:27 UTC (rev 11421)
@@ -1,8 +1,13 @@
 # $Id$
 
 GARNAME = Python
-GARVERSION = 2.6.6
+GARVERSION = 2.7
 CATEGORIES = lang
+VER = 2.7
+DVER = 2-7
+UVER = 2_7
+PVER = python$(VER)
+CVER = 27
 
 # Known issues:
 #
@@ -30,7 +35,6 @@
 
 DISTFILES  = $(DISTNAME).tar.bz2
 
-# We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
 
 # Patches
@@ -39,16 +43,17 @@
 PATCHFILES += modules.diff
 PATCHFILES += multiprocess.diff
 PATCHFILES += pyport.diff
-PATCHFILES += site.diff
+# This patch needs to go away
+# PATCHFILES += site.diff
 PATCHFILES += python-config-in.diff
 PATCHFILES += setup.diff
-PATCHFILES += 0001-FFI_DEFAULT_ABI-to-use-__i386.patch
+# PATCHFILES += 0001-FFI_DEFAULT_ABI-to-use-__i386.patch
 
 # Test for sunaudiodev fails.
 SKIPTEST = 1
 
-EXTRA_INC += $(prefix)/bdb47/include
-EXTRA_LIB += $(prefix)/bdb47/lib
+# EXTRA_INC += $(prefix)/bdb47/include
+# EXTRA_LIB += $(prefix)/bdb47/lib
 
 BASECFLAGS = $(CFLAGS)
 EXTRA_COMMON_EXPORTS = BASECFLAGS
@@ -69,92 +74,97 @@
 # use prototype filters to set the class 
 PROTOTYPE_FILTER = awk '$$$$3 ~/.*\.py$$$$/ { $$$$2 = "cswpycompile" } { print }'
 
-PACKAGES  = CSWidle
-PACKAGES += CSWpython
-PACKAGES += CSWpython-devel
-PACKAGES += CSWpython-test
-PACKAGES += CSWpython-tk
-PACKAGES += CSWlibpython2-6-1-0
+PACKAGES  = CSWidle$(CVER)
+PACKAGES += CSWpython$(CVER)
+PACKAGES += CSWpython$(CVER)-devel
+PACKAGES += CSWpython$(CVER)-test
+PACKAGES += CSWpython$(CVER)-tk
+PACKAGES += CSWlibpython$(DVER)-1-0
 
-INCOMPATIBLE_PKGS_CSWpython = CSWpydistutils
+INCOMPATIBLE_PKGS_CSWpython$(CVER) = CSWpydistutils
 
-PKGFILES_CSWidle  = $(libdir)/.*/idlelib/.*
-PKGFILES_CSWidle += $(bindir)/idle
-PKGFILES_CSWpython-devel  = $(includedir)/.*
-PKGFILES_CSWpython-devel += $(libdir)/.*/config/.*
-PKGFILES_CSWpython-devel += $(bindir)/.*config.*
-PKGFILES_CSWpython-devel += $(libdir)/libpython2.6.so
+PKGFILES_CSWidle$(CVER)  = $(libdir)/.*/idlelib/.*
+PKGFILES_CSWidle$(CVER) += $(bindir)/idle
+PKGFILES_CSWpython$(CVER)-devel  = $(includedir)/.*
+PKGFILES_CSWpython$(CVER)-devel += $(libdir)/.*/config/.*
+PKGFILES_CSWpython$(CVER)-devel += $(bindir)/.*config.*
+PKGFILES_CSWpython-devel += $(libdir)/libpython$(VER).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
-PKGFILES_CSWpython-tk  = $(libdir)/.*/lib-tk/.*
-PKGFILES_CSWpython-tk += $(libdir)/.*/lib-dynload/_tkinter.so.*
-PKGFILES_CSWpython-test  = $(libdir)/python/test/.*
-PKGFILES_CSWpython-test += $(libdir)/python/bsddb/test.*
-PKGFILES_CSWpython-test += $(libdir)/python/ctypes/test.*
-PKGFILES_CSWpython-test += $(libdir)/python/email/test.*
-PKGFILES_CSWpython-test += $(libdir)/python/distutils/tests.*
-PKGFILES_CSWpython-test += $(libdir)/python/json/tests.*
-PKGFILES_CSWpython-test += $(libdir)/python/lib2to3/tests.*
-PKGFILES_CSWpython-test += $(libdir)/python/sqlite3/test.*
-PKGFILES_CSWlibpython2-6-1-0 += $(libdir)/libpython2\.6\.so\..*
+PKGFILES_CSWpython$(CVER)-devel += $(bindir)/smtpd.py
+PKGFILES_CSWpython$(CVER)-tk  = $(libdir)/.*/lib-tk/.*
+PKGFILES_CSWpython$(CVER)-tk += $(libdir)/.*/lib-dynload/_tkinter.so.*
+PKGFILES_CSWpython$(CVER)-test  = $(libdir)/python/test/.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/python/bsddb/test.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/python/ctypes/test.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/python/email/test.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/python/distutils/tests.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/python/json/tests.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/python/lib2to3/tests.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/python/sqlite3/test.*
+PKGFILES_CSWlibpython$(DVER)-1-0 += $(libdir)/libpython$(VER)\.so\.([0-9\.]+)
 
-ARCHALL_CSWpython-test = 1
-ARCHALL_CSWidle        = 1
+ARCHALL_CSWpython$(CVER)-test = 1
+ARCHALL_CSWidle$(CVER)        = 1
 
-RUNTIME_DEP_PKGS_CSWidle         += CSWpython
-RUNTIME_DEP_PKGS_CSWidle         += CSWpython-tk
-RUNTIME_DEP_PKGS_CSWpython       += CSWbdb47
-RUNTIME_DEP_PKGS_CSWpython       += CSWbzip2
-RUNTIME_DEP_PKGS_CSWpython       += CSWgdbm
-RUNTIME_DEP_PKGS_CSWpython       += CSWggettextrt 
-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    += CSWlibpython2-6-1-0
-RUNTIME_DEP_PKGS_CSWpython-tk    += CSWpython
-RUNTIME_DEP_PKGS_CSWpython-tk    += CSWtcl
-RUNTIME_DEP_PKGS_CSWpython-tk    += CSWtk 
-RUNTIME_DEP_PKGS_CSWpython-devel += CSWpython
-RUNTIME_DEP_PKGS_CSWpython-test  += CSWpython
+RUNTIME_DEP_PKGS_CSWidle$(CVER)   += CSWpython$(CVER)
+RUNTIME_DEP_PKGS_CSWidle$(CVER)   += CSWpython$(CVER)-tk
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWbzip2
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWgdbm
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWggettextrt 
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWlibffi
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWlibpython$(DVER)-1-0
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWncurses
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWosslrt
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWreadline 
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWsqlite3rt
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWzlib
+RUNTIME_DEP_PKGS_CSWpython$(CVER)-tk    += CSWlibpython$(DVER)-1-0
+RUNTIME_DEP_PKGS_CSWpython$(CVER)-tk    += CSWpython$(CVER)
+RUNTIME_DEP_PKGS_CSWpython$(CVER)-tk    += CSWtcl
+RUNTIME_DEP_PKGS_CSWpython$(CVER)-tk    += CSWtk 
+RUNTIME_DEP_PKGS_CSWpython$(CVER)-devel += CSWpython$(CVER)
+RUNTIME_DEP_PKGS_CSWpython$(CVER)-test  += CSWpython$(CVER)
 
-# There are packages depending on libpython2.5, and listing CSWpython as the
-# dependency.
-RUNTIME_DEP_PKGS_CSWpython               += CSWlibpython2-5-1-0
-
 # This could be handled by automatic dependency detection
-CHECKPKG_OVERRIDES_CSWidle += surplus-dependency|CSWpython-tk
+CHECKPKG_OVERRIDES_CSWidle$(CVER) += surplus-dependency|CSWpython$(CVER)-tk
 
-CATALOGNAME_CSWidle         = idle
-CATALOGNAME_CSWpython       = python
-CATALOGNAME_CSWpython-devel = python_devel
-CATALOGNAME_CSWpython-tk    = python_tk
-CATALOGNAME_CSWpython-test  = python_test
-CATALOGNAME_CSWlibpython2-6-1-0  = libpython2_6_1_0
+CATALOGNAME_CSWidle$(CVER)         = idle_$(CVER)
+CATALOGNAME_CSWpython$(CVER)       = python_$(CVER)
+CATALOGNAME_CSWpython$(CVER)-devel = python_$(CVER)_devel
+CATALOGNAME_CSWpython$(CVER)-tk    = python_$(CVER)_tk
+CATALOGNAME_CSWpython$(CVER)-test  = python_$(CVER)_test
+CATALOGNAME_CSWlibpython$(DVER)-1-0  = libpython$(UVER)_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_CSWlibpython2-6-1-0  = Python shared library (2.6)
+SPKG_DESC_CSWidle$(CVER)         = Python IDE
+SPKG_DESC_CSWpython$(CVER)       = A high-level scripting language, $(VER) series
+SPKG_DESC_CSWpython$(CVER)-devel = Development Files for Python
+SPKG_DESC_CSWpython$(CVER)-tk    = Python Tk Interface (TkInter)
+SPKG_DESC_CSWpython$(CVER)-test  = Python Test modules
+SPKG_DESC_CSWlibpython$(DVER)-1-0  = Python shared library ($(VER))
 
+CHECKPKG_OVERRIDES_CSWpython$(CVER) += missing-dependency|CSWpython
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-test += missing-dependency|CSWpython
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-test += surplus-dependency|CSWpython$(CVER)
+CHECKPKG_OVERRIDES_CSWidle$(CVER) += missing-dependency|CSWpython
+CHECKPKG_OVERRIDES_CSWidle$(CVER) += surplus-dependency|CSWpython$(CVER)
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-devel += surplus-dependency|CSWpython$(CVER)
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-devel += missing-dependency|CSWpython
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-tk += missing-dependency|CSWpython
+
 LICENSE = LICENSE
 
 # This is an exception, since these are original Python packages.
-CHECKPKG_OVERRIDES_CSWpython-test  += pkgname-does-not-start-with-CSWpy-
-CHECKPKG_OVERRIDES_CSWpython-test  += catalogname-does-not-start-with-py_
-CHECKPKG_OVERRIDES_CSWpython-tk    += pkgname-does-not-start-with-CSWpy-
-CHECKPKG_OVERRIDES_CSWpython-tk    += catalogname-does-not-start-with-py_
-CHECKPKG_OVERRIDES_CSWidle         += pkgname-does-not-start-with-CSWpy-
-CHECKPKG_OVERRIDES_CSWidle         += catalogname-does-not-start-with-py_
-CHECKPKG_OVERRIDES_CSWpython-devel += pkgname-does-not-start-with-CSWpy-
-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
+CHECKPKG_OVERRIDES_CSWidle$(CVER)         += pkgname-does-not-start-with-CSWpy-
+CHECKPKG_OVERRIDES_CSWidle$(CVER)         += catalogname-does-not-start-with-py_
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-test  += pkgname-does-not-start-with-CSWpy-
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-test  += catalogname-does-not-start-with-py_
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-devel += pkgname-does-not-start-with-CSWpy-
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-devel += catalogname-does-not-start-with-py_
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-tk    += pkgname-does-not-start-with-CSWpy-
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-tk    += catalogname-does-not-start-with-py_
+CHECKPKG_OVERRIDES_CSWpython$(CVER) += pkgname-does-not-start-with-CSWpy-
+CHECKPKG_OVERRIDES_CSWpython$(CVER) += catalogname-does-not-start-with-py_
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-tk += surplus-dependency|CSWpython$(CVER)
 
 include gar/category.mk

Modified: csw/mgar/pkg/lang-python/python/branches/python-2.7/checksums
===================================================================
--- csw/mgar/pkg/lang-python/python/branches/python-2.7/checksums	2010-10-26 10:01:36 UTC (rev 11420)
+++ csw/mgar/pkg/lang-python/python/branches/python-2.7/checksums	2010-10-26 11:43:27 UTC (rev 11421)
@@ -1,12 +1 @@
-62c1cbc3527d042195699edd2f4993b7  0001-FFI_DEFAULT_ABI-to-use-__i386.patch
-cf4e6881bb84a7ce6089e4a307f71f14  Python-2.6.6.tar.bz2
-42dd6523beb94a805d5764ae1276091c  faqwiz.diff
-5664b3970307d7d39d8d4061e7dccbb0  libpython2.5.so.1.0-isa-i386
-a87896c48b2f61b32053e6d02b07b022  libpython2.5.so.1.0-isa-sparcv8
-33f4094ee46ce865d3973a197f3fb4a0  makesetup.diff
-22c5f741b1744213eaef0818ab280ad5  modules.diff
-afcc79a94e2f8a576c7906a9700e35a0  multiprocess.diff
-05724da367b025ce525de2bb704af6e3  pyport.diff
-a1d114e8a20870675649aeef007a9cac  python-config-in.diff
-1d2763e140ff30a491b3ce11d1a44f97  setup.diff
-d6c86beae46033be70c44c8e0e4c1908  site.diff
+0e8c9ec32abf5b732bea7d91b38c3339  Python-2.7.tar.bz2


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