aboutsummaryrefslogtreecommitdiff
path: root/databases/py-MySQLdb
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-07-12 11:24:08 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-07-12 11:24:08 +0000
commit8fcbbdadd4c594037daaf31e1a3f6e5f531efc83 (patch)
treee8f1b7be7052ba39b4de6522bea34fe73a55c458 /databases/py-MySQLdb
parent495daa29ccbccd8851d806db6bfcdd71c04675aa (diff)
downloadports-8fcbbdadd4c594037daaf31e1a3f6e5f531efc83.tar.gz
ports-8fcbbdadd4c594037daaf31e1a3f6e5f531efc83.zip
Update to 0.9.0.
Submitted by: Neil Darlow <neil@darlow.co.uk>, Johann Visagie <wjv@FreeBSD.ORG>
Notes
Notes: svn path=/head/; revision=45066
Diffstat (limited to 'databases/py-MySQLdb')
-rw-r--r--databases/py-MySQLdb/Makefile13
-rw-r--r--databases/py-MySQLdb/distinfo2
-rw-r--r--databases/py-MySQLdb/pkg-plist86
3 files changed, 63 insertions, 38 deletions
diff --git a/databases/py-MySQLdb/Makefile b/databases/py-MySQLdb/Makefile
index 132ff9422318..3f747aaa835e 100644
--- a/databases/py-MySQLdb/Makefile
+++ b/databases/py-MySQLdb/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= py-MySQLdb
-PORTVERSION= 0.3.5
+PORTVERSION= 0.9.0
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mysql-python
@@ -20,8 +20,7 @@ LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
USE_PYTHON= yes
SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
-DOCS= README.MySQLmodule MANIFEST README
-
+DOCS= MANIFEST README doc/*.html
do-configure:
@${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
@@ -30,14 +29,12 @@ do-build:
${SETUP_CMD} build
do-install:
- ${SETUP_CMD} install
+ ${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/py-MySQLdb/examples
+ @${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
- @${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/py-MySQLdb
+ @${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
- @${INSTALL_MAN} \
- ${WRKSRC}/examples/* ${PREFIX}/share/doc/py-MySQLdb/examples
.endif
.include <bsd.port.mk>
diff --git a/databases/py-MySQLdb/distinfo b/databases/py-MySQLdb/distinfo
index b5ce815458af..3139d8885f2b 100644
--- a/databases/py-MySQLdb/distinfo
+++ b/databases/py-MySQLdb/distinfo
@@ -1 +1 @@
-MD5 (MySQL-python-0.3.5.tar.gz) = 678d76103e52cd51e97572f65ead754a
+MD5 (MySQL-python-0.9.0.tar.gz) = bd56fa81769739d6710e320b3765675b
diff --git a/databases/py-MySQLdb/pkg-plist b/databases/py-MySQLdb/pkg-plist
index 7323b3ccf168..7b7933cc13e6 100644
--- a/databases/py-MySQLdb/pkg-plist
+++ b/databases/py-MySQLdb/pkg-plist
@@ -1,32 +1,60 @@
-lib/%%PYTHON_VERSION%%/site-packages/MySQLdb.py
-lib/%%PYTHON_VERSION%%/site-packages/MySQLdb.pyc
lib/%%PYTHON_VERSION%%/site-packages/CompatMysqldb.py
lib/%%PYTHON_VERSION%%/site-packages/CompatMysqldb.pyc
+lib/%%PYTHON_VERSION%%/site-packages/CompatMysqldb.pyo
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/connections.py
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/connections.pyc
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/connections.pyo
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/CLIENT.py
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/CLIENT.pyc
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/CLIENT.pyo
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/CR.py
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/CR.pyc
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/CR.pyo
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/ER.py
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/ER.pyc
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/ER.pyo
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/FIELD_TYPE.py
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/FIELD_TYPE.pyc
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/FIELD_TYPE.pyo
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/FLAG.py
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/FLAG.pyc
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/FLAG.pyo
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/REFRESH.py
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/REFRESH.pyc
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/REFRESH.pyo
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/converters.py
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/converters.pyc
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/converters.pyo
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/cursors.py
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/cursors.pyc
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/cursors.pyo
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/sets.py
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/sets.pyc
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/sets.pyo
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/times.py
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/times.pyc
+lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/times.pyo
lib/%%PYTHON_VERSION%%/site-packages/_mysql.so
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/CLIENT.py
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/CLIENT.pyc
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/CR.py
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/CR.pyc
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/ER.py
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/ER.pyc
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/FIELD_TYPE.py
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/FIELD_TYPE.pyc
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/FLAG.py
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/FLAG.pyc
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/REFRESH.py
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/REFRESH.pyc
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/__init__.py
-lib/%%PYTHON_VERSION%%/site-packages/_mysql_const/__init__.pyc
-share/doc/py-MySQLdb/MANIFEST
-share/doc/py-MySQLdb/README
-share/doc/py-MySQLdb/README.MySQLmodule
-share/doc/py-MySQLdb/examples/README
-share/doc/py-MySQLdb/examples/dbtrainer0
-share/doc/py-MySQLdb/examples/dbtrainer1
-share/doc/py-MySQLdb/examples/dbtrainer2
-share/doc/py-MySQLdb/examples/dbtrainer3
-share/doc/py-MySQLdb/examples/dbtrainer4
-share/doc/py-MySQLdb/examples/test.sql
-@dirrm share/doc/py-MySQLdb/examples
-@dirrm share/doc/py-MySQLdb
-@dirrm lib/%%PYTHON_VERSION%%/site-packages/_mysql_const
+lib/%%PYTHON_VERSION%%/site-packages/_mysql_exceptions.py
+lib/%%PYTHON_VERSION%%/site-packages/_mysql_exceptions.pyc
+lib/%%PYTHON_VERSION%%/site-packages/_mysql_exceptions.pyo
+%%PORTDOCS%%share/doc/py-MySQLdb/MANIFEST
+%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-1.html
+%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-2.html
+%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-3.html
+%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-4.html
+%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-FAQ-1.html
+%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-FAQ-2.html
+%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-FAQ-3.html
+%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-FAQ.html
+%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb.html
+%%PORTDOCS%%share/doc/py-MySQLdb/README
+%%PORTDOCS%%@dirrm share/doc/py-MySQLdb
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/MySQLdb