[csw-devel] SF.net SVN: gar:[15639] csw/mgar/pkg/lang-python/python/branches/python-3.1 /Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Sep 18 10:22:46 CEST 2011


Revision: 15639
          http://gar.svn.sourceforge.net/gar/?rev=15639&view=rev
Author:   wahwah
Date:     2011-09-18 08:22:46 +0000 (Sun, 18 Sep 2011)
Log Message:
-----------
pkg/lang-python/python/branches/python-3.1: updated dependencies

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

Modified: csw/mgar/pkg/lang-python/python/branches/python-3.1/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/python/branches/python-3.1/Makefile	2011-09-18 07:24:20 UTC (rev 15638)
+++ csw/mgar/pkg/lang-python/python/branches/python-3.1/Makefile	2011-09-18 08:22:46 UTC (rev 15639)
@@ -35,8 +35,6 @@
 
 DISTFILES  = $(DISTNAME).tar.bz2
 
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.bz2
-
 # Patches
 PATCHFILES += faqwiz.diff
 PATCHFILES += makesetup.diff
@@ -47,9 +45,17 @@
 # PATCHFILES += python-config-in.diff
 # PATCHFILES += setup.diff
 
-# Test for sunaudiodev fails.
+# The test for sunaudiodev fails.  Not that it's a good practice to skip
+# tests.
 SKIPTEST = 1
 
+# There is a file name conflict over libffi.so symlink between libffi package
+# and a gcc-java package.  While it will ultimately belong to libffi_dev, the
+# symlink is currently under a subdirectory.
+# pkgchk -L CSWlibffi-dev
+# (...)
+# /opt/csw/lib/ffi/libffi.so=../libffi.so.5.0.10 s none CSWlibffi-dev
+EXTRA_LIB += $(libdir)/ffi
 
 BASECFLAGS = $(CFLAGS)
 EXTRA_COMMON_EXPORTS = BASECFLAGS
@@ -71,22 +77,80 @@
 PROTOTYPE_FILTER = awk '$$$$3 ~/.*\.py$$$$/ { $$$$2 = "cswpycompile" } { print }'
 
 PACKAGES  = CSWidle$(CVER)
+SPKG_DESC_CSWidle$(CVER)         = Python IDE
+CHECKPKG_OVERRIDES_CSWidle$(CVER) += missing-dependency|CSWpython
+CHECKPKG_OVERRIDES_CSWidle$(CVER) += surplus-dependency|CSWpython$(CVER)
+CHECKPKG_OVERRIDES_CSWidle$(CVER)         += pkgname-does-not-start-with-CSWpy-
+CHECKPKG_OVERRIDES_CSWidle$(CVER)         += catalogname-does-not-start-with-py_
+PKGFILES_CSWidle$(CVER) += $(libdir)/.*/idlelib/.*
+PKGFILES_CSWidle$(CVER) += $(bindir)/idle
+ARCHALL_CSWidle$(CVER)        = 1
+RUNTIME_DEP_PKGS_CSWidle$(CVER)   += CSWpython$(CVER)
+RUNTIME_DEP_PKGS_CSWidle$(CVER)   += CSWpython$(CVER)-tk
+# This could be handled by automatic dependency detection
+CHECKPKG_OVERRIDES_CSWidle$(CVER) += surplus-dependency|CSWpython$(CVER)-tk
+CHECKPKG_OVERRIDES_CSWidle$(CVER) += file-with-bad-content
+
+# The main Python package. PKGFILES is not set, because it's the catch-all
+# package.
 PACKAGES += CSWpython$(CVER)
+SPKG_DESC_CSWpython$(CVER)       = A high-level scripting language, $(VER) series
+INCOMPATIBLE_PKGS_CSWpython$(CVER) = CSWpydistutils
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWlibintl8
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWlibffi5
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWlibgdbm3
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWlibpython$(DVER)-1-0
+RUNTIME_DEP_PKGS_CSWpython$(CVER) += CSWosslrt
+RUNTIME_DEP_PKGS_CSWpython31 += CSWlibbz2-1-0
+RUNTIME_DEP_PKGS_CSWpython31 += CSWlibsqlite3-0
+RUNTIME_DEP_PKGS_CSWpython31 += CSWlibncursesw5
+RUNTIME_DEP_PKGS_CSWpython31 += CSWlibz1
+RUNTIME_DEP_PKGS_CSWpython31 += CSWlibpanel5
+RUNTIME_DEP_PKGS_CSWpython31 += CSWlibreadline6
+
+CHECKPKG_OVERRIDES_CSWpython$(CVER) += missing-dependency|CSWpython
+CHECKPKG_OVERRIDES_CSWpython$(CVER) += pkgname-does-not-start-with-CSWpy-
+CHECKPKG_OVERRIDES_CSWpython$(CVER) += catalogname-does-not-start-with-py_
+CHECKPKG_OVERRIDES_CSWpython$(CVER) += file-with-bad-content
+
 PACKAGES += CSWpython$(CVER)-test
+SPKG_DESC_CSWpython$(CVER)-test  = Python Test modules
+PKGFILES_CSWpython$(CVER)-test  = $(libdir)/$(PVER)/test/.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/bsddb/test.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/ctypes/test.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/email/test.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/distutils/tests.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/json/tests.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/lib2to3/tests.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/sqlite3/test.*
+PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/unittest/test.*
+RUNTIME_DEP_PKGS_CSWpython$(CVER)-test  += CSWpython$(CVER)
+ARCHALL_CSWpython$(CVER)-test = 1
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-test += missing-dependency|CSWpython
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-test += surplus-dependency|CSWpython$(CVER)
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-test += file-with-bad-content
+
 PACKAGES += CSWpython$(CVER)-tk
+SPKG_DESC_CSWpython$(CVER)-tk    = Python Tk Interface (TkInter)
+PKGFILES_CSWpython$(CVER)-tk  = $(libdir)/.*/lib-tk/.*
+PKGFILES_CSWpython$(CVER)-tk += $(libdir)/.*/lib-dynload/_tkinter.so.*
+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 
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-tk += missing-dependency|CSWpython
+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)-tk += surplus-dependency|CSWpython$(CVER)
 
-
 PACKAGES += CSWlibpython$(DVER)-1-0
-CATALOGNAME_CSWlibpython$(DVER)-1-0  = libpython$(UVER)_1_0
-PKGFILES_CSWlibpython$(DVER)-1-0 += $(call baseisadirs,$(libdir),libpython$(DVER)\.so\.1\.0(\.\d+)*)
-PKGFILES_CSWlibpython$(DVER)-1-0 += $(libdir)/$(PVER)\.so\.([0-9\.]+)
 SPKG_DESC_CSWlibpython$(DVER)-1-0  = Python shared library ($(VER))
+PKGFILES_CSWlibpython$(DVER)-1-0 += $(call baseisadirs,$(libdir),libpython$(VER)\.so\.1\.0(\.\d+)*)
+RUNTIME_DEP_PKGS_CSWlibpython$(DVER)-1-0 += CSWlibintl8
 
-INCOMPATIBLE_PKGS_CSWpython$(CVER) = CSWpydistutils
-
 # Devel package
+OBSOLETED_BY_CSWpython$(CVER)-dev = CSWpython$(CVER)-devel
 PACKAGES += CSWpython$(CVER)-dev
-CATALOGNAME_CSWpython$(CVER)-dev = python_$(CVER)_dev
 SPKG_DESC_CSWpython$(CVER)-dev = Development Files for Python
 # /opt/csw/include/python$(VER)/pyconfig.h is necessary for Python to start up
 PKGFILES_CSWpython$(CVER)-dev += $(includedir)/$(PVER)/(?!pyconfig\.h).*
