summaryrefslogtreecommitdiff
path: root/databases/py-mysqldb
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2014-04-12 09:30:38 +0000
committeradam <adam@pkgsrc.org>2014-04-12 09:30:38 +0000
commit2871e0e7767cec3da0e8a5dc05be077892c71c52 (patch)
treec122ccd536c152814b6b99df23151413fc5713fc /databases/py-mysqldb
parentdd3c638027085d36cb02cc4f4ae504a630c3081d (diff)
downloadpkgsrc-2871e0e7767cec3da0e8a5dc05be077892c71c52.tar.gz
Changes 1.2.5:
* Unknown Changes 1.2.4: * Added support for the MySQL read_timeout option. * Added a workaround so that the MySQL character set utf8mb4 works with Python; utf8 is substituted on the Python side. * Unified test database configuration, and set up CI testing with Travis.
Diffstat (limited to 'databases/py-mysqldb')
-rw-r--r--databases/py-mysqldb/Makefile25
-rw-r--r--databases/py-mysqldb/distinfo8
2 files changed, 19 insertions, 14 deletions
diff --git a/databases/py-mysqldb/Makefile b/databases/py-mysqldb/Makefile
index e90dca0c01d..be3424d7196 100644
--- a/databases/py-mysqldb/Makefile
+++ b/databases/py-mysqldb/Makefile
@@ -1,20 +1,25 @@
-# $NetBSD: Makefile,v 1.38 2014/01/25 10:29:59 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2014/04/12 09:30:38 adam Exp $
-DISTNAME= MySQL-python-${DIST_VERSION}
-PKGNAME= ${PYPKGPREFIX}-mysqldb-${DIST_VERSION:S/c/rc/}
-DIST_VERSION= 1.2.3
-PKGREVISION= 3
+DISTNAME= MySQL-python-1.2.5
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/MySQL-python/mysqldb/}
CATEGORIES= databases python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mysql-python/}
+MASTER_SITES= http://pypi.python.org/packages/source/M/MySQL-python/
+EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://sourceforge.net/projects/mysql-python
+HOMEPAGE= https://github.com/farcepest/MySQLdb1/
COMMENT= MySQL interface for Python
LICENSE= gnu-gpl-v2
-EGG_NAME= ${DISTNAME:S/MySQL-/MySQL_/}
-PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 1.2.3
+PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 1.2.5
+
+EGG_NAME= ${DISTNAME:S/MySQL-/MySQL_/}
+USE_LANGUAGES= c
+
+# These files must not be world-writable.
+pre-configure:
+ ${CHMOD} go-w ${WRKSRC}/MySQL_python.egg-info/*
-.include "../../mk/mysql.buildlink3.mk"
.include "../../lang/python/egg.mk"
+.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/py-mysqldb/distinfo b/databases/py-mysqldb/distinfo
index 56618eb4587..c0f3d889b98 100644
--- a/databases/py-mysqldb/distinfo
+++ b/databases/py-mysqldb/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2010/08/10 08:49:40 tron Exp $
+$NetBSD: distinfo,v 1.12 2014/04/12 09:30:38 adam Exp $
-SHA1 (MySQL-python-1.2.3.tar.gz) = 3511bb8c57c6016eeafa531d5c3ea4b548915e3c
-RMD160 (MySQL-python-1.2.3.tar.gz) = e394e7bf08127068795aeebfbaea7dc3b2127c86
-Size (MySQL-python-1.2.3.tar.gz) = 70305 bytes
+SHA1 (MySQL-python-1.2.5.zip) = b935a26b3cf80338bcc21b8a991081d83eb9c3ae
+RMD160 (MySQL-python-1.2.5.zip) = f6638f1bda4c6a3f721c05a5f0029951d07430a9
+Size (MySQL-python-1.2.5.zip) = 108935 bytes