summaryrefslogtreecommitdiff
path: root/dev-python/mysqlclient
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-24 21:52:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-24 21:52:33 +0100
commit27ddeb821d437a2d848d9fa85a30f88f48fb52a6 (patch)
treeff7929a09cd2ebf0d87cf6970bfa9168dc4bcb07 /dev-python/mysqlclient
parentc7a2fa9581ac6df998adac5277043bb8014861fb (diff)
gentoo auto-resync : 24:08:2023 - 21:52:33
Diffstat (limited to 'dev-python/mysqlclient')
-rw-r--r--dev-python/mysqlclient/Manifest4
-rw-r--r--dev-python/mysqlclient/mysqlclient-2.1.1.ebuild91
-rw-r--r--dev-python/mysqlclient/mysqlclient-2.2.0.ebuild2
3 files changed, 2 insertions, 95 deletions
diff --git a/dev-python/mysqlclient/Manifest b/dev-python/mysqlclient/Manifest
index 0bda834abce0..18abe9620f20 100644
--- a/dev-python/mysqlclient/Manifest
+++ b/dev-python/mysqlclient/Manifest
@@ -1,5 +1,3 @@
-DIST mysqlclient-2.1.1.tar.gz 88138 BLAKE2B fdd044f2703af874dc0ca67b2fe07fcac3ceed5a4543aa15a0daa852ddf5ad6940a43675c0f104d9aa173e96da946e33054e1cc4c1b9812487558af64cc8fd43 SHA512 d8aed044b651aabb8d28d2df085f84e4d824ef0f147216d111425a9c8024f55634236ec131debf46660084c5a8fd67c944db60ffbf89e1d712cdca80c0726a06
DIST mysqlclient-2.2.0.tar.gz 89543 BLAKE2B 1e75d37825b81300103d980174d12986d7d02fa2f958ebbdb3d8a2ecea498a8afd9f43c2e3d46a88109364bc0ba172f91c7d5853ed4bd173ef34bc451d31c7b3 SHA512 c392bfc173c2a2e20821b862c3f23621bcd0c20884f58623c345921aaa4f0557b3f75e75e5577a0df150adf119ec008af5ad1fcbfe11248d73918c0a211e8df9
-EBUILD mysqlclient-2.1.1.ebuild 1886 BLAKE2B b1d3683885ef942afe95e41f74e3976b606225252268864c2f7074f9bfbf78d0723ad345b02cefdd5511e77d857c62b183e54e393fe002c4168b9a01bd199413 SHA512 adfbded1b4462e38032b968ef3bd82079a01245f00b6998bd84d7edc3905831beb9a5e7fd65c1fcac836bdcd822ba9f17002462c614d61add7ac794669536276
-EBUILD mysqlclient-2.2.0.ebuild 1887 BLAKE2B 365ca3d11e7c7ad6821ae0d35052f4a19e3c626b448447ceb665a6264599cf4ecf93eb7dd7169cdbd3fef68a97f110bbcd64aa1aa6ce7d020af9f96b058ae93f SHA512 7261983e5f0f81db46b5081169234aa4cb3dc2040e53acc0b2a9f1ab717efc1621195a931f46f6913ec9922c9a51cde4d8d760e0010b2f4d5daf58ee62802bae
+EBUILD mysqlclient-2.2.0.ebuild 1886 BLAKE2B b1d3683885ef942afe95e41f74e3976b606225252268864c2f7074f9bfbf78d0723ad345b02cefdd5511e77d857c62b183e54e393fe002c4168b9a01bd199413 SHA512 adfbded1b4462e38032b968ef3bd82079a01245f00b6998bd84d7edc3905831beb9a5e7fd65c1fcac836bdcd822ba9f17002462c614d61add7ac794669536276
MISC metadata.xml 507 BLAKE2B 3c274117dde5aed93bb78488b1c106ea9b18243725d88867e6b568a09229d97bc35a1116d8a529c5c72cabcb9feb33de8157448cf3d339dbf1861d8a9ff2c1d6 SHA512 4304ae4addf93365b2acfd493a27a0144bfe0dd2d559a3fce73f52d0d1683c84b1597c9d11f36b332b6428523fd8082297ab39ce000d961ccdf39d92833828ac
diff --git a/dev-python/mysqlclient/mysqlclient-2.1.1.ebuild b/dev-python/mysqlclient/mysqlclient-2.1.1.ebuild
deleted file mode 100644
index 9ee4b0571cc4..000000000000
--- a/dev-python/mysqlclient/mysqlclient-2.1.1.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Python interface to MySQL"
-HOMEPAGE="
- https://pypi.org/project/mysqlclient/
- https://github.com/PyMySQL/mysqlclient/
-"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
-
-DEPEND="
- dev-db/mysql-connector-c:0=
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- test? (
- dev-db/mariadb[server]
- )
-"
-
-distutils_enable_sphinx doc
-distutils_enable_tests pytest
-
-src_test() {
- local datadir="${T}/mysql" \
- install_log="${T}/mysqld_install.log" \
- pidfile="${T}/mysqld.pid" \
- socket="${T}/mysqld.sock" \
- log="${T}/mysqld.log"
- einfo "Creating test MySQL instance ..."
- if ! mysql_install_db \
- --no-defaults \
- --auth-root-authentication-method=normal \
- --basedir="${EPREFIX}/usr" \
- --datadir="${datadir}" >& "${install_log}"
- then
- cat "${install_log}"
- die "Failed to create database"
- fi
-
- einfo "Starting test MySQL instance ..."
- mysqld \
- --no-defaults \
- --character-set-server=utf8 \
- --pid-file="${pidfile}" \
- --socket="${socket}" \
- --skip-networking \
- --datadir="${datadir}" >& "${log}" &
-
- local i timeout=10
- einfo "Waiting for MySQL to start for up to ${timeout} seconds ..."
- for i in seq 1 ${timeout}; do
- [[ -S "${socket}" ]] && break
- sleep 1
- done
- if [[ ! -S "${socket}" ]]; then
- cat "${log}"
- die "MySQL failed to start in ${timeout} seconds"
- fi
-
- cat > "${T}/mysql.cnf" <<- EOF
- [MySQLdb-tests]
- socket = ${socket}
- user = root
- database = test
- EOF
-
- distutils-r1_src_test
-
- einfo "Stopping test MySQL instance ..."
- pkill -F "${pidfile}" &>/dev/null
-}
-
-python_test() {
- local -x TESTDB="${T}/mysql.cnf"
- rm -rf MySQLdb || die
- epytest
-}
diff --git a/dev-python/mysqlclient/mysqlclient-2.2.0.ebuild b/dev-python/mysqlclient/mysqlclient-2.2.0.ebuild
index 5bf005cb1ff6..9ee4b0571cc4 100644
--- a/dev-python/mysqlclient/mysqlclient-2.2.0.ebuild
+++ b/dev-python/mysqlclient/mysqlclient-2.2.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
DEPEND="
dev-db/mysql-connector-c:0=