Revision: 3085 http://gar.svn.sourceforge.net/gar/?rev=3085&view=rev Author: valholla Date: 2009-02-12 17:33:02 +0000 (Thu, 12 Feb 2009)
Log Message: ----------- update for python2.6 Modified Paths: -------------- csw/mgar/pkg/mysql-python/trunk/Makefile csw/mgar/pkg/mysql-python/trunk/checksums Removed Paths: ------------- csw/mgar/pkg/mysql-python/trunk/files/CSWpymysql.depend csw/mgar/pkg/mysql-python/trunk/files/CSWpymysql.gspec csw/mgar/pkg/mysql-python/trunk/files/CSWpymysql.prototype csw/mgar/pkg/mysql-python/trunk/files/mysql.diff csw/mgar/pkg/mysql-python/trunk/files/setup.diff Modified: csw/mgar/pkg/mysql-python/trunk/Makefile =================================================================== --- csw/mgar/pkg/mysql-python/trunk/Makefile 2009-02-12 17:07:02 UTC (rev 3084) +++ csw/mgar/pkg/mysql-python/trunk/Makefile 2009-02-12 17:33:02 UTC (rev 3085) @@ -9,15 +9,17 @@ MASTER_SITES = $(SF_MIRROR)/$(call TOLOWER,$(GARNAME))/ DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz -DISTFILES += $(call admfiles,CSWpymysql,depend prototype) +PACKAGES = CSWpymysql +REQUIRED_PKGS_CSWpymysql = CSWmysql5rt CSWpython CSWosslrt CSWzlib +CATALOGNAME_CSWpymysql = py_mysql5 +SPKG_DESC = MySQL Support for Python + # We define upstream file regex so we can be notifed of new upstream software release -UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz +UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE)=22307 +UPSTREAM_USE_SF = 1 +UFILES_REGEX = (\d+(?:\.\d+)*) -#UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE)=22307 -#UPSTREAM_USE_SF = 1 -#UFILES_REGEX = (\d+(?:\.\d+)*) - CONFIGURE_SCRIPTS = BUILD_SCRIPTS = $(WORKSRC)/setup.py TEST_SCRIPTS = Modified: csw/mgar/pkg/mysql-python/trunk/checksums =================================================================== --- csw/mgar/pkg/mysql-python/trunk/checksums 2009-02-12 17:07:02 UTC (rev 3084) +++ csw/mgar/pkg/mysql-python/trunk/checksums 2009-02-12 17:33:02 UTC (rev 3085) @@ -1,4 +1 @@ 532268f02870bea18c1d465e88afff30 download/MySQL-python-1.2.2.tar.gz -c709f362257e211377f023344733e117 download/CSWpymysql.gspec -1019cb34d3565b48b8159aa37955efba download/CSWpymysql.depend -1784ff4e086aa1676c488f1632b1f5c9 download/CSWpymysql.prototype Deleted: csw/mgar/pkg/mysql-python/trunk/files/CSWpymysql.depend =================================================================== --- csw/mgar/pkg/mysql-python/trunk/files/CSWpymysql.depend 2009-02-12 17:07:02 UTC (rev 3084) +++ csw/mgar/pkg/mysql-python/trunk/files/CSWpymysql.depend 2009-02-12 17:33:02 UTC (rev 3085) @@ -1,4 +0,0 @@ -P CSWmysql5rt mysql5rt - run-time libraries for mysql5 -P CSWosslrt openssl_rt - Openssl runtime libraries -P CSWpython python - The Python language interpreter -P CSWzlib zlib - Zlib Data Compression Library Deleted: csw/mgar/pkg/mysql-python/trunk/files/CSWpymysql.gspec =================================================================== --- csw/mgar/pkg/mysql-python/trunk/files/CSWpymysql.gspec 2009-02-12 17:07:02 UTC (rev 3084) +++ csw/mgar/pkg/mysql-python/trunk/files/CSWpymysql.gspec 2009-02-12 17:33:02 UTC (rev 3085) @@ -1,7 +0,0 @@ -%var bitname pymysql -%var pkgname CSWpymysql -%include url file://%{PKGLIB}/csw_dyndepend.gspec -%copyright -License - - GPL or the original license based on Python 1.5.2's license. Deleted: csw/mgar/pkg/mysql-python/trunk/files/CSWpymysql.prototype =================================================================== --- csw/mgar/pkg/mysql-python/trunk/files/CSWpymysql.prototype 2009-02-12 17:07:02 UTC (rev 3084) +++ csw/mgar/pkg/mysql-python/trunk/files/CSWpymysql.prototype 2009-02-12 17:33:02 UTC (rev 3085) @@ -1,40 +0,0 @@ -d none /opt/csw/lib 0755 root bin -d none /opt/csw/lib/python 0755 root bin -d none /opt/csw/lib/python/site-packages 0755 root bin -d none /opt/csw/lib/python/site-packages/MySQL_python-1.2.2-py2.5.egg-info 0755 root bin -f none /opt/csw/lib/python/site-packages/MySQL_python-1.2.2-py2.5.egg-info/PKG-INFO 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQL_python-1.2.2-py2.5.egg-info/SOURCES.txt 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQL_python-1.2.2-py2.5.egg-info/dependency_links.txt 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQL_python-1.2.2-py2.5.egg-info/native_libs.txt 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQL_python-1.2.2-py2.5.egg-info/top_level.txt 0644 root bin -d none /opt/csw/lib/python/site-packages/MySQLdb 0755 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/__init__.py 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/__init__.pyc 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/connections.py 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/connections.pyc 0644 root bin -d none /opt/csw/lib/python/site-packages/MySQLdb/constants 0755 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/CLIENT.py 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/CLIENT.pyc 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/CR.py 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/CR.pyc 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/ER.py 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/ER.pyc 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/FIELD_TYPE.py 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/FIELD_TYPE.pyc 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/FLAG.py 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/FLAG.pyc 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/REFRESH.py 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/REFRESH.pyc 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/__init__.py 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/constants/__init__.pyc 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/converters.py 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/converters.pyc 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/cursors.py 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/cursors.pyc 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/release.py 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/release.pyc 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/times.py 0644 root bin -f none /opt/csw/lib/python/site-packages/MySQLdb/times.pyc 0644 root bin -f none /opt/csw/lib/python/site-packages/_mysql.so 0755 root bin -f none /opt/csw/lib/python/site-packages/_mysql_exceptions.py 0644 root bin -f none /opt/csw/lib/python/site-packages/_mysql_exceptions.pyc 0644 root bin Deleted: csw/mgar/pkg/mysql-python/trunk/files/mysql.diff =================================================================== --- csw/mgar/pkg/mysql-python/trunk/files/mysql.diff 2009-02-12 17:07:02 UTC (rev 3084) +++ csw/mgar/pkg/mysql-python/trunk/files/mysql.diff 2009-02-12 17:33:02 UTC (rev 3085) @@ -1,17 +0,0 @@ -diff --speed-large-files --minimal -Nru MySQL-python-1.0.0.orig/setup.py MySQL-python-1.0.0/setup.py ---- MySQL-python-1.0.0.orig/setup.py 2004-11-03 14:07:54.491727000 -0500 -+++ MySQL-python-1.0.0/setup.py 2004-11-03 14:07:44.527983000 -0500 -@@ -61,8 +61,11 @@ - include_dirs = ['%s/include/mysql' % LOCALBASE] - library_dirs = ['%s/lib/mysql' % LOCALBASE] - elif sys.platform == "sunos5": # Solaris 2.8 + gcc -- runtime_library_dirs.append('/usr/local/lib:/usr/openwin/lib:/usr/dt/lib') -- extra_compile_args.append("-fPIC") -+ runtime_library_dirs.append('/opt/csw/mysql4/lib/mysql:/opt/csw/lib') -+ library_dirs = ['/opt/csw/mysql4/lib/mysql', '/opt/csw/lib'] -+ include_dirs = ['/opt/csw/mysql4/include/mysql', '/opt/csw/include'] -+ CC_OPTIMIZE = os.environ.get('CC_OPTIMIZE', ''); -+ extra_compile_args = ['%s -KPIC -mt' % CC_OPTIMIZE] - elif sys.platform == "win32": # Ugh - include_dirs = [r'c:\mysql\include'] - library_dirs = [r'c:\mysql\lib\opt'] Deleted: csw/mgar/pkg/mysql-python/trunk/files/setup.diff =================================================================== --- csw/mgar/pkg/mysql-python/trunk/files/setup.diff 2009-02-12 17:07:02 UTC (rev 3084) +++ csw/mgar/pkg/mysql-python/trunk/files/setup.diff 2009-02-12 17:33:02 UTC (rev 3085) @@ -1,24 +0,0 @@ -diff --speed-large-files --minimal -Nru MySQL-python-1.0.0.orig/setup.py MySQL-python-1.0.0/setup.py ---- MySQL-python-1.0.0.orig/setup.py 2004-11-03 15:19:44.340008000 -0500 -+++ MySQL-python-1.0.0/setup.py 2004-11-03 15:19:27.260587000 -0500 -@@ -61,8 +61,18 @@ - include_dirs = ['%s/include/mysql' % LOCALBASE] - library_dirs = ['%s/lib/mysql' % LOCALBASE] - elif sys.platform == "sunos5": # Solaris 2.8 + gcc -- runtime_library_dirs.append('/usr/local/lib:/usr/openwin/lib:/usr/dt/lib') -- extra_compile_args.append("-fPIC") -+ PREFIX = os.environ.get('prefix', '/usr/local') -+ OPTIMIZE = os.environ.get('CC_OPTIMIZE', '/usr/local') -+ include_dirs = [ -+ '%s/mysql4/include/mysql' % PREFIX, -+ '%s/include' % PREFIX -+ ] -+ library_dirs = [ -+ '%s/mysql4/lib/mysql' % PREFIX, -+ '%s/lib' % PREFIX -+ ] -+ runtime_library_dirs = ['%s/mysql4/lib/mysql:%s/lib' % (PREFIX, PREFIX)] -+ extra_compile_args = ['%s -KPIC -mt' % OPTIMIZE] - elif sys.platform == "win32": # Ugh - include_dirs = [r'c:\mysql\include'] - library_dirs = [r'c:\mysql\lib\opt'] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel