Skip to content

databases/py-mysqlclient, multi-version support #232

Description

@drscream

It would be nice to provide support for different MySQL / Percona / MariaDB versions to databases/py-mysqlclient. This can be achieved with the following patch:

diff --git a/databases/py-mysqlclient/Makefile b/databases/py-mysqlclient/Makefile
index 36673e909c4..eb176f533fb 100644
--- a/databases/py-mysqlclient/Makefile
+++ b/databases/py-mysqlclient/Makefile
@@ -1,7 +1,8 @@
 # $NetBSD: Makefile,v 1.2 2018/07/05 18:40:55 wiedi Exp $
 
-DISTNAME=      mysqlclient-python-1.3.13
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//}
+DISTNAME=      mysqlclient-python-${VERSION}
+VERSION=       1.3.13
+PKGNAME=       ${PYPKGPREFIX}-${MYSQL_PKG_PREFIX}client-${VERSION}
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=PyMySQL/}
 GITHUB_PROJECT=        mysqlclient-python

Activity

  1. added a commit that references this issue on Mar 26, 2020
    97971c3
  2. wiedi commented on Mar 30, 2020

    @wiedi

    I think this was closed by accident via github

  3. jperkin commented on Mar 30, 2020

    @jperkin
    Collaborator

    Undo stupid GitHub auto-close.

  4. self-assigned this
    on Apr 20, 2020
  5. added a commit that references this issue on Apr 20, 2020
  6. jperkin commented on Apr 20, 2020

    @jperkin
    Collaborator

    Should be in tonight's build, thanks!

  7. added a commit that references this issue on May 27, 2020
  8. added a commit that references this issue on Jun 25, 2020
  9. added a commit that references this issue on Jul 3, 2020
  10. added a commit that references this issue on Sep 9, 2020
  11. 88 remaining items

  12. added a commit that references this issue on Jul 26, 2026
  13. added a commit that references this issue on Aug 2, 2026
  14. added a commit that references this issue on Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions