#39510: py-oursql @0.9.2 Add variants for mysql --------------------------+------------------------ Reporter: s@… | Owner: habnabit@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: py-oursql | --------------------------+------------------------ Comment (by s@…): Replying to [comment:1 ryandesign@…]:
Then you should also add variants for mysql56, percona and mariadb. There has to be a better way to handle multiple versions of mysql than the n^2^ variant conflicts list. Is there no concept of a group of ports all of which satisfy a given dependency and variants for each are mutually conflicting?
I'd never even heard of percona or mariadb and I didn't realize that there was a mysql56 port since I was looking at the py-mysqldb which has mysql4, mysql5, mysql51, and mysql55. (And frankly, I can't even tell what the difference between mysql5 and mysql51 is. They seem identical except that mysql5 includes openssl and mysql51 requires the +openssl variant.) Although there is only one version of mariadb in MP, it seems that it is trying to be binary compatible with various versions of MySQL so one could easily imagine MP having mariadb51 and mariadb55 so yet more variants one could have. It seems unmaintainable. I also just noticed that there is a newer version of oursql, 0.9.3.1. It seems better to get support for others mysql variants in first and then change version (or the other way around) rather than make both changes at once, but I'm willing to do both at once if that's desired. -- Ticket URL: <https://trac.macports.org/ticket/39510#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X