[52188] trunk/dports/python
jmr at macports.org
jmr at macports.org
Thu Jun 11 13:56:13 PDT 2009
Revision: 52188
http://trac.macports.org/changeset/52188
Author: jmr at macports.org
Date: 2009-06-11 13:56:13 -0700 (Thu, 11 Jun 2009)
Log Message:
-----------
add py26-mssql (#19457)
Modified Paths:
--------------
trunk/dports/python/py26-mssql/Portfile
trunk/dports/python/py26-mssql/files/patch-setup.py
Added Paths:
-----------
trunk/dports/python/py26-mssql/
Modified: trunk/dports/python/py26-mssql/Portfile
===================================================================
--- trunk/dports/python/py25-mssql/Portfile 2009-06-11 19:14:56 UTC (rev 52185)
+++ trunk/dports/python/py26-mssql/Portfile 2009-06-11 20:56:13 UTC (rev 52188)
@@ -1,24 +1,28 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python26 1.0
-name py25-mssql
-version 0.8.0
-categories python databases
-platforms darwin
-maintainers nomaintainer
-description A simple database interface to MS-SQL for Python.
-long_description ${description}
+name py26-mssql
+version 1.0.1
+categories python databases
+platforms darwin
+maintainers gmail.com:ruseel
+description A simple database interface to MS-SQL for Python.
+long_description ${description}
-homepage http://pymssql.sourceforge.net/
-master_sites sourceforge:pymssql
-distname pymssql-${version}
-checksums sha1 e06618f2023ef2b7f6901479d7e3b6c56cecf323
-patchfiles patch-setup.py
+homepage http://pymssql.sourceforge.net/
+master_sites sourceforge:pymssql
+distname pymssql-${version}
+checksums md5 afadab7642b35c0492fa2ef08ed551bd \
+ sha1 d18315dd9b9b5c1d12530e735bdfdba451810546 \
+ rmd160 342d665b3aa468c5a8e4144d9e8bd5d1d7f06033
-depends_lib-append port:freetds
+patchfiles patch-setup.py
+depends_lib-append port:freetds
+
post-patch {
- reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
+ reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
}
Modified: trunk/dports/python/py26-mssql/files/patch-setup.py
===================================================================
--- trunk/dports/python/py25-mssql/files/patch-setup.py 2009-06-11 19:14:56 UTC (rev 52185)
+++ trunk/dports/python/py26-mssql/files/patch-setup.py 2009-06-11 20:56:13 UTC (rev 52188)
@@ -1,19 +1,23 @@
---- setup.py.org.py 2006-09-22 14:03:02.000000000 -0700
-+++ setup.py 2007-01-19 00:53:39.000000000 -0800
-@@ -70,14 +70,10 @@
-
- else: # try some generic paths
- include_dirs = [
-- '/usr/include', '/usr/local/include',
-- '/usr/include/freetds', '/usr/local/include/freetds',
-- '/usr/pkg/freetds/include' # netbsd
-+ '__PREFIX__/include', '__PREFIX__/include/freetds'
- ]
- library_dirs = [
-- '/usr/lib', '/usr/local/lib',
-- '/usr/lib/freetds', '/usr/local/lib/freetds'
-- '/usr/pkg/freetds/lib' # netbsd
-+ '__PREFIX__/lib', '__PREFIX__/lib/freetds'
- ]
- libraries = ["sybdb"]
- data_files = []
+--- setup.py.orig 2009-02-05 07:11:49.000000000 +0900
++++ setup.py 2009-04-28 14:12:21.000000000 +0900
+@@ -81,18 +81,10 @@
+
+ else: # try some generic paths
+ include_dirs = [
+- '/usr/local/include', '/usr/local/include/freetds', # first local install
+- '/usr/include', '/usr/include/freetds', # some generic Linux paths
+- '/usr/include/freetds_mssql', # some versions of Mandriva
+- '/usr/local/freetds/include', # FreeBSD
+- '/usr/pkg/freetds/include' # NetBSD
++ '__PREFIX__/include', '__PREFIX__/include/freetds'
+ ]
+ library_dirs = [
+- '/usr/local/lib', '/usr/local/lib/freetds',
+- '/usr/lib', '/usr/lib/freetds',
+- '/usr/lib/freetds_mssql',
+- '/usr/local/freetds/lib',
+- '/usr/pkg/freetds/lib'
++ '__PREFIX__/lib', '__PREFIX__/lib/freetds'
+ ]
+ libraries = [ "sybdb" ] # on Mandriva you may have to change it to sybdb_mssql
+ data_files = []
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090611/110d0bb2/attachment.html>
More information about the macports-changes
mailing list