<pre style='margin:0'>
Craig Treleaven (ctreleaven) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/950f5361320a9f8dc23bbdbc81cf84b0a3720a59">https://github.com/macports/macports-ports/commit/950f5361320a9f8dc23bbdbc81cf84b0a3720a59</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 950f5361320 py-mysqlclient: Add variants for mariadb 10.3, 10.4, and 10.5 (#9790)
</span>950f5361320 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 950f5361320a9f8dc23bbdbc81cf84b0a3720a59
</span>Author: jhoyt4 <john.hoyt@gmail.com>
AuthorDate: Thu Jan 28 19:10:50 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-mysqlclient: Add variants for mariadb 10.3, 10.4, and 10.5 (#9790)
</span>---
python/py-mysqlclient/Portfile | 33 +++++++++++++++++++++++++++------
1 file changed, 27 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-mysqlclient/Portfile b/python/py-mysqlclient/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 726c25b7870..765c9b6c203 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-mysqlclient/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-mysqlclient/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,32 +39,50 @@ if {${name} ne ${subport}} {
</span> ![variant_isset mysql8] &&
![variant_isset mariadb55] &&
![variant_isset mariadb10_2] &&
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_3] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_4] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_5] &&
</span> ![variant_isset percona55]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "you must select either mysql5, mysql8, mariadb55, mariadb10_2 or percona55"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "you must select either mysql57, mysql8, mariadb55, mariadb10_2 through mariadb10_5 or percona55"
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant mysql57 conflicts mysql8 mariadb55 mariadb10_2 percona55 description {Access mysql57} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mysql57 conflicts mysql8 mariadb55 mariadb10_2 mariadb10_3 mariadb10_4 mariadb10_5 percona55 description {Access mysql57} {
</span> depends_lib-append port:mysql57
set mysql_config lib/mysql57/bin/mysql_config
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant mysql8 conflicts mysql57 mariadb55 mariadb10_2 percona55 description {Access mysql58} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mysql8 conflicts mysql57 mariadb55 mariadb10_2 mariadb10_3 mariadb10_4 mariadb10_5 percona55 description {Access mysql8} {
</span> depends_lib-append port:mysql8
set mysql_config lib/mysql8/bin/mysql_config
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant mariadb55 conflicts mysql57 mysql8 mariadb10_2 percona55 description {Access mariadb55} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mariadb55 conflicts mysql57 mysql8 mariadb10_2 mariadb10_3 mariadb10_4 mariadb10_5 percona55 description {Access mariadb55} {
</span> depends_lib-append port:mariadb
set mysql_config lib/mariadb/bin/mysql_config
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant mariadb10_2 conflicts mysql57 mysql8 mariadb55 percona55 description {Access mariadb-10.2} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mariadb10_2 conflicts mysql57 mysql8 mariadb10_3 mariadb10_4 mariadb10_5 mariadb55 percona55 description {Access mariadb-10.2} {
</span> depends_lib-append port:mariadb-10.2
set mysql_config lib/mariadb-10.2/bin/mysql_config
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant percona55 conflicts mysql57 mysql8 mariadb55 mariadb10_2 description {Access percona} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mariadb10_3 conflicts mysql57 mysql8 mariadb10_2 mariadb10_4 mariadb10_5 mariadb55 percona55 description {Access mariadb-10.3} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mariadb-10.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set mysql_config lib/mariadb-10.3/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mariadb10_4 conflicts mysql57 mysql8 mariadb10_2 mariadb10_3 mariadb10_5 mariadb55 percona55 description {Access mariadb-10.4} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mariadb-10.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set mysql_config lib/mariadb-10.4/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mariadb10_5 conflicts mysql57 mysql8 mariadb10_2 mariadb10_3 mariadb10_4 mariadb55 percona55 description {Access mariadb-10.5} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mariadb-10.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set mysql_config lib/mariadb-10.5/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant percona55 conflicts mysql57 mysql8 mariadb55 mariadb10_2 mariadb10_3 mariadb10_4 mariadb10_5 description {Access percona} {
</span> depends_lib-append port:percona
set mysql_config lib/percona/bin/mysql_config
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,6 +91,9 @@ if {${name} ne ${subport}} {
</span> ![variant_isset mysql8] &&
![variant_isset mariadb55] &&
![variant_isset mariadb10_2] &&
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_3] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_4] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_5] &&
</span> ![variant_isset percona55]} {
default_variants +mariadb10_2
}
</pre><pre style='margin:0'>
</pre>