pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Replace databases/py-mysqldb with databases/py-mysqlclient



Module Name:	pkgsrc-wip
Committed By:	Adam Ciarciński <aciarcinski%teonite.com@localhost>
Pushed By:	adam
Date:		Fri Feb 9 11:29:13 2024 +0100
Changeset:	7bc8718320dc62a6574cf531826d1e04ef71d133

Modified Files:
	cvsanaly/Makefile
	py-SQLObject/options.mk
	py-booktype/options.mk
	py-epigrass/Makefile
	py-logilab-database/options.mk
	py-pygr/Makefile
	pyzor/MESSAGE

Log Message:
Replace databases/py-mysqldb with databases/py-mysqlclient

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7bc8718320dc62a6574cf531826d1e04ef71d133

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cvsanaly/Makefile              | 3 +--
 py-SQLObject/options.mk        | 3 +--
 py-booktype/options.mk         | 3 +--
 py-epigrass/Makefile           | 6 ++----
 py-logilab-database/options.mk | 3 +--
 py-pygr/Makefile               | 4 ++--
 pyzor/MESSAGE                  | 2 +-
 7 files changed, 9 insertions(+), 15 deletions(-)

diffs:
diff --git a/cvsanaly/Makefile b/cvsanaly/Makefile
index a1369d162d..6c67340dd5 100644
--- a/cvsanaly/Makefile
+++ b/cvsanaly/Makefile
@@ -9,13 +9,12 @@ HOMEPAGE=	http://tools.libresoft.es/cvsanaly
 COMMENT=	Source code management tool analyzer
 LICENSE=	gnu-gpl-v2
 
-DEPENDS+=	${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb
+DEPENDS+=	${PYPKGPREFIX}-mysqlclient-[0-9]*:../../databases/py-mysqlclient
 DEPENDS+=	git>=1.7.0.5:../../devel/git
 
 USE_TOOLS+=	pkg-config
 USE_LANGUAGES=	# none
 PYDISTUTILSPKG=	yes
-PYTHON_VERSIONS_ACCEPTED=	27 # py-mysqldb
 
 SUBST_CLASSES+=		paths
 SUBST_STAGE.paths=	pre-configure
diff --git a/py-SQLObject/options.mk b/py-SQLObject/options.mk
index a22689b9b2..b10d8d2498 100644
--- a/py-SQLObject/options.mk
+++ b/py-SQLObject/options.mk
@@ -9,8 +9,7 @@ PKG_SUGGESTED_OPTIONS=	psycopg2
 PLIST_VARS+=	${PKG_SUPPORTED_OPTIONS}
 
 .if !empty(PKG_OPTIONS:Mmysql)
-DEPENDS+=	${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb
-PYTHON_VERSIONS_ACCEPTED=	27 # py-mysqldb
+DEPENDS+=	${PYPKGPREFIX}-mysqlclient-[0-9]*:../../databases/py-mysqlclient
 PLIST.mysql=	yes
 .endif
 
diff --git a/py-booktype/options.mk b/py-booktype/options.mk
index 59a03ba652..c604bc07a8 100644
--- a/py-booktype/options.mk
+++ b/py-booktype/options.mk
@@ -9,8 +9,7 @@ PKG_SUGGESTED_OPTIONS=	pgsql sqlite3
 PLIST_VARS+=	${PKG_SUPPORTED_OPTIONS}
 
 .if !empty(PKG_OPTIONS:Mmysql)
-DEPENDS+=	${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb
-PYTHON_VERSIONS_ACCEPTED=	27 # py-mysqldb
+DEPENDS+=	${PYPKGPREFIX}-mysqlclient-[0-9]*:../../databases/py-mysqlclient
 PLIST.mysql=	yes
 .endif
 
diff --git a/py-epigrass/Makefile b/py-epigrass/Makefile
index d3dfb78728..ce1b3bfdb7 100644
--- a/py-epigrass/Makefile
+++ b/py-epigrass/Makefile
@@ -10,14 +10,12 @@ HOMEPAGE=	https://pypi.python.org/pypi/epigrass/
 COMMENT=	Epidemiological Geo-Referenced Analysis and Simulation System
 LICENSE=	gnu-gpl-v2
 
-USE_LANGUAGES=	# none
-
 DEPENDS+=	${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
-DEPENDS+=	${PYPKGPREFIX}-mysqldb>=1.2.3:../../databases/py-mysqldb
+DEPENDS+=	${PYPKGPREFIX}-mysqlclient>=1.2.3:../../databases/py-mysqlclient
 DEPENDS+=	${PYPKGPREFIX}-networkx>=1.7:../../math/py-networkx
 DEPENDS+=	${PYPKGPREFIX}-redis>=2.8.0:../../databases/py-redis
 
-PYTHON_VERSIONS_ACCEPTED=	27 # py-mysqldb
+USE_LANGUAGES=	# none
 
 .include "../../lang/python/egg.mk"
 .include "../../math/py-numpy/buildlink3.mk"
diff --git a/py-logilab-database/options.mk b/py-logilab-database/options.mk
index 913bb223db..59733eb602 100644
--- a/py-logilab-database/options.mk
+++ b/py-logilab-database/options.mk
@@ -6,8 +6,7 @@ PKG_SUPPORTED_OPTIONS=	mysql sqlite pgsql
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mmysql)
-DEPENDS+=	${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb
-PYTHON_VERSIONS_ACCEPTED=	27 # py-mysqldb
+DEPENDS+=	${PYPKGPREFIX}-mysqlclient-[0-9]*:../../databases/py-mysqlclient
 .endif
 
 .if !empty(PKG_OPTIONS:Msqlite)
diff --git a/py-pygr/Makefile b/py-pygr/Makefile
index 1be7344020..bf042cbbe4 100644
--- a/py-pygr/Makefile
+++ b/py-pygr/Makefile
@@ -11,11 +11,11 @@ HOMEPAGE=	http://code.google.com/p/pygr/
 COMMENT=	Pygr graph database for bioinformatics
 LICENSE=	modified-bsd
 
-DEPENDS+=	${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb
+DEPENDS+=	${PYPKGPREFIX}-mysqlclient-[0-9]*:../../databases/py-mysqlclient
 DEPENDS+=	${PYPKGPREFIX}-pyrex-[0-9]*:../../lang/py-pyrex
 
 USE_LANGUAGES=	c c++
-PYTHON_VERSIONS_ACCEPTED=	27 # py-mysqldb, py-pyrex
+PYTHON_VERSIONS_ACCEPTED=	27 # py-pyrex
 
 .include "../../databases/py-bsddb3/buildlink3.mk"
 .include "../../lang/python/egg.mk"
diff --git a/pyzor/MESSAGE b/pyzor/MESSAGE
index 19c383582a..4ad362d728 100644
--- a/pyzor/MESSAGE
+++ b/pyzor/MESSAGE
@@ -5,7 +5,7 @@ In order to use the pyzord daemon, you'll need to choose a database backend
 and install the respective package for it:
 
   - ${PYPKGPREFIX}-gdbm (databases/py-gdbm) for GDBM (the default)
-  - ${PYPKGPREFIX}-mysqldb (databases/py-mysqldb) for MySQL support
+  - ${PYPKGPREFIX}-mysqlclient (databases/py-mysqlclient) for MySQL support
   - ${PYPKGPREFIX}-redis-py (databases/py-redis-py) for Redis support
 
 ===========================================================================


Home | Main Index | Thread Index | Old Index