Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mysql-connector-python/, profiles/
Date: Wed, 06 Jul 2022 06:44:59
Message-Id: 1657089865.6f3d57bd257f399303f5fe151b3643546fd3bad9.sam@gentoo
1 commit: 6f3d57bd257f399303f5fe151b3643546fd3bad9
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 6 06:42:48 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 6 06:44:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f3d57bd
7
8 dev-python/mysql-connector-python: treeclean
9
10 Bug: https://bugs.gentoo.org/845756
11 Bug: https://bugs.gentoo.org/823695
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 dev-python/mysql-connector-python/Manifest | 1 -
15 dev-python/mysql-connector-python/metadata.xml | 15 ------
16 .../mysql-connector-python-8.0.27.ebuild | 53 ----------------------
17 profiles/package.mask | 8 ----
18 4 files changed, 77 deletions(-)
19
20 diff --git a/dev-python/mysql-connector-python/Manifest b/dev-python/mysql-connector-python/Manifest
21 deleted file mode 100644
22 index 4e385b662e1e..000000000000
23 --- a/dev-python/mysql-connector-python/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST mysql-connector-python-8.0.27.tar.gz 15202354 BLAKE2B dd9d3b931d88955af3e0d9ec1e12136dabc475ac45ed3d7d0fec42d6f966b38d69c1ee13a96f7173e4c8754656255279c5ab7e41cc5a31b3b7129b20cc617ba9 SHA512 3ba5beff16e743f7098e211cbde35bea7bc7451cf77c544b60beeebcb2c9724f3afd5ab6ff6f9d9809075f4cf29e42f40cd326be944408942d06d357f6a95a23
27
28 diff --git a/dev-python/mysql-connector-python/metadata.xml b/dev-python/mysql-connector-python/metadata.xml
29 deleted file mode 100644
30 index ae606b86ebb4..000000000000
31 --- a/dev-python/mysql-connector-python/metadata.xml
32 +++ /dev/null
33 @@ -1,15 +0,0 @@
34 -<?xml version="1.0" encoding="UTF-8"?>
35 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
36 -<pkgmetadata>
37 - <maintainer type="project">
38 - <email>mysql-bugs@g.o</email>
39 - <name>MySQL</name>
40 - </maintainer>
41 - <maintainer type="project">
42 - <email>python@g.o</email>
43 - <name>Python</name>
44 - </maintainer>
45 - <upstream>
46 - <remote-id type="pypi">mysql-connector-python</remote-id>
47 - </upstream>
48 -</pkgmetadata>
49
50 diff --git a/dev-python/mysql-connector-python/mysql-connector-python-8.0.27.ebuild b/dev-python/mysql-connector-python/mysql-connector-python-8.0.27.ebuild
51 deleted file mode 100644
52 index cb3b42fdfd51..000000000000
53 --- a/dev-python/mysql-connector-python/mysql-connector-python-8.0.27.ebuild
54 +++ /dev/null
55 @@ -1,53 +0,0 @@
56 -# Copyright 1999-2021 Gentoo Authors
57 -# Distributed under the terms of the GNU General Public License v2
58 -
59 -EAPI=7
60 -
61 -PYTHON_COMPAT=( python3_{7,8,9} )
62 -inherit distutils-r1
63 -
64 -DESCRIPTION="Python client library for MariaDB/MySQL"
65 -HOMEPAGE="https://dev.mysql.com/downloads/connector/python/"
66 -SRC_URI="https://github.com/mysql/mysql-connector-python/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
67 -
68 -KEYWORDS="amd64 arm x86"
69 -LICENSE="GPL-2"
70 -SLOT="0"
71 -IUSE="examples test"
72 -
73 -BDEPEND=">=dev-libs/protobuf-3.6.1"
74 -
75 -RDEPEND="
76 - >=dev-db/mysql-connector-c-8.0
77 - >=dev-python/protobuf-python-3.6.1[${PYTHON_USEDEP}]
78 - dev-python/dnspython[${PYTHON_USEDEP}]
79 -"
80 -# tests/mysqld.py does not like MariaDB version strings.
81 -# See the regex MySQLServerBase._get_version.
82 -DEPEND="${RDEPEND} test? ( dev-db/mysql[server(+)] )"
83 -
84 -# Tests currently fail.
85 -# mysql.connector.errors.DatabaseError: 1300 (HY000): Invalid utf8 character string: ''
86 -RESTRICT="test"
87 -
88 -DOCS=( README.txt CHANGES.txt README.rst )
89 -
90 -python_test() {
91 - "${EPYTHON}" unittests.py --with-mysql="${EPREFIX}/usr" --unix-socket="${T}" --mysql-topdir="${T}"
92 -}
93 -
94 -# Yeah, this is really broken, but the extension will only build this way during "install"
95 -python_install() {
96 - distutils-r1_python_install \
97 - --with-mysql-capi="${EPREFIX}/usr" \
98 - --with-protobuf-include-dir="${EPREFIX}/usr/include/google/protobuf/" \
99 - --with-protobuf-lib-dir="${EPREFIX}/usr/$(get_libdir)" \
100 - --with-protoc="${EPREFIX}/usr/bin/protoc"
101 -}
102 -
103 -python_install_all() {
104 - distutils-r1_python_install_all
105 - if use examples ; then
106 - dodoc -r examples
107 - fi
108 -}
109
110 diff --git a/profiles/package.mask b/profiles/package.mask
111 index e9abada55439..e0a36ad11047 100644
112 --- a/profiles/package.mask
113 +++ b/profiles/package.mask
114 @@ -259,14 +259,6 @@ dev-python/pytest-flakes
115 # Removal on 2022-07-05. Bug #849824.
116 dev-python/polygon
117
118 -# Michał Górny <mgorny@g.o> (2022-06-05)
119 -# Pending bump since January. No Python 3.10 compat. Tests restricted.
120 -# Uses PEP517-incompatible hacks to build. Hard requires dev-db/mysql
121 -# (and blocks dev-db/mariad). No revdeps in Gentoo.
122 -# Use dev-python/mysqlclient instead.
123 -# Removal on 2022-07-05. Bug #845756.
124 -dev-python/mysql-connector-python
125 -
126 # Matt Turner <mattst88@g.o> (2022-05-30)
127 # libwacom-2 broke ABI compatibility; reverse dependencies need to be updated.
128 # Bug #848501