Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mysql-connector-python/
Date: Wed, 08 Sep 2021 06:16:11
Message-Id: 1631080421.aa1ab782c8d0fcdd2c4cf784adc295374ccb3f94.mgorny@gentoo
1 commit: aa1ab782c8d0fcdd2c4cf784adc295374ccb3f94
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 8 05:53:41 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 8 05:53:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa1ab782
7
8 dev-python/mysql-connector-python: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/mysql-connector-python/Manifest | 3 --
13 .../mysql-connector-python-8.0.22.ebuild | 53 ----------------------
14 .../mysql-connector-python-8.0.23.ebuild | 53 ----------------------
15 .../mysql-connector-python-8.0.25.ebuild | 53 ----------------------
16 4 files changed, 162 deletions(-)
17
18 diff --git a/dev-python/mysql-connector-python/Manifest b/dev-python/mysql-connector-python/Manifest
19 index 145ae5916c4..4f171f1d7da 100644
20 --- a/dev-python/mysql-connector-python/Manifest
21 +++ b/dev-python/mysql-connector-python/Manifest
22 @@ -1,4 +1 @@
23 -DIST mysql-connector-python-8.0.22.tar.gz 12081967 BLAKE2B fc6b724ec2eb47a92294f7316093d4a4d2f4925981adeb07b305e946a047dbdaedd96c6ff9a07426fd56185f467cf6473bc84e0896d2e8fde70a188af16e9df2 SHA512 07f380922c18f9ade38f95d8e107fe8f90b8a7901fb9a36bbdfdb2b29f9cb79b0b6387a608e89bf90e9344c635d47184c750a206beacb2c9cc7615d6a7df2c29
24 -DIST mysql-connector-python-8.0.23.tar.gz 12095843 BLAKE2B e4cc24f045d0e988ad97a9427fa3f6e20eb9d993d97f51033140e12722bc04fc3a2b252b811402daea2fea8f987948ebd8c68623f2af3e0e7e35d2b0d6fa7eda SHA512 66ca61c15573555a3f42ad8a9e9b3a4bc612c4d2b4e54928af87adcf609e131e9afd53b76c3a8da30f181e4f2111245cda5995063109526ff72f4f2062c2e528
25 -DIST mysql-connector-python-8.0.25.tar.gz 14600643 BLAKE2B e3452aa82dc047cfdec8e64975ceb4f1ba7804aae770956fa52293e185408a4a31b2f563a21dcc6f0c5be0f4a5858d6b58f0d33ab5cf5071543e2c68b2b52b52 SHA512 2a76b879b369e69e0ed6a67d1eab4787c0f9a29c505ad785b03b6b25d7c92b85547082adeae572c75e61b613f39ee01d291fdf54927bdaf25dfcfc85cb8ced7c
26 DIST mysql-connector-python-8.0.26.tar.gz 15180658 BLAKE2B e964728d5f39b9ca5abc72ab84780b463708d1a1cf90507330e73be4837cd30befe245ddd70783490660c70da1b7c162803eee743a0e668cfa6b82773bea4fef SHA512 204021e08b21c5efe87c0f59a6ff3b949cc1d01005121dfe5dde7fea12852a3e28c35b68e06e04f2c0ac4f911bfc14893e6509c99d0c5bf2c30fa32d4131c630
27
28 diff --git a/dev-python/mysql-connector-python/mysql-connector-python-8.0.22.ebuild b/dev-python/mysql-connector-python/mysql-connector-python-8.0.22.ebuild
29 deleted file mode 100644
30 index ce3b059abb0..00000000000
31 --- a/dev-python/mysql-connector-python/mysql-connector-python-8.0.22.ebuild
32 +++ /dev/null
33 @@ -1,53 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{7,8,9} )
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="Python client library for MariaDB/MySQL"
43 -HOMEPAGE="https://dev.mysql.com/downloads/connector/python/"
44 -SRC_URI="https://dev.mysql.com/get/Downloads/Connector-Python/${P}.tar.gz"
45 -
46 -KEYWORDS="amd64 arm x86"
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -IUSE="examples test"
50 -
51 -BDEPEND=">=dev-libs/protobuf-3.6.1"
52 -
53 -RDEPEND="
54 - >=dev-db/mysql-connector-c-8.0
55 - >=dev-python/protobuf-python-3.6.1[${PYTHON_USEDEP}]
56 - dev-python/dnspython[${PYTHON_USEDEP}]
57 -"
58 -# tests/mysqld.py does not like MariaDB version strings.
59 -# See the regex MySQLServerBase._get_version.
60 -DEPEND="${RDEPEND} test? ( dev-db/mysql[server(+)] )"
61 -
62 -# Tests currently fail.
63 -# mysql.connector.errors.DatabaseError: 1300 (HY000): Invalid utf8 character string: ''
64 -RESTRICT="test"
65 -
66 -DOCS=( README.txt CHANGES.txt README.rst )
67 -
68 -python_test() {
69 - "${EPYTHON}" unittests.py --with-mysql="${EPREFIX}/usr" --unix-socket="${T}" --mysql-topdir="${T}"
70 -}
71 -
72 -# Yeah, this is really broken, but the extension will only build this way during "install"
73 -python_install() {
74 - distutils-r1_python_install \
75 - --with-mysql-capi="${EPREFIX}/usr" \
76 - --with-protobuf-include-dir="${EPREFIX}/usr/include/google/protobuf/" \
77 - --with-protobuf-lib-dir="${EPREFIX}/usr/$(get_libdir)" \
78 - --with-protoc="${EPREFIX}/usr/bin/protoc"
79 -}
80 -
81 -python_install_all() {
82 - distutils-r1_python_install_all
83 - if use examples ; then
84 - dodoc -r examples
85 - fi
86 -}
87
88 diff --git a/dev-python/mysql-connector-python/mysql-connector-python-8.0.23.ebuild b/dev-python/mysql-connector-python/mysql-connector-python-8.0.23.ebuild
89 deleted file mode 100644
90 index 6d9b8c1f1e9..00000000000
91 --- a/dev-python/mysql-connector-python/mysql-connector-python-8.0.23.ebuild
92 +++ /dev/null
93 @@ -1,53 +0,0 @@
94 -# Copyright 1999-2021 Gentoo Authors
95 -# Distributed under the terms of the GNU General Public License v2
96 -
97 -EAPI=7
98 -
99 -PYTHON_COMPAT=( python3_{7,8,9} )
100 -inherit distutils-r1
101 -
102 -DESCRIPTION="Python client library for MariaDB/MySQL"
103 -HOMEPAGE="https://dev.mysql.com/downloads/connector/python/"
104 -SRC_URI="https://dev.mysql.com/get/Downloads/Connector-Python/${P}.tar.gz"
105 -
106 -KEYWORDS="amd64 ~arm x86"
107 -LICENSE="GPL-2"
108 -SLOT="0"
109 -IUSE="examples test"
110 -
111 -BDEPEND=">=dev-libs/protobuf-3.6.1"
112 -
113 -RDEPEND="
114 - >=dev-db/mysql-connector-c-8.0
115 - >=dev-python/protobuf-python-3.6.1[${PYTHON_USEDEP}]
116 - dev-python/dnspython[${PYTHON_USEDEP}]
117 -"
118 -# tests/mysqld.py does not like MariaDB version strings.
119 -# See the regex MySQLServerBase._get_version.
120 -DEPEND="${RDEPEND} test? ( dev-db/mysql[server(+)] )"
121 -
122 -# Tests currently fail.
123 -# mysql.connector.errors.DatabaseError: 1300 (HY000): Invalid utf8 character string: ''
124 -RESTRICT="test"
125 -
126 -DOCS=( README.txt CHANGES.txt README.rst )
127 -
128 -python_test() {
129 - "${EPYTHON}" unittests.py --with-mysql="${EPREFIX}/usr" --unix-socket="${T}" --mysql-topdir="${T}"
130 -}
131 -
132 -# Yeah, this is really broken, but the extension will only build this way during "install"
133 -python_install() {
134 - distutils-r1_python_install \
135 - --with-mysql-capi="${EPREFIX}/usr" \
136 - --with-protobuf-include-dir="${EPREFIX}/usr/include/google/protobuf/" \
137 - --with-protobuf-lib-dir="${EPREFIX}/usr/$(get_libdir)" \
138 - --with-protoc="${EPREFIX}/usr/bin/protoc"
139 -}
140 -
141 -python_install_all() {
142 - distutils-r1_python_install_all
143 - if use examples ; then
144 - dodoc -r examples
145 - fi
146 -}
147
148 diff --git a/dev-python/mysql-connector-python/mysql-connector-python-8.0.25.ebuild b/dev-python/mysql-connector-python/mysql-connector-python-8.0.25.ebuild
149 deleted file mode 100644
150 index cb3b42fdfd5..00000000000
151 --- a/dev-python/mysql-connector-python/mysql-connector-python-8.0.25.ebuild
152 +++ /dev/null
153 @@ -1,53 +0,0 @@
154 -# Copyright 1999-2021 Gentoo Authors
155 -# Distributed under the terms of the GNU General Public License v2
156 -
157 -EAPI=7
158 -
159 -PYTHON_COMPAT=( python3_{7,8,9} )
160 -inherit distutils-r1
161 -
162 -DESCRIPTION="Python client library for MariaDB/MySQL"
163 -HOMEPAGE="https://dev.mysql.com/downloads/connector/python/"
164 -SRC_URI="https://github.com/mysql/mysql-connector-python/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
165 -
166 -KEYWORDS="amd64 arm x86"
167 -LICENSE="GPL-2"
168 -SLOT="0"
169 -IUSE="examples test"
170 -
171 -BDEPEND=">=dev-libs/protobuf-3.6.1"
172 -
173 -RDEPEND="
174 - >=dev-db/mysql-connector-c-8.0
175 - >=dev-python/protobuf-python-3.6.1[${PYTHON_USEDEP}]
176 - dev-python/dnspython[${PYTHON_USEDEP}]
177 -"
178 -# tests/mysqld.py does not like MariaDB version strings.
179 -# See the regex MySQLServerBase._get_version.
180 -DEPEND="${RDEPEND} test? ( dev-db/mysql[server(+)] )"
181 -
182 -# Tests currently fail.
183 -# mysql.connector.errors.DatabaseError: 1300 (HY000): Invalid utf8 character string: ''
184 -RESTRICT="test"
185 -
186 -DOCS=( README.txt CHANGES.txt README.rst )
187 -
188 -python_test() {
189 - "${EPYTHON}" unittests.py --with-mysql="${EPREFIX}/usr" --unix-socket="${T}" --mysql-topdir="${T}"
190 -}
191 -
192 -# Yeah, this is really broken, but the extension will only build this way during "install"
193 -python_install() {
194 - distutils-r1_python_install \
195 - --with-mysql-capi="${EPREFIX}/usr" \
196 - --with-protobuf-include-dir="${EPREFIX}/usr/include/google/protobuf/" \
197 - --with-protobuf-lib-dir="${EPREFIX}/usr/$(get_libdir)" \
198 - --with-protoc="${EPREFIX}/usr/bin/protoc"
199 -}
200 -
201 -python_install_all() {
202 - distutils-r1_python_install_all
203 - if use examples ; then
204 - dodoc -r examples
205 - fi
206 -}