mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
Update to 0.3.0b2.
This commit is contained in:
parent
11e55c6ac3
commit
579a445279
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34536
@ -6,10 +6,10 @@
|
||||
#
|
||||
|
||||
PORTNAME= py-MySQLdb
|
||||
PORTVERSION= 0.3.0b1
|
||||
PORTVERSION= 0.3.0b2
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= http://dustman.net/andy/python/MySQLdb/0.3.0/
|
||||
DISTNAME= MySQL-${PORTVERSION}
|
||||
DISTNAME= MySQLdb-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
|
||||
|
@ -1 +1 @@
|
||||
MD5 (MySQL-0.3.0b1.tar.gz) = 5e6180772cff2a90d2e6a701f2f4d8ab
|
||||
MD5 (MySQLdb-0.3.0b2.tar.gz) = 21adb1a9c3aeed1de14918d239e1ed0b
|
||||
|
@ -1,26 +1,13 @@
|
||||
--- setup.py.orig Fri Oct 27 04:09:37 2000
|
||||
+++ setup.py Mon Oct 30 11:24:59 2000
|
||||
@@ -9,10 +9,10 @@
|
||||
# You may need to edit this script to point to the location of your
|
||||
# MySQL installation. It should be sufficient to change the value of
|
||||
# the MYSQL_DIR variable below.
|
||||
-MYSQL_INCLUDE_DIR = '/usr/include/mysql'
|
||||
-MYSQL_LIB_DIR = '/usr/lib/mysql'
|
||||
-#mysqlclient = "mysqlclient" # maybe not thread-safe
|
||||
-mysqlclient = "mysqlclient_r" # thread-safe
|
||||
+MYSQL_INCLUDE_DIR = '/usr/local/include/mysql'
|
||||
+MYSQL_LIB_DIR = '/usr/local/lib/mysql'
|
||||
+mysqlclient = "mysqlclient" # maybe not thread-safe
|
||||
+#mysqlclient = "mysqlclient_r" # thread-safe
|
||||
|
||||
|
||||
setup (# Distribution meta-data
|
||||
@@ -32,7 +32,7 @@
|
||||
sources=['_mysqlmodule.c'],
|
||||
include_dirs=[MYSQL_INCLUDE_DIR],
|
||||
# maybe comment to force dynamic libraries
|
||||
- #library_dirs=[MYSQL_LIB_DIR],
|
||||
+ library_dirs=[MYSQL_LIB_DIR],
|
||||
# uncomment if linking against dynamic libraries
|
||||
#runtime_library_dirs=[MYSQL_LIB_DIR],
|
||||
libraries=[
|
||||
--- setup.py.orig Tue Oct 31 21:28:16 2000
|
||||
+++ setup.py Wed Nov 1 13:51:41 2000
|
||||
@@ -32,8 +32,8 @@
|
||||
runtime_library_dirs = []
|
||||
extra_objects = [r'c:\mysql\lib\opt\mysqlclient.lib']
|
||||
elif os.name == "posix": # most Linux/UNIX platforms
|
||||
- include_dirs = ['/usr/include/mysql']
|
||||
- library_dirs = ['/usr/lib/mysql']
|
||||
+ include_dirs = ['%%LOCALBASE%%/include/mysql']
|
||||
+ library_dirs = ['%%LOCALBASE%%/lib/mysql']
|
||||
# MySQL-3.23 seems to need libz
|
||||
libraries = [mysqlclient, "z"]
|
||||
# On some platorms, this can be used to find the shared libraries
|
||||
|
@ -6,10 +6,10 @@
|
||||
#
|
||||
|
||||
PORTNAME= py-MySQLdb
|
||||
PORTVERSION= 0.3.0b1
|
||||
PORTVERSION= 0.3.0b2
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= http://dustman.net/andy/python/MySQLdb/0.3.0/
|
||||
DISTNAME= MySQL-${PORTVERSION}
|
||||
DISTNAME= MySQLdb-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
|
||||
|
@ -1 +1 @@
|
||||
MD5 (MySQL-0.3.0b1.tar.gz) = 5e6180772cff2a90d2e6a701f2f4d8ab
|
||||
MD5 (MySQLdb-0.3.0b2.tar.gz) = 21adb1a9c3aeed1de14918d239e1ed0b
|
||||
|
@ -1,26 +1,13 @@
|
||||
--- setup.py.orig Fri Oct 27 04:09:37 2000
|
||||
+++ setup.py Mon Oct 30 11:24:59 2000
|
||||
@@ -9,10 +9,10 @@
|
||||
# You may need to edit this script to point to the location of your
|
||||
# MySQL installation. It should be sufficient to change the value of
|
||||
# the MYSQL_DIR variable below.
|
||||
-MYSQL_INCLUDE_DIR = '/usr/include/mysql'
|
||||
-MYSQL_LIB_DIR = '/usr/lib/mysql'
|
||||
-#mysqlclient = "mysqlclient" # maybe not thread-safe
|
||||
-mysqlclient = "mysqlclient_r" # thread-safe
|
||||
+MYSQL_INCLUDE_DIR = '/usr/local/include/mysql'
|
||||
+MYSQL_LIB_DIR = '/usr/local/lib/mysql'
|
||||
+mysqlclient = "mysqlclient" # maybe not thread-safe
|
||||
+#mysqlclient = "mysqlclient_r" # thread-safe
|
||||
|
||||
|
||||
setup (# Distribution meta-data
|
||||
@@ -32,7 +32,7 @@
|
||||
sources=['_mysqlmodule.c'],
|
||||
include_dirs=[MYSQL_INCLUDE_DIR],
|
||||
# maybe comment to force dynamic libraries
|
||||
- #library_dirs=[MYSQL_LIB_DIR],
|
||||
+ library_dirs=[MYSQL_LIB_DIR],
|
||||
# uncomment if linking against dynamic libraries
|
||||
#runtime_library_dirs=[MYSQL_LIB_DIR],
|
||||
libraries=[
|
||||
--- setup.py.orig Tue Oct 31 21:28:16 2000
|
||||
+++ setup.py Wed Nov 1 13:51:41 2000
|
||||
@@ -32,8 +32,8 @@
|
||||
runtime_library_dirs = []
|
||||
extra_objects = [r'c:\mysql\lib\opt\mysqlclient.lib']
|
||||
elif os.name == "posix": # most Linux/UNIX platforms
|
||||
- include_dirs = ['/usr/include/mysql']
|
||||
- library_dirs = ['/usr/lib/mysql']
|
||||
+ include_dirs = ['%%LOCALBASE%%/include/mysql']
|
||||
+ library_dirs = ['%%LOCALBASE%%/lib/mysql']
|
||||
# MySQL-3.23 seems to need libz
|
||||
libraries = [mysqlclient, "z"]
|
||||
# On some platorms, this can be used to find the shared libraries
|
||||
|
Loading…
Reference in New Issue
Block a user