<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/e1a4cd801855070b62837328a69f8a25576a50f9">https://github.com/macports/macports-ports/commit/e1a4cd801855070b62837328a69f8a25576a50f9</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 e1a4cd80185 py-mysqlclient: update to 2.2.1
</span>e1a4cd80185 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e1a4cd801855070b62837328a69f8a25576a50f9
</span>Author: Craig Treleaven <ctreleaven@macports.org>
AuthorDate: Sun Jan 14 21:50:27 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-mysqlclient: update to 2.2.1
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> no longer uses mysql_config, therefore remove patch and rework
</span><span style='display:block; white-space:pre;color:#404040;'> variants to set pkg_config_path
</span><span style='display:block; white-space:pre;color:#404040;'> remove mariadb55, mariadb10_2 and percona55 variants
</span><span style='display:block; white-space:pre;color:#404040;'> add mariadb[10_7...10_11] variants
</span><span style='display:block; white-space:pre;color:#404040;'> change default variant to mariadb10_9
</span>---
python/py-mysqlclient/Portfile | 139 ++++++++++++++-------
.../py-mysqlclient/files/patch_setup-posix.py.diff | 11 --
2 files changed, 94 insertions(+), 56 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 4bdf840026a..6ac0d2b3ee2 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;'>@@ -4,10 +4,10 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup PyMySQL mysqlclient-python 2.1.1 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 1a93df2749c29f5999d70cf1400cb361bd28e612 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 787f85f723ad9180351e773f5e6f49308e455014175e83e58d2f62295f1704cc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 90564
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup PyMySQL mysqlclient-python 2.2.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 4c4cf2e3c1264caae139d72bf93e4521bbf9deec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 aeceb10e5a056d76a9be2aef5cda4805a05cb5a8a7c039f64d728c3cbbe0f803 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 93928
</span>
name py-mysqlclient
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,89 +19,138 @@ maintainers {ctreleaven @ctreleaven} openmaintainer
</span> description Python3 interface to MySQL/MariaDB, fork of MySQL-python
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 38 39 310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 38 39 310 311 312
</span>
if {${name} ne ${subport}} {
set mysql_config {}
depends_build-append \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig \
</span> port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch_setup-posix.py.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@MYSQL_CONFIG@|${prefix}/${mysql_config}|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/setup_posix.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> pre-configure {
if {![variant_isset mysql57] &&
![variant_isset mysql8] &&
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset mariadb55] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset mariadb10_2] &&
</span> ![variant_isset mariadb10_3] &&
![variant_isset mariadb10_4] &&
![variant_isset mariadb10_5] &&
![variant_isset mariadb10_6] &&
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset percona55]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "you must select either mysql57, mysql8, mariadb55, mariadb10_2 through mariadb10_6 or percona55"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_7] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_8] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_9] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_10] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_11]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "you must select either mysql57, mysql8, or mariadb10_3 through mariadb10_11"
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant mysql57 conflicts mysql8 mariadb55 mariadb10_2 mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 percona55 description {Access mysql57} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mysql57 conflicts mysql8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 mariadb10_7 mariadb10_8 mariadb10_9 mariadb10_10 mariadb10_11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Access mysql57} {
</span> depends_lib-append port:mysql57
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set mysql_config lib/mysql57/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PKG_CONFIG_PATH=${prefix}/lib/mysql57/mysql/pkgconfig
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant mysql8 conflicts mysql57 mariadb55 mariadb10_2 mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 percona55 description {Access mysql8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mysql8 conflicts mysql57 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 mariadb10_7 mariadb10_8 mariadb10_9 mariadb10_10 mariadb10_11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Access mysql8} {
</span> depends_lib-append port:mysql8
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set mysql_config lib/mysql8/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant mariadb55 conflicts mysql57 mysql8 mariadb10_2 mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 percona55 description {Access mariadb55} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:mariadb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set mysql_config lib/mariadb/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant mariadb10_2 conflicts mysql57 mysql8 mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 mariadb55 percona55 description {Access mariadb-10.2} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:mariadb-10.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set mysql_config lib/mariadb-10.2/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PKG_CONFIG_PATH=${prefix}/lib/mysql8/mysql/pkgconfig
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant mariadb10_3 conflicts mysql57 mysql8 mariadb10_2 mariadb10_4 mariadb10_5 mariadb10_6 mariadb55 percona55 description {Access mariadb-10.3} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# variant mariadb55 conflicts mysql57 mysql8 mariadb10_2 mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 percona55 description {Access mariadb55} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# depends_lib-append port:mariadb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# set mysql_config lib/mariadb/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_2 conflicts mysql57 mysql8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 mariadb10_7 mariadb10_8 mariadb10_9 mariadb10_10 mariadb10_11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# mariadb55 percona55 description {Access mariadb-10.2} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# depends_lib-append port:mariadb-10.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# build.env-append PKG_CONFIG_PATH=${prefix}/lib/mariadb-10.2/mysql/pkgconfig
</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_3 conflicts mysql57 mysql8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mariadb10_4 mariadb10_5 mariadb10_6 mariadb10_7 mariadb10_8 mariadb10_9 mariadb10_10 mariadb10_11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Access mariadb-10.3} {
</span> depends_lib-append port:mariadb-10.3
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set mysql_config lib/mariadb-10.3/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PKG_CONFIG_PATH=${prefix}/lib/mariadb-10.3/mysql/pkgconfig
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant mariadb10_4 conflicts mysql57 mysql8 mariadb10_2 mariadb10_3 mariadb10_5 mariadb10_6 mariadb55 percona55 description {Access mariadb-10.4} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mariadb10_4 conflicts mysql57 mysql8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mariadb10_3 mariadb10_5 mariadb10_6 mariadb10_7 mariadb10_8 mariadb10_9 mariadb10_10 mariadb10_11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Access mariadb-10.4} {
</span> depends_lib-append port:mariadb-10.4
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set mysql_config lib/mariadb-10.4/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PKG_CONFIG_PATH=${prefix}/lib/mariadb-10.4/mysql/pkgconfig
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant mariadb10_5 conflicts mysql57 mysql8 mariadb10_2 mariadb10_3 mariadb10_4 mariadb10_6 mariadb55 percona55 description {Access mariadb-10.5} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mariadb10_5 conflicts mysql57 mysql8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mariadb10_3 mariadb10_4 mariadb10_6 mariadb10_7 mariadb10_8 mariadb10_9 mariadb10_10 mariadb10_11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Access mariadb-10.5} {
</span> depends_lib-append port:mariadb-10.5
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set mysql_config lib/mariadb-10.5/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PKG_CONFIG_PATH=${prefix}/lib/mariadb-10.5/mysql/pkgconfig
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant mariadb10_6 conflicts mysql57 mysql8 mariadb10_2 mariadb10_3 mariadb10_4 mariadb10_5 mariadb55 percona55 description {Access mariadb-10.6} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mariadb10_6 conflicts mysql57 mysql8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_7 mariadb10_8 mariadb10_9 mariadb10_10 mariadb10_11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Access mariadb-10.6} {
</span> depends_lib-append port:mariadb-10.6
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set mysql_config lib/mariadb-10.6/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PKG_CONFIG_PATH=${prefix}/lib/mariadb-10.6/mysql/pkgconfig
</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_7 conflicts mysql57 mysql8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 mariadb10_8 mariadb10_9 mariadb10_10 mariadb10_11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Access mariadb-10.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mariadb-10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PKG_CONFIG_PATH=${prefix}/lib/mariadb-10.7/mysql/pkgconfig
</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_8 conflicts mysql57 mysql8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 mariadb10_7 mariadb10_9 mariadb10_10 mariadb10_11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Access mariadb-10.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mariadb-10.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PKG_CONFIG_PATH=${prefix}/lib/mariadb-10.8/mysql/pkgconfig
</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_9 conflicts mysql57 mysql8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 mariadb10_7 mariadb10_8 mariadb10_10 mariadb10_11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Access mariadb-10.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mariadb-10.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PKG_CONFIG_PATH=${prefix}/lib/mariadb-10.9/mysql/pkgconfig
</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_10 conflicts mysql57 mysql8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 mariadb10_7 mariadb10_8 mariadb10_9 mariadb10_11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Access mariadb-10.10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mariadb-10.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PKG_CONFIG_PATH=${prefix}/lib/mariadb-10.10/mysql/pkgconfig
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant percona55 conflicts mysql57 mysql8 mariadb55 mariadb10_2 mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 description {Access percona} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:percona
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set mysql_config lib/percona/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mariadb10_11 conflicts mysql57 mysql8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 mariadb10_7 mariadb10_8 mariadb10_9 mariadb10_10 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Access mariadb-10.11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mariadb-10.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PKG_CONFIG_PATH=${prefix}/lib/mariadb-10.11/mysql/pkgconfig
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# variant percona55 conflicts mysql57 mysql8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# mariadb10_3 mariadb10_4 mariadb10_5 mariadb10_6 mariadb10_7 mariadb10_8 mariadb10_9 mariadb10_10 mariadb10_11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# description {Access percona} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# depends_lib-append port:percona
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# XXX set mysql_config lib/percona/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {![variant_isset mysql57] &&
![variant_isset mysql8] &&
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset mariadb55] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset mariadb10_2] &&
</span> ![variant_isset mariadb10_3] &&
![variant_isset mariadb10_4] &&
![variant_isset mariadb10_5] &&
![variant_isset mariadb10_6] &&
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset percona55]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +mariadb10_2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_7] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_8] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_9] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_10] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb10_11] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +mariadb10_9
</span> }
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-mysqlclient/files/patch_setup-posix.py.diff b/python/py-mysqlclient/files/patch_setup-posix.py.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 78c1599e136..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-mysqlclient/files/patch_setup-posix.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup_posix.py.orig 2020-05-20 08:41:43.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup_posix.py 2020-05-20 08:42:36.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -14,7 +14,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- s = s[1:-1]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return s
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--_mysql_config_path = "mysql_config"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+_mysql_config_path = "@MYSQL_CONFIG@"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- def mysql_config(what):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from os import popen
</span></pre><pre style='margin:0'>
</pre>