@@ -96,6 +160,7 @@
 # No idea why would this be in CSWpython, and no good idea for a better package
 # to put it.
 PKGFILES_CSWpython$(CVER)-dev += $(bindir)/smtpd.py-$(VER)
+
 RUNTIME_DEP_PKGS_CSWpython$(CVER)-dev += CSWpython$(CVER)
 RUNTIME_DEP_PKGS_CSWpython$(CVER)-dev += CSWlibpython$(DVER)-1-0
 CHECKPKG_OVERRIDES_CSWpython$(CVER)-dev += surplus-dependency|CSWpython$(CVER)
@@ -103,78 +168,15 @@
 CHECKPKG_OVERRIDES_CSWpython$(CVER)-dev += pkgname-does-not-start-with-CSWpy-
 CHECKPKG_OVERRIDES_CSWpython$(CVER)-dev += catalogname-does-not-start-with-py_
 
-PKGFILES_CSWidle$(CVER) += $(libdir)/.*/idlelib/.*
-PKGFILES_CSWidle$(CVER) += $(bindir)/idle
-PKGFILES_CSWpython$(CVER)-tk  = $(libdir)/.*/lib-tk/.*
-PKGFILES_CSWpython$(CVER)-tk += $(libdir)/.*/lib-dynload/_tkinter.so.*
-PKGFILES_CSWpython$(CVER)-test  = $(libdir)/$(PVER)/test/.*
-PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/bsddb/test.*
-PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/ctypes/test.*
-PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/email/test.*
-PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/distutils/tests.*
-PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/json/tests.*
-PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/lib2to3/tests.*
-PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/sqlite3/test.*
-PKGFILES_CSWpython$(CVER)-test += $(libdir)/$(PVER)/unittest/test.*
+BUILD_DEP_PKGS += CSWlibffi-dev
+BUILD_DEP_PKGS += CSWggettext-dev
 
-ARCHALL_CSWpython$(CVER)-test = 1
-ARCHALL_CSWidle$(CVER)        = 1
-
-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) += 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)-test  += CSWpython$(CVER)
-
-# This could be handled by automatic dependency detection
-CHECKPKG_OVERRIDES_CSWidle$(CVER) += surplus-dependency|CSWpython$(CVER)-tk
-
-CATALOGNAME_CSWidle$(CVER)         = idle_$(CVER)
-CATALOGNAME_CSWpython$(CVER)       = python_$(CVER)
-CATALOGNAME_CSWpython$(CVER)-tk    = python_$(CVER)_tk
-CATALOGNAME_CSWpython$(CVER)-test  = python_$(CVER)_test
-
-SPKG_DESC_CSWidle$(CVER)         = Python IDE
-SPKG_DESC_CSWpython$(CVER)       = A high-level scripting language, $(VER) series
-SPKG_DESC_CSWpython$(CVER)-tk    = Python Tk Interface (TkInter)
-SPKG_DESC_CSWpython$(CVER)-test  = Python Test modules
-
-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)-tk += missing-dependency|CSWpython
-
 LICENSE = LICENSE
 
 # This is an exception, since these are original Python packages.
-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)-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)
 
-# Checkpkg does not understand relocatable packages.
-CHECKPKG_OVERRIDES_CSWpython$(CVER) += soname-not-found|libgdbm.so.3|is|needed|by|opt/csw/lib/$(PVER)/lib-dynload/gdbm.so
-CHECKPKG_OVERRIDES_CSWpython$(CVER) += soname-not-found|libgdbm.so.3|is|needed|by|opt/csw/lib/$(PVER)/lib-dynload/_gdbm.so
-CHECKPKG_OVERRIDES_CSWpython$(CVER) += surplus-dependency|CSWgdbm
-
 # To avoid file collisions with CSWpython:
 EXTRA_PAX_ARGS += -s ',^\.$(bindir)/idle,$(bindir)/idle-$(VER),'
 EXTRA_PAX_ARGS += -s ',^\.$(bindir)/smtpd.py,$(bindir)/smtpd.py-$(VER),'

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