* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2015-10-19 16:29 Justin Lecher
0 siblings, 0 replies; 54+ messages in thread
From: Justin Lecher @ 2015-10-19 16:29 UTC (permalink / raw
To: gentoo-commits
commit: 080ba3e574d2602a921b3c2259da65427accfb3e
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 19 15:26:43 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Oct 19 16:29:11 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=080ba3e5
dev-python/pymysql: Version Bump
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-0.6.7.ebuild | 32 ++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index c83643c..b42ac46 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,2 +1,3 @@
DIST pymysql-0.6.3.tar.gz 52877 SHA256 eeb9772521cd08132885a283ba885dce5929994daf4953eb27a5ebde6f353143 SHA512 5dfe41039e703d2feb53b25db45a0541929bf52a2fe7b8f06b1dd3ff71118b99808b6d299f52073aaab779cddcd9858a51d59f23f1983e4f200d672caee5e624 WHIRLPOOL 0c0c6dd747200f2dbdde35767bb53177cdfbeae1d3623f6f1329c5030cfb89650c627cc73f2bf7039da96d3cb1e3b285ab304b5d12cc8806bcc5ef703ca06bd0
DIST pymysql-0.6.6.tar.gz 58118 SHA256 613073e7b0ede054620e5863cb0e461a13abc0f2f00b894a5f4d6de104b8dc2b SHA512 c09fc9801132243708cab18b7e4e1e9ed706579c6a08a51867bec41d27af41b1c19e33290206cf881153d81f42e5a9ba0871ad472abcc90a818a14f9413a5de6 WHIRLPOOL 0d90a574ed194420da938246c1037abfac2e1e344a5886a91444236425e6f05d84f8027b2706b7548e50646cfd95e00ab3ed5aa85464a8a0a1b8c5ec3c1fedc7
+DIST pymysql-0.6.7.tar.gz 63485 SHA256 e0e0e0bd417993b9d455733630557d36f58e1fbf50788c61eb99d0d6e3e96a25 SHA512 8eabb4f870ad35b5437b6e2c773fe61ebecdeeb61187f008e515d40ebad0141cd929f894291ff85f50bd4fdc842e902afb7399fb8655b231443ac3ff49ed5d39 WHIRLPOOL 44e457c23a75c537ac2de283bf8a5a2cbfa9cbe0d8401aff992dd7ba1fb740a816647543703603f1e0073114a07fabaeee53e333ec21c17377de98cd8850d51d
diff --git a/dev-python/pymysql/pymysql-0.6.7.ebuild b/dev-python/pymysql/pymysql-0.6.7.ebuild
new file mode 100644
index 0000000..c0fc331
--- /dev/null
+++ b/dev-python/pymysql/pymysql-0.6.7.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+
+inherit distutils-r1
+
+MY_PN="PyMySQL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="http://www.pymysql.org/"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# While tests exist, they require an unsecure server to run without manual config file
+RESTRICT="test"
+
+python_test() {
+ ${PYTHON} runtests.py || die
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2016-09-04 6:46 Patrice Clement
0 siblings, 0 replies; 54+ messages in thread
From: Patrice Clement @ 2016-09-04 6:46 UTC (permalink / raw
To: gentoo-commits
commit: cd83898b0fb1834d82666013b2b90ec09b9a14d8
Author: Wim Muskee <wimmuskee <AT> gmail <DOT> com>
AuthorDate: Sat Sep 3 07:23:16 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Sep 4 06:45:00 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd83898b
dev-python/pymysql: update HOMEPAGE.
Closes: https://github.com/gentoo/gentoo/pull/2195
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-python/pymysql/pymysql-0.6.3.ebuild | 2 +-
dev-python/pymysql/pymysql-0.6.6.ebuild | 2 +-
dev-python/pymysql/pymysql-0.6.7.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-python/pymysql/pymysql-0.6.3.ebuild b/dev-python/pymysql/pymysql-0.6.3.ebuild
index 12e24a0..a44468a 100644
--- a/dev-python/pymysql/pymysql-0.6.3.ebuild
+++ b/dev-python/pymysql/pymysql-0.6.3.ebuild
@@ -10,7 +10,7 @@ inherit distutils-r1
MY_PN="PyMySQL"
DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="http://www.pymysql.org/"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${P}.tar.gz"
LICENSE="MIT"
diff --git a/dev-python/pymysql/pymysql-0.6.6.ebuild b/dev-python/pymysql/pymysql-0.6.6.ebuild
index 2854680..2bdd5a6 100644
--- a/dev-python/pymysql/pymysql-0.6.6.ebuild
+++ b/dev-python/pymysql/pymysql-0.6.6.ebuild
@@ -10,7 +10,7 @@ inherit distutils-r1
MY_PN="PyMySQL"
DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="http://www.pymysql.org/"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${P}.tar.gz"
LICENSE="MIT"
diff --git a/dev-python/pymysql/pymysql-0.6.7.ebuild b/dev-python/pymysql/pymysql-0.6.7.ebuild
index c0fc331..8c4a45a 100644
--- a/dev-python/pymysql/pymysql-0.6.7.ebuild
+++ b/dev-python/pymysql/pymysql-0.6.7.ebuild
@@ -12,7 +12,7 @@ MY_PN="PyMySQL"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="http://www.pymysql.org/"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2017-01-26 20:27 Brian Evans
0 siblings, 0 replies; 54+ messages in thread
From: Brian Evans @ 2017-01-26 20:27 UTC (permalink / raw
To: gentoo-commits
commit: bc97ce4c04c525239dddb326803c1f652b06f4bb
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 20:25:23 2017 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 20:25:23 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc97ce4c
dev-python/pymysql: Version bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-0.7.9.ebuild | 32 ++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 3edb1ec..744e6ad 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -2,3 +2,4 @@ DIST pymysql-0.6.3.tar.gz 52877 SHA256 eeb9772521cd08132885a283ba885dce5929994da
DIST pymysql-0.6.6.tar.gz 58118 SHA256 613073e7b0ede054620e5863cb0e461a13abc0f2f00b894a5f4d6de104b8dc2b SHA512 c09fc9801132243708cab18b7e4e1e9ed706579c6a08a51867bec41d27af41b1c19e33290206cf881153d81f42e5a9ba0871ad472abcc90a818a14f9413a5de6 WHIRLPOOL 0d90a574ed194420da938246c1037abfac2e1e344a5886a91444236425e6f05d84f8027b2706b7548e50646cfd95e00ab3ed5aa85464a8a0a1b8c5ec3c1fedc7
DIST pymysql-0.6.7.tar.gz 63485 SHA256 e0e0e0bd417993b9d455733630557d36f58e1fbf50788c61eb99d0d6e3e96a25 SHA512 8eabb4f870ad35b5437b6e2c773fe61ebecdeeb61187f008e515d40ebad0141cd929f894291ff85f50bd4fdc842e902afb7399fb8655b231443ac3ff49ed5d39 WHIRLPOOL 44e457c23a75c537ac2de283bf8a5a2cbfa9cbe0d8401aff992dd7ba1fb740a816647543703603f1e0073114a07fabaeee53e333ec21c17377de98cd8850d51d
DIST pymysql-0.7.6.tar.gz 81842 SHA256 eb5fd3ef7a0d18a705d00ceb07e6d18653bd8042055181442bfb16231e7505e6 SHA512 02efa79253c9aaf631d77ab7d7acffb96e81d96cea781dd7c80a268f13098e3f2d538db1161417dcd96d0e3a19edf7ff888e791e4a332b1edd9edf2ff9f2de36 WHIRLPOOL e614487700867813921b1c142ac0b6595e8071a7d160e7024b66c876095b5b9c0386c4f6e5d04689f4ba1716f86eeb0351404fe5152efd6bbd4a2eb6e343721a
+DIST pymysql-0.7.9.tar.gz 82247 SHA256 633dca5fc32c0aadb2b43b85b07d0315ecdff9bc85d0e29bb623c863e2478bc9 SHA512 3d1496e33ca7755440219be96f70289ce5f117311dd3f9963e1f8441d0297ee047dd779ceab9c99b7822564fb698c09629153b84a1201ac06a745d42d12513f0 WHIRLPOOL 09c3b0e7fa9fd404d842f22a291bdca936a9fd197331d237a6217e209b52bfc9f93121e017e493f2864869d82d9d7d4a14cd2f53e1c5bd73d44537cc24ac0d37
diff --git a/dev-python/pymysql/pymysql-0.7.9.ebuild b/dev-python/pymysql/pymysql-0.7.9.ebuild
new file mode 100644
index 00000000..449be5d
--- /dev/null
+++ b/dev-python/pymysql/pymysql-0.7.9.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
+
+inherit distutils-r1
+
+MY_PN="PyMySQL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# While tests exist, they require an unsecure server to run without manual config file
+RESTRICT="test"
+
+python_test() {
+ ${PYTHON} runtests.py || die
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2017-03-10 21:58 Zac Medico
0 siblings, 0 replies; 54+ messages in thread
From: Zac Medico @ 2017-03-10 21:58 UTC (permalink / raw
To: gentoo-commits
commit: d37a6831a92c2d94aef7dd06196e3634e88f5ebb
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 10 21:57:41 2017 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Mar 10 21:58:20 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d37a6831
dev-python/pymysql: Add python3_6 to PYTHON_COMPAT
Package-Manager: Portage-2.3.4, Repoman-2.3.2
dev-python/pymysql/pymysql-0.7.6.ebuild | 4 ++--
dev-python/pymysql/pymysql-0.7.9.ebuild | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-python/pymysql/pymysql-0.7.6.ebuild b/dev-python/pymysql/pymysql-0.7.6.ebuild
index 2a8bdd7aca3..ed7664dbf5d 100644
--- a/dev-python/pymysql/pymysql-0.7.6.ebuild
+++ b/dev-python/pymysql/pymysql-0.7.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
inherit distutils-r1
diff --git a/dev-python/pymysql/pymysql-0.7.9.ebuild b/dev-python/pymysql/pymysql-0.7.9.ebuild
index 6ff7a666726..e67fe919bd7 100644
--- a/dev-python/pymysql/pymysql-0.7.9.ebuild
+++ b/dev-python/pymysql/pymysql-0.7.9.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
inherit distutils-r1
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2017-08-30 21:07 Matt Thode
0 siblings, 0 replies; 54+ messages in thread
From: Matt Thode @ 2017-08-30 21:07 UTC (permalink / raw
To: gentoo-commits
commit: 7a3902ca68e27b7d6c630e8fbf29adb28442967f
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 30 20:28:10 2017 +0000
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Aug 30 21:06:31 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a3902ca
dev-python/pymysql: 0.7.11 bup
Package-Manager: Portage-2.3.6, Repoman-2.3.3
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-0.7.11.ebuild | 31 +++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 5973b4caf48..edcfc59febf 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,2 +1,3 @@
+DIST pymysql-0.7.11.tar.gz 82213 SHA256 211cc8314663ceedba24df6ceec178945b42370a966f56ddf78c4767e40fe9f8 SHA512 b83fbbf77fad8e775ba48cf56f32deb61d2d54d64bd1f83e097c61d87b33a881787125c839b78f18b413722299c24a8a14dc9b36f5df7ff7f9c6ea56b2597150 WHIRLPOOL 527a41253415710b40a6dc9f55568d67c7d7c4931bfccb1a7f168273c120871db130115419f435d1ebe0857e65fd3d23a2d676a271a79ea2961929c90ab6ecee
DIST pymysql-0.7.6.tar.gz 81842 SHA256 eb5fd3ef7a0d18a705d00ceb07e6d18653bd8042055181442bfb16231e7505e6 SHA512 02efa79253c9aaf631d77ab7d7acffb96e81d96cea781dd7c80a268f13098e3f2d538db1161417dcd96d0e3a19edf7ff888e791e4a332b1edd9edf2ff9f2de36 WHIRLPOOL e614487700867813921b1c142ac0b6595e8071a7d160e7024b66c876095b5b9c0386c4f6e5d04689f4ba1716f86eeb0351404fe5152efd6bbd4a2eb6e343721a
DIST pymysql-0.7.9.tar.gz 82247 SHA256 633dca5fc32c0aadb2b43b85b07d0315ecdff9bc85d0e29bb623c863e2478bc9 SHA512 3d1496e33ca7755440219be96f70289ce5f117311dd3f9963e1f8441d0297ee047dd779ceab9c99b7822564fb698c09629153b84a1201ac06a745d42d12513f0 WHIRLPOOL 09c3b0e7fa9fd404d842f22a291bdca936a9fd197331d237a6217e209b52bfc9f93121e017e493f2864869d82d9d7d4a14cd2f53e1c5bd73d44537cc24ac0d37
diff --git a/dev-python/pymysql/pymysql-0.7.11.ebuild b/dev-python/pymysql/pymysql-0.7.11.ebuild
new file mode 100644
index 00000000000..61c8d34536a
--- /dev/null
+++ b/dev-python/pymysql/pymysql-0.7.11.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+MY_PN="PyMySQL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# While tests exist, they require an unsecure server to run without manual config file
+RESTRICT="test"
+
+python_test() {
+ ${PYTHON} runtests.py || die
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2017-09-29 23:32 Matt Thode
0 siblings, 0 replies; 54+ messages in thread
From: Matt Thode @ 2017-09-29 23:32 UTC (permalink / raw
To: gentoo-commits
commit: 72ddbeeb3a74cee40aeca34a32f79ad8914c50ba
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 29 23:32:11 2017 +0000
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Sep 29 23:32:11 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72ddbeeb
dev-python/pymysql: 0.7.11 stablized amd64 x86 under allarches
dev-python/pymysql/pymysql-0.7.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-0.7.11.ebuild b/dev-python/pymysql/pymysql-0.7.11.ebuild
index 61c8d34536a..c20e803e171 100644
--- a/dev-python/pymysql/pymysql-0.7.11.ebuild
+++ b/dev-python/pymysql/pymysql-0.7.11.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
S=${WORKDIR}/${MY_P}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2018-01-05 23:19 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2018-01-05 23:19 UTC (permalink / raw
To: gentoo-commits
commit: 403c38eec1bd458cd5090d5a905248f200cae2f7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 5 22:13:03 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 5 23:19:17 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=403c38ee
dev-python/pymysql: Clean old up
dev-python/pymysql/Manifest | 2 --
dev-python/pymysql/pymysql-0.7.6.ebuild | 31 -------------------------------
dev-python/pymysql/pymysql-0.7.9.ebuild | 31 -------------------------------
3 files changed, 64 deletions(-)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 5f51c02d12e..70c13e6afe9 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,3 +1 @@
DIST pymysql-0.7.11.tar.gz 82213 BLAKE2B 45ef3b4c8f4d9a9d3cb5b706f68a52b860bc21298b9fb7d983ea3fc6910c5a53e9e963a712735f93588501ff7297a2f10a74b44965eab4554a554a4a9f0e2b0e SHA512 b83fbbf77fad8e775ba48cf56f32deb61d2d54d64bd1f83e097c61d87b33a881787125c839b78f18b413722299c24a8a14dc9b36f5df7ff7f9c6ea56b2597150
-DIST pymysql-0.7.6.tar.gz 81842 BLAKE2B 94c2808b92458feb6abe5dfad69d61b5781a15619a9635043fcd1b35f494d1fcec2cfa87ceec9a47e6bccb1304da560ebb26c67554d2760f3efa39ae2c1e0ac4 SHA512 02efa79253c9aaf631d77ab7d7acffb96e81d96cea781dd7c80a268f13098e3f2d538db1161417dcd96d0e3a19edf7ff888e791e4a332b1edd9edf2ff9f2de36
-DIST pymysql-0.7.9.tar.gz 82247 BLAKE2B 5ad67a4c3c2faa623f6051f2fb0d7180cacd9fa8b44c7ca18964c3b80adb9f837ea1775192eaf3ed1e4c2c1857fc17dae4cf0f8c91ba4444c2782c47865cd1c9 SHA512 3d1496e33ca7755440219be96f70289ce5f117311dd3f9963e1f8441d0297ee047dd779ceab9c99b7822564fb698c09629153b84a1201ac06a745d42d12513f0
diff --git a/dev-python/pymysql/pymysql-0.7.6.ebuild b/dev-python/pymysql/pymysql-0.7.6.ebuild
deleted file mode 100644
index ed7664dbf5d..00000000000
--- a/dev-python/pymysql/pymysql-0.7.6.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
-
-inherit distutils-r1
-
-MY_PN="PyMySQL"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-IUSE="test"
-
-S=${WORKDIR}/${MY_P}
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-# While tests exist, they require an unsecure server to run without manual config file
-RESTRICT="test"
-
-python_test() {
- ${PYTHON} runtests.py || die
-}
diff --git a/dev-python/pymysql/pymysql-0.7.9.ebuild b/dev-python/pymysql/pymysql-0.7.9.ebuild
deleted file mode 100644
index e67fe919bd7..00000000000
--- a/dev-python/pymysql/pymysql-0.7.9.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
-
-inherit distutils-r1
-
-MY_PN="PyMySQL"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-
-S=${WORKDIR}/${MY_P}
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-# While tests exist, they require an unsecure server to run without manual config file
-RESTRICT="test"
-
-python_test() {
- ${PYTHON} runtests.py || die
-}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2018-02-22 21:23 Thomas Deutschmann
0 siblings, 0 replies; 54+ messages in thread
From: Thomas Deutschmann @ 2018-02-22 21:23 UTC (permalink / raw
To: gentoo-commits
commit: 953e5e41ad1bea2a7780e4866d7afa19d567a888
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 22 21:22:58 2018 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Feb 22 21:22:58 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=953e5e41
dev-python/pymysql: Bump to v0.8.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-0.8.0.ebuild | 31 +++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 70c13e6afe9..fa5aa52be68 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1 +1,2 @@
DIST pymysql-0.7.11.tar.gz 82213 BLAKE2B 45ef3b4c8f4d9a9d3cb5b706f68a52b860bc21298b9fb7d983ea3fc6910c5a53e9e963a712735f93588501ff7297a2f10a74b44965eab4554a554a4a9f0e2b0e SHA512 b83fbbf77fad8e775ba48cf56f32deb61d2d54d64bd1f83e097c61d87b33a881787125c839b78f18b413722299c24a8a14dc9b36f5df7ff7f9c6ea56b2597150
+DIST pymysql-0.8.0.tar.gz 82975 BLAKE2B c1345ff6d266d5a3670d8bb1d7d7becad218ed294ab912f3f28e49163851e2e36fc1bb5a13a5d0f62ba753d264f736a6a87e11d290cc4fd604714fe1d4f9569d SHA512 41597d3955a35283656b5cbc137b0cb63eb48658dc61f0ba1fc0c207bad07472896e557b2996e52fbc2646163bce69e7d2fed81349355e72368cf395f51e2916
diff --git a/dev-python/pymysql/pymysql-0.8.0.ebuild b/dev-python/pymysql/pymysql-0.8.0.ebuild
new file mode 100644
index 00000000000..69f4ea52edf
--- /dev/null
+++ b/dev-python/pymysql/pymysql-0.8.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+MY_PN="PyMySQL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# While tests exist, they require an unsecure server to run without manual config file
+RESTRICT="test"
+
+python_test() {
+ ${PYTHON} runtests.py || die
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2018-06-09 17:09 Thomas Deutschmann
0 siblings, 0 replies; 54+ messages in thread
From: Thomas Deutschmann @ 2018-06-09 17:09 UTC (permalink / raw
To: gentoo-commits
commit: f50c230499a3fe5875f3fe726a3453747abdf88e
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 9 17:09:11 2018 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Jun 9 17:09:11 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f50c2304
dev-python/pymysql: bump to v0.8.1
Package-Manager: Portage-2.3.40, Repoman-2.3.9
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-0.8.1.ebuild | 31 +++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index fa5aa52be68..19819261306 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,2 +1,3 @@
DIST pymysql-0.7.11.tar.gz 82213 BLAKE2B 45ef3b4c8f4d9a9d3cb5b706f68a52b860bc21298b9fb7d983ea3fc6910c5a53e9e963a712735f93588501ff7297a2f10a74b44965eab4554a554a4a9f0e2b0e SHA512 b83fbbf77fad8e775ba48cf56f32deb61d2d54d64bd1f83e097c61d87b33a881787125c839b78f18b413722299c24a8a14dc9b36f5df7ff7f9c6ea56b2597150
DIST pymysql-0.8.0.tar.gz 82975 BLAKE2B c1345ff6d266d5a3670d8bb1d7d7becad218ed294ab912f3f28e49163851e2e36fc1bb5a13a5d0f62ba753d264f736a6a87e11d290cc4fd604714fe1d4f9569d SHA512 41597d3955a35283656b5cbc137b0cb63eb48658dc61f0ba1fc0c207bad07472896e557b2996e52fbc2646163bce69e7d2fed81349355e72368cf395f51e2916
+DIST pymysql-0.8.1.tar.gz 83887 BLAKE2B 0181970d714d45db644636b57105bba1ea8d8d3ded537555ab1ae5afdc0cad308dbdfe6a67c50905ba1a2ea8cd5302bac8f997f64f0b6874436e4b90a3ea8a78 SHA512 0a58bb6a74281aaec5d23c4e59407ff1d7f3fd379285a21a39f14ad18008303d79aa87b99ebfe2536775f8b369875b15907ae6653d038a2d44589cf47ac0a2b9
diff --git a/dev-python/pymysql/pymysql-0.8.1.ebuild b/dev-python/pymysql/pymysql-0.8.1.ebuild
new file mode 100644
index 00000000000..69f4ea52edf
--- /dev/null
+++ b/dev-python/pymysql/pymysql-0.8.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+MY_PN="PyMySQL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# While tests exist, they require an unsecure server to run without manual config file
+RESTRICT="test"
+
+python_test() {
+ ${PYTHON} runtests.py || die
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2018-09-11 19:13 Brian Evans
0 siblings, 0 replies; 54+ messages in thread
From: Brian Evans @ 2018-09-11 19:13 UTC (permalink / raw
To: gentoo-commits
commit: e1b7d4c34522e86d3bd55c5aeab4d780c5495a60
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 11 17:35:50 2018 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Tue Sep 11 19:13:27 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b7d4c3
dev-python/pymysql: Version bump for 0.9.2
Package-Manager: Portage-2.3.49, Repoman-2.3.10
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-0.9.2.ebuild | 31 +++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 19819261306..8632466da12 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,3 +1,4 @@
DIST pymysql-0.7.11.tar.gz 82213 BLAKE2B 45ef3b4c8f4d9a9d3cb5b706f68a52b860bc21298b9fb7d983ea3fc6910c5a53e9e963a712735f93588501ff7297a2f10a74b44965eab4554a554a4a9f0e2b0e SHA512 b83fbbf77fad8e775ba48cf56f32deb61d2d54d64bd1f83e097c61d87b33a881787125c839b78f18b413722299c24a8a14dc9b36f5df7ff7f9c6ea56b2597150
DIST pymysql-0.8.0.tar.gz 82975 BLAKE2B c1345ff6d266d5a3670d8bb1d7d7becad218ed294ab912f3f28e49163851e2e36fc1bb5a13a5d0f62ba753d264f736a6a87e11d290cc4fd604714fe1d4f9569d SHA512 41597d3955a35283656b5cbc137b0cb63eb48658dc61f0ba1fc0c207bad07472896e557b2996e52fbc2646163bce69e7d2fed81349355e72368cf395f51e2916
DIST pymysql-0.8.1.tar.gz 83887 BLAKE2B 0181970d714d45db644636b57105bba1ea8d8d3ded537555ab1ae5afdc0cad308dbdfe6a67c50905ba1a2ea8cd5302bac8f997f64f0b6874436e4b90a3ea8a78 SHA512 0a58bb6a74281aaec5d23c4e59407ff1d7f3fd379285a21a39f14ad18008303d79aa87b99ebfe2536775f8b369875b15907ae6653d038a2d44589cf47ac0a2b9
+DIST pymysql-0.9.2.tar.gz 86913 BLAKE2B fc1cd695a75c9f52c4da231f7caae58f902002f38a39a1702f19d23b46bdb1a4753aea98d90e051ec56a5721999149a13b028e1614efdfcac23c76c8382a8d33 SHA512 110306477c167d0b497700b7b22c186c001c803800975b4b4e26e98116f47589b0a4bb7e02d502a62beed6d7dc1ae3fe8a817824c1f3a5caee0898b5f5d21734
diff --git a/dev-python/pymysql/pymysql-0.9.2.ebuild b/dev-python/pymysql/pymysql-0.9.2.ebuild
new file mode 100644
index 00000000000..ac94dd44bcf
--- /dev/null
+++ b/dev-python/pymysql/pymysql-0.9.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
+
+inherit distutils-r1
+
+MY_PN="PyMySQL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# While tests exist, they require an unsecure server to run without manual config file
+RESTRICT="test"
+
+python_test() {
+ ${PYTHON} runtests.py || die
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2019-01-16 13:33 Thomas Deutschmann
0 siblings, 0 replies; 54+ messages in thread
From: Thomas Deutschmann @ 2019-01-16 13:33 UTC (permalink / raw
To: gentoo-commits
commit: ea2197a1f8c50e5ba2ea0fd451ed83c1d5178521
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 16 13:33:18 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Jan 16 13:33:46 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea2197a1
dev-python/pymysql: bump to v0.9.3
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-0.9.3.ebuild | 31 +++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 8632466da12..193e1c857c9 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -2,3 +2,4 @@ DIST pymysql-0.7.11.tar.gz 82213 BLAKE2B 45ef3b4c8f4d9a9d3cb5b706f68a52b860bc212
DIST pymysql-0.8.0.tar.gz 82975 BLAKE2B c1345ff6d266d5a3670d8bb1d7d7becad218ed294ab912f3f28e49163851e2e36fc1bb5a13a5d0f62ba753d264f736a6a87e11d290cc4fd604714fe1d4f9569d SHA512 41597d3955a35283656b5cbc137b0cb63eb48658dc61f0ba1fc0c207bad07472896e557b2996e52fbc2646163bce69e7d2fed81349355e72368cf395f51e2916
DIST pymysql-0.8.1.tar.gz 83887 BLAKE2B 0181970d714d45db644636b57105bba1ea8d8d3ded537555ab1ae5afdc0cad308dbdfe6a67c50905ba1a2ea8cd5302bac8f997f64f0b6874436e4b90a3ea8a78 SHA512 0a58bb6a74281aaec5d23c4e59407ff1d7f3fd379285a21a39f14ad18008303d79aa87b99ebfe2536775f8b369875b15907ae6653d038a2d44589cf47ac0a2b9
DIST pymysql-0.9.2.tar.gz 86913 BLAKE2B fc1cd695a75c9f52c4da231f7caae58f902002f38a39a1702f19d23b46bdb1a4753aea98d90e051ec56a5721999149a13b028e1614efdfcac23c76c8382a8d33 SHA512 110306477c167d0b497700b7b22c186c001c803800975b4b4e26e98116f47589b0a4bb7e02d502a62beed6d7dc1ae3fe8a817824c1f3a5caee0898b5f5d21734
+DIST pymysql-0.9.3.tar.gz 86715 BLAKE2B 0ed09f7f5c47bd1fae52dd9d0ff0790367962d8e4b89d3933704b8b8d838e1f48b68455a9a3916318bf3c1c1f102fa11b4e1e3401d021f8a2d6137612a4affb9 SHA512 d906b7a6612d91db7d4f7f2d85a9375477e6655c568e0d1e7281ad0263d4a78f0ac4e80263605723f99e12db04c80f51c5c8ed79ed6f209a7afeb4b45bf40648
diff --git a/dev-python/pymysql/pymysql-0.9.3.ebuild b/dev-python/pymysql/pymysql-0.9.3.ebuild
new file mode 100644
index 00000000000..ad3b57902a2
--- /dev/null
+++ b/dev-python/pymysql/pymysql-0.9.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
+
+inherit distutils-r1
+
+MY_PN="PyMySQL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# While tests exist, they require an unsecure server to run without manual config file
+RESTRICT="test"
+
+python_test() {
+ ${PYTHON} runtests.py || die
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2020-01-07 20:24 Brian Evans
0 siblings, 0 replies; 54+ messages in thread
From: Brian Evans @ 2020-01-07 20:24 UTC (permalink / raw
To: gentoo-commits
commit: 1868f70054eedc2f75d23bc92e96978e9521a24f
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 7 20:22:26 2020 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Tue Jan 7 20:23:31 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1868f700
dev-python/pymysql: Drop old
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
dev-python/pymysql/Manifest | 4 ----
dev-python/pymysql/pymysql-0.7.11.ebuild | 31 -------------------------------
dev-python/pymysql/pymysql-0.8.0.ebuild | 31 -------------------------------
dev-python/pymysql/pymysql-0.8.1.ebuild | 31 -------------------------------
dev-python/pymysql/pymysql-0.9.2.ebuild | 31 -------------------------------
5 files changed, 128 deletions(-)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 193e1c857c9..d36aed3393e 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,5 +1 @@
-DIST pymysql-0.7.11.tar.gz 82213 BLAKE2B 45ef3b4c8f4d9a9d3cb5b706f68a52b860bc21298b9fb7d983ea3fc6910c5a53e9e963a712735f93588501ff7297a2f10a74b44965eab4554a554a4a9f0e2b0e SHA512 b83fbbf77fad8e775ba48cf56f32deb61d2d54d64bd1f83e097c61d87b33a881787125c839b78f18b413722299c24a8a14dc9b36f5df7ff7f9c6ea56b2597150
-DIST pymysql-0.8.0.tar.gz 82975 BLAKE2B c1345ff6d266d5a3670d8bb1d7d7becad218ed294ab912f3f28e49163851e2e36fc1bb5a13a5d0f62ba753d264f736a6a87e11d290cc4fd604714fe1d4f9569d SHA512 41597d3955a35283656b5cbc137b0cb63eb48658dc61f0ba1fc0c207bad07472896e557b2996e52fbc2646163bce69e7d2fed81349355e72368cf395f51e2916
-DIST pymysql-0.8.1.tar.gz 83887 BLAKE2B 0181970d714d45db644636b57105bba1ea8d8d3ded537555ab1ae5afdc0cad308dbdfe6a67c50905ba1a2ea8cd5302bac8f997f64f0b6874436e4b90a3ea8a78 SHA512 0a58bb6a74281aaec5d23c4e59407ff1d7f3fd379285a21a39f14ad18008303d79aa87b99ebfe2536775f8b369875b15907ae6653d038a2d44589cf47ac0a2b9
-DIST pymysql-0.9.2.tar.gz 86913 BLAKE2B fc1cd695a75c9f52c4da231f7caae58f902002f38a39a1702f19d23b46bdb1a4753aea98d90e051ec56a5721999149a13b028e1614efdfcac23c76c8382a8d33 SHA512 110306477c167d0b497700b7b22c186c001c803800975b4b4e26e98116f47589b0a4bb7e02d502a62beed6d7dc1ae3fe8a817824c1f3a5caee0898b5f5d21734
DIST pymysql-0.9.3.tar.gz 86715 BLAKE2B 0ed09f7f5c47bd1fae52dd9d0ff0790367962d8e4b89d3933704b8b8d838e1f48b68455a9a3916318bf3c1c1f102fa11b4e1e3401d021f8a2d6137612a4affb9 SHA512 d906b7a6612d91db7d4f7f2d85a9375477e6655c568e0d1e7281ad0263d4a78f0ac4e80263605723f99e12db04c80f51c5c8ed79ed6f209a7afeb4b45bf40648
diff --git a/dev-python/pymysql/pymysql-0.7.11.ebuild b/dev-python/pymysql/pymysql-0.7.11.ebuild
deleted file mode 100644
index 760e27575e2..00000000000
--- a/dev-python/pymysql/pymysql-0.7.11.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 )
-
-inherit distutils-r1
-
-MY_PN="PyMySQL"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-IUSE="test"
-
-S=${WORKDIR}/${MY_P}
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-# While tests exist, they require an unsecure server to run without manual config file
-RESTRICT="test"
-
-python_test() {
- ${PYTHON} runtests.py || die
-}
diff --git a/dev-python/pymysql/pymysql-0.8.0.ebuild b/dev-python/pymysql/pymysql-0.8.0.ebuild
deleted file mode 100644
index f0a32291f47..00000000000
--- a/dev-python/pymysql/pymysql-0.8.0.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 )
-
-inherit distutils-r1
-
-MY_PN="PyMySQL"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-
-S=${WORKDIR}/${MY_P}
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-# While tests exist, they require an unsecure server to run without manual config file
-RESTRICT="test"
-
-python_test() {
- ${PYTHON} runtests.py || die
-}
diff --git a/dev-python/pymysql/pymysql-0.8.1.ebuild b/dev-python/pymysql/pymysql-0.8.1.ebuild
deleted file mode 100644
index f0a32291f47..00000000000
--- a/dev-python/pymysql/pymysql-0.8.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 )
-
-inherit distutils-r1
-
-MY_PN="PyMySQL"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-
-S=${WORKDIR}/${MY_P}
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-# While tests exist, they require an unsecure server to run without manual config file
-RESTRICT="test"
-
-python_test() {
- ${PYTHON} runtests.py || die
-}
diff --git a/dev-python/pymysql/pymysql-0.9.2.ebuild b/dev-python/pymysql/pymysql-0.9.2.ebuild
deleted file mode 100644
index a87b177785d..00000000000
--- a/dev-python/pymysql/pymysql-0.9.2.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 )
-
-inherit distutils-r1
-
-MY_PN="PyMySQL"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-
-S=${WORKDIR}/${MY_P}
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-# While tests exist, they require an unsecure server to run without manual config file
-RESTRICT="test"
-
-python_test() {
- ${PYTHON} runtests.py || die
-}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2020-02-05 19:53 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2020-02-05 19:53 UTC (permalink / raw
To: gentoo-commits
commit: ad83f126f2c562f33641f89218373d4eb40c648d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 5 19:39:27 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 5 19:53:12 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad83f126
dev-python/pymysql: Remove py2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/pymysql-0.9.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-0.9.3.ebuild b/dev-python/pymysql/pymysql-0.9.3.ebuild
index 8a6ccbb8e50..1357da57d3c 100644
--- a/dev-python/pymysql/pymysql-0.9.3.ebuild
+++ b/dev-python/pymysql/pymysql-0.9.3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 )
+PYTHON_COMPAT=( python3_{6,7} pypy3 )
inherit distutils-r1
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2020-04-18 17:55 Craig Andrews
0 siblings, 0 replies; 54+ messages in thread
From: Craig Andrews @ 2020-04-18 17:55 UTC (permalink / raw
To: gentoo-commits
commit: ebb9af4ab6e625b9c37b4624031ad0315e8e17e6
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 18 17:36:05 2020 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sat Apr 18 17:55:14 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebb9af4a
dev-python/pymysql: Python 3.8 compatibility
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
dev-python/pymysql/pymysql-0.9.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-0.9.3.ebuild b/dev-python/pymysql/pymysql-0.9.3.ebuild
index 1357da57d3c..e0580ba4984 100644
--- a/dev-python/pymysql/pymysql-0.9.3.ebuild
+++ b/dev-python/pymysql/pymysql-0.9.3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} pypy3 )
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
inherit distutils-r1
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2020-06-11 20:33 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2020-06-11 20:33 UTC (permalink / raw
To: gentoo-commits
commit: 0e2e2731b6f02a900bf2ab99b03496c10e5da089
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 11 20:18:16 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 11 20:33:02 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2e2731
dev-python/pymysql: Enable tests
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/pymysql-0.9.3.ebuild | 55 ++++++++++++++++++++++++++++++---
1 file changed, 51 insertions(+), 4 deletions(-)
diff --git a/dev-python/pymysql/pymysql-0.9.3.ebuild b/dev-python/pymysql/pymysql-0.9.3.ebuild
index e0580ba4984..5ab0788a13a 100644
--- a/dev-python/pymysql/pymysql-0.9.3.ebuild
+++ b/dev-python/pymysql/pymysql-0.9.3.ebuild
@@ -13,18 +13,65 @@ MY_P="${MY_PN}-${PV}"
DESCRIPTION="Pure-Python MySQL Driver"
HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
-S=${WORKDIR}/${MY_P}
+# TODO: support other mysql variants
+BDEPEND="
+ test? ( dev-db/mariadb[server] )"
+
+src_prepare() {
+ find -name '*.py' -exec sed -i -e 's:unittest2:unittest:' {} + || die
+ distutils-r1_src_prepare
+}
+
+src_test() {
+ mkdir -p "${T}"/mysql || die
+ "${BROOT}"/usr/share/mariadb/scripts/mysql_install_db \
+ --no-defaults \
+ --auth-root-authentication-method=normal \
+ --basedir="${BROOT}/usr" \
+ --datadir="${T}"/mysql || die
+ # TODO: random port
+ mysqld \
+ --no-defaults \
+ --character-set-server=utf8 \
+ --bind-address=127.0.0.1 \
+ --port=3306 \
+ --socket="${T}"/mysqld.sock \
+ --datadir="${T}"/mysql &
+ local pid=${!}
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+ # wait for it to start
+ local i
+ for (( i = 0; i < 10; i++)); do
+ [[ -S ${T}/mysqld.sock ]] && break
+ sleep 1
+ done
+ [[ -S ${T}/mysqld.sock ]] || die "mysqld failed to start"
-# While tests exist, they require an unsecure server to run without manual config file
-RESTRICT="test"
+ # create test databases
+ mysql -uroot --socket="${T}"/mysqld.sock -e '
+ create database test1 DEFAULT CHARACTER SET utf8mb4;
+ create database test2 DEFAULT CHARACTER SET utf8mb4;
+
+ create user test2 identified by "some password";
+ grant all on test2.* to test2;
+
+ create user test2@localhost identified by "some password";
+ grant all on test2.* to test2@localhost;
+ ' || die
+
+ distutils-r1_src_test
+
+ kill "${pid}"
+ wait "${pid}"
+}
python_test() {
${PYTHON} runtests.py || die
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2020-06-11 20:33 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2020-06-11 20:33 UTC (permalink / raw
To: gentoo-commits
commit: fe0d77d7963a11725d789c0a420c28adbf3d33eb
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 11 20:19:29 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 11 20:33:03 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe0d77d7
dev-python/pymysql: Port to py3.9
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/pymysql-0.9.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-0.9.3.ebuild b/dev-python/pymysql/pymysql-0.9.3.ebuild
index 5ab0788a13a..2a4aa6e8160 100644
--- a/dev-python/pymysql/pymysql-0.9.3.ebuild
+++ b/dev-python/pymysql/pymysql-0.9.3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python3_{6..9} pypy3 )
inherit distutils-r1
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2020-06-11 20:33 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2020-06-11 20:33 UTC (permalink / raw
To: gentoo-commits
commit: 3e14281d40d45f7807852a3956b44a9949dbf0c3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 11 20:32:07 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 11 20:33:04 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e14281d
dev-python/pymysql: Use UNIX socket rather than TCP in tests
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/pymysql-0.9.3.ebuild | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-0.9.3.ebuild b/dev-python/pymysql/pymysql-0.9.3.ebuild
index 2a4aa6e8160..7346a5ab5fb 100644
--- a/dev-python/pymysql/pymysql-0.9.3.ebuild
+++ b/dev-python/pymysql/pymysql-0.9.3.ebuild
@@ -42,7 +42,7 @@ src_test() {
--no-defaults \
--character-set-server=utf8 \
--bind-address=127.0.0.1 \
- --port=3306 \
+ --port=43306 \
--socket="${T}"/mysqld.sock \
--datadir="${T}"/mysql &
local pid=${!}
@@ -67,6 +67,24 @@ src_test() {
grant all on test2.* to test2@localhost;
' || die
+ cat > pymysql/tests/databases.json <<-EOF || die
+ [{
+ "host": "localhost",
+ "user": "root",
+ "passwd": "",
+ "db": "test1",
+ "use_unicode": true,
+ "local_infile": true,
+ "unix_socket": "${T}/mysqld.sock"
+ }, {
+ "host": "localhost",
+ "user": "root",
+ "passwd": "",
+ "db": "test2",
+ "unix_socket": "${T}/mysqld.sock"
+ }]
+ EOF
+
distutils-r1_src_test
kill "${pid}"
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2020-08-18 5:52 Sam James
0 siblings, 0 replies; 54+ messages in thread
From: Sam James @ 2020-08-18 5:52 UTC (permalink / raw
To: gentoo-commits
commit: 081565590784ef3df901a83eb8116443be3b9ba9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 18 05:36:19 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 18 05:36:19 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08156559
dev-python/pymysql: Keyword 0.10.0 arm, #723912
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pymysql/pymysql-0.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-0.10.0.ebuild b/dev-python/pymysql/pymysql-0.10.0.ebuild
index f4313870195..059a093ed9b 100644
--- a/dev-python/pymysql/pymysql-0.10.0.ebuild
+++ b/dev-python/pymysql/pymysql-0.10.0.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2020-09-17 15:16 Brian Evans
0 siblings, 0 replies; 54+ messages in thread
From: Brian Evans @ 2020-09-17 15:16 UTC (permalink / raw
To: gentoo-commits
commit: 7bd54e52ec8b8dd1951d3b54a75a6d09c6f50a6a
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 17 15:16:13 2020 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Sep 17 15:16:13 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd54e52
dev-python/pymysql: Drop myself from maintainership
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
dev-python/pymysql/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/dev-python/pymysql/metadata.xml b/dev-python/pymysql/metadata.xml
index 9bc048e75d7..365b14f4cc8 100644
--- a/dev-python/pymysql/metadata.xml
+++ b/dev-python/pymysql/metadata.xml
@@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>grknight@gentoo.org</email>
- <name>Brian Evans</name>
- </maintainer>
<maintainer type="project">
<email>mysql-bugs@gentoo.org</email>
<name>MySQL</name>
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2020-09-23 7:29 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2020-09-23 7:29 UTC (permalink / raw
To: gentoo-commits
commit: 711799edb45161e32192b084305dead430b2ef24
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 06:59:54 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 07:29:04 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=711799ed
dev-python/pymysql: Mark ALLARCHES
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/metadata.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-python/pymysql/metadata.xml b/dev-python/pymysql/metadata.xml
index 365b14f4cc8..1a095978417 100644
--- a/dev-python/pymysql/metadata.xml
+++ b/dev-python/pymysql/metadata.xml
@@ -9,6 +9,7 @@
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
+ <stabilize-allarches/>
<upstream>
<remote-id type="github">PyMySQL/PyMySQL</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2020-10-02 14:40 Thomas Deutschmann
0 siblings, 0 replies; 54+ messages in thread
From: Thomas Deutschmann @ 2020-10-02 14:40 UTC (permalink / raw
To: gentoo-commits
commit: dae29bc0b58c802a521cf77ca5daf3af6a395020
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 2 14:30:46 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Oct 2 14:40:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae29bc0
dev-python/pymysql: bump to v0.10.1
Bug: https://bugs.gentoo.org/742854
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-0.10.1.ebuild | 138 +++++++++++++++++++++++++++++++
2 files changed, 139 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 28175fb1844..130c1bfa548 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,2 +1,3 @@
DIST pymysql-0.10.0.tar.gz 86137 BLAKE2B bcd4746d3e3947c2598b875d46678984beedfa0d9161a1aefb1f7f4b5314e084f5292206435b0a2621fb100744194fd1e2963228e37b41c289c5c4021f475371 SHA512 7d322c526634380cf4d3216f666a7d1f38e120390aab525cb8806bcea3f2fd7eab82e744a0be7270eae47ab1f79be5b5f7409e7e5dc9aaabf1e3c0c8853f578f
+DIST pymysql-0.10.1.tar.gz 86441 BLAKE2B 8e33fbba0544dad68c3eeb5bd538c4bce121222b4660ad06c3c0224b5db6a6c9f45d6697a98d5f0ba20429afa204d46c9ce57a4d9696dbc2a35649c6253a645b SHA512 edc702c54a33350f75648765c60d4cf455449e88818948b018585d557bea280e626d23b1279a410765f2de8e35b3c22ea5c8e0ef3dc72588b674c93a2124a224
DIST pymysql-0.9.3.tar.gz 86715 BLAKE2B 0ed09f7f5c47bd1fae52dd9d0ff0790367962d8e4b89d3933704b8b8d838e1f48b68455a9a3916318bf3c1c1f102fa11b4e1e3401d021f8a2d6137612a4affb9 SHA512 d906b7a6612d91db7d4f7f2d85a9375477e6655c568e0d1e7281ad0263d4a78f0ac4e80263605723f99e12db04c80f51c5c8ed79ed6f209a7afeb4b45bf40648
diff --git a/dev-python/pymysql/pymysql-0.10.1.ebuild b/dev-python/pymysql/pymysql-0.10.1.ebuild
new file mode 100644
index 00000000000..b58055923b2
--- /dev/null
+++ b/dev-python/pymysql/pymysql-0.10.1.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} pypy3 )
+
+inherit distutils-r1
+
+MY_PN="PyMySQL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# TODO: support other mysql variants
+BDEPEND="
+ test? ( dev-db/mariadb[server] )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.10.0-fix-tests.patch
+)
+
+src_prepare() {
+ find -name '*.py' -exec sed -i -e 's:unittest2:unittest:' {} + || die
+
+ # Auth tests don't support socket auth
+ find tests/ -name '*_auth.py' -delete || die
+
+ distutils-r1_src_prepare
+}
+
+src_test() {
+ if [[ -z "${USER}" ]] ; then
+ # Tests require system user
+ local -x USER="$(whoami)"
+ einfo "USER set to '${USER}'"
+ fi
+
+ local PIDFILE="${T}/mysqld.pid"
+ if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
+ einfo "Killing already running mysqld process ..."
+ pkill -F "${PIDFILE}"
+ fi
+
+ if [[ -d "${T}/mysql" ]] ; then
+ einfo "Removing already existing mysqld data dir ..."
+ rm -rf "${T}/mysql" || die
+ fi
+
+ einfo "Creating mysql test instance ..."
+ mkdir -p "${T}"/mysql || die
+ "${BROOT}"/usr/share/mariadb/scripts/mysql_install_db \
+ --no-defaults \
+ --auth-root-authentication-method=normal \
+ --basedir="${BROOT}/usr" \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log \
+ || die
+
+ einfo "Starting mysql test instance ..."
+ # TODO: random port
+ mysqld \
+ --no-defaults \
+ --character-set-server=utf8 \
+ --bind-address=127.0.0.1 \
+ --port=43306 \
+ --pid-file="${T}"/mysqld.pid \
+ --socket="${T}"/mysqld.sock \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
+
+ # wait for it to start
+ local i
+ for (( i = 0; i < 10; i++)); do
+ [[ -S ${T}/mysqld.sock ]] && break
+ sleep 1
+ done
+ [[ -S ${T}/mysqld.sock ]] || die "mysqld failed to start"
+
+ einfo "Preparing test mysql instance ..."
+
+ # create test user for auth tests
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e '
+ INSTALL SONAME "auth_ed25519";
+ CREATE FUNCTION ed25519_password RETURNS STRING SONAME "auth_ed25519.so";
+ ' || die "Failed to set up auth_ed25519"
+
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e "
+ SELECT CONCAT('CREATE USER nopass_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"\"),'\";');
+ SELECT CONCAT('CREATE USER user_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"pass_ed25519\"),'\";');
+ " || die "Failed to create ed25519 test users"
+
+ # create test databases
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e '
+ create database test1 DEFAULT CHARACTER SET utf8mb4;
+ create database test2 DEFAULT CHARACTER SET utf8mb4;
+
+ create user test2 identified by "some password";
+ grant all on test2.* to test2;
+
+ create user test2@localhost identified by "some password";
+ grant all on test2.* to test2@localhost;
+ ' || die "Failed to create test databases"
+
+ cat > pymysql/tests/databases.json <<-EOF || die
+ [{
+ "host": "localhost",
+ "user": "root",
+ "passwd": "",
+ "db": "test1",
+ "use_unicode": true,
+ "local_infile": true,
+ "unix_socket": "${T}/mysqld.sock"
+ }, {
+ "host": "localhost",
+ "user": "root",
+ "passwd": "",
+ "db": "test2",
+ "unix_socket": "${T}/mysqld.sock"
+ }]
+ EOF
+
+ distutils-r1_src_test
+
+ if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
+ einfo "Stopping mysql test instance ..."
+ pkill -F "${PIDFILE}"
+ fi
+}
+
+distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2020-10-09 8:40 Agostino Sarubbo
0 siblings, 0 replies; 54+ messages in thread
From: Agostino Sarubbo @ 2020-10-09 8:40 UTC (permalink / raw
To: gentoo-commits
commit: 22becba6f5ec462db74502ad16c7f274238fff45
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 9 08:39:00 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Oct 9 08:39:00 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22becba6
dev-python/pymysql: amd64/x86 stable (ALLARCHES policy) wrt bug #742854
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/pymysql/pymysql-0.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-0.10.1.ebuild b/dev-python/pymysql/pymysql-0.10.1.ebuild
index b58055923b2..f01a413b1c1 100644
--- a/dev-python/pymysql/pymysql-0.10.1.ebuild
+++ b/dev-python/pymysql/pymysql-0.10.1.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2020-10-09 8:53 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2020-10-09 8:53 UTC (permalink / raw
To: gentoo-commits
commit: 0694e24290f9ccf35063078d4e3e37ef5c00e2d2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 9 08:44:11 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 9 08:46:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0694e242
dev-python/pymysql: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/Manifest | 2 -
dev-python/pymysql/pymysql-0.10.0.ebuild | 139 -------------------------------
dev-python/pymysql/pymysql-0.9.3.ebuild | 96 ---------------------
3 files changed, 237 deletions(-)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 130c1bfa548..8ff259cd603 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,3 +1 @@
-DIST pymysql-0.10.0.tar.gz 86137 BLAKE2B bcd4746d3e3947c2598b875d46678984beedfa0d9161a1aefb1f7f4b5314e084f5292206435b0a2621fb100744194fd1e2963228e37b41c289c5c4021f475371 SHA512 7d322c526634380cf4d3216f666a7d1f38e120390aab525cb8806bcea3f2fd7eab82e744a0be7270eae47ab1f79be5b5f7409e7e5dc9aaabf1e3c0c8853f578f
DIST pymysql-0.10.1.tar.gz 86441 BLAKE2B 8e33fbba0544dad68c3eeb5bd538c4bce121222b4660ad06c3c0224b5db6a6c9f45d6697a98d5f0ba20429afa204d46c9ce57a4d9696dbc2a35649c6253a645b SHA512 edc702c54a33350f75648765c60d4cf455449e88818948b018585d557bea280e626d23b1279a410765f2de8e35b3c22ea5c8e0ef3dc72588b674c93a2124a224
-DIST pymysql-0.9.3.tar.gz 86715 BLAKE2B 0ed09f7f5c47bd1fae52dd9d0ff0790367962d8e4b89d3933704b8b8d838e1f48b68455a9a3916318bf3c1c1f102fa11b4e1e3401d021f8a2d6137612a4affb9 SHA512 d906b7a6612d91db7d4f7f2d85a9375477e6655c568e0d1e7281ad0263d4a78f0ac4e80263605723f99e12db04c80f51c5c8ed79ed6f209a7afeb4b45bf40648
diff --git a/dev-python/pymysql/pymysql-0.10.0.ebuild b/dev-python/pymysql/pymysql-0.10.0.ebuild
deleted file mode 100644
index 059a093ed9b..00000000000
--- a/dev-python/pymysql/pymysql-0.10.0.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6..9} pypy3 )
-
-inherit distutils-r1
-
-MY_PN="PyMySQL"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-# TODO: support other mysql variants
-BDEPEND="
- test? ( dev-db/mariadb[server] )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.10.0-fix-tests.patch
- "${FILESDIR}"/${PN}-0.10.0-add-missing-import.patch
-)
-
-src_prepare() {
- find -name '*.py' -exec sed -i -e 's:unittest2:unittest:' {} + || die
-
- # Auth tests don't support socket auth
- find tests/ -name '*_auth.py' -delete || die
-
- distutils-r1_src_prepare
-}
-
-src_test() {
- if [[ -z "${USER}" ]] ; then
- # Tests require system user
- local -x USER="$(whoami)"
- einfo "USER set to '${USER}'"
- fi
-
- local PIDFILE="${T}/mysqld.pid"
- if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
- einfo "Killing already running mysqld process ..."
- pkill -F "${PIDFILE}"
- fi
-
- if [[ -d "${T}/mysql" ]] ; then
- einfo "Removing already existing mysqld data dir ..."
- rm -rf "${T}/mysql" || die
- fi
-
- einfo "Creating mysql test instance ..."
- mkdir -p "${T}"/mysql || die
- "${BROOT}"/usr/share/mariadb/scripts/mysql_install_db \
- --no-defaults \
- --auth-root-authentication-method=normal \
- --basedir="${BROOT}/usr" \
- --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log \
- || die
-
- einfo "Starting mysql test instance ..."
- # TODO: random port
- mysqld \
- --no-defaults \
- --character-set-server=utf8 \
- --bind-address=127.0.0.1 \
- --port=43306 \
- --pid-file="${T}"/mysqld.pid \
- --socket="${T}"/mysqld.sock \
- --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
-
- # wait for it to start
- local i
- for (( i = 0; i < 10; i++)); do
- [[ -S ${T}/mysqld.sock ]] && break
- sleep 1
- done
- [[ -S ${T}/mysqld.sock ]] || die "mysqld failed to start"
-
- einfo "Preparing test mysql instance ..."
-
- # create test user for auth tests
- mysql -uroot --socket="${T}"/mysqld.sock -s -e '
- INSTALL SONAME "auth_ed25519";
- CREATE FUNCTION ed25519_password RETURNS STRING SONAME "auth_ed25519.so";
- ' || die "Failed to set up auth_ed25519"
-
- mysql -uroot --socket="${T}"/mysqld.sock -s -e "
- SELECT CONCAT('CREATE USER nopass_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"\"),'\";');
- SELECT CONCAT('CREATE USER user_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"pass_ed25519\"),'\";');
- " || die "Failed to create ed25519 test users"
-
- # create test databases
- mysql -uroot --socket="${T}"/mysqld.sock -s -e '
- create database test1 DEFAULT CHARACTER SET utf8mb4;
- create database test2 DEFAULT CHARACTER SET utf8mb4;
-
- create user test2 identified by "some password";
- grant all on test2.* to test2;
-
- create user test2@localhost identified by "some password";
- grant all on test2.* to test2@localhost;
- ' || die "Failed to create test databases"
-
- cat > pymysql/tests/databases.json <<-EOF || die
- [{
- "host": "localhost",
- "user": "root",
- "passwd": "",
- "db": "test1",
- "use_unicode": true,
- "local_infile": true,
- "unix_socket": "${T}/mysqld.sock"
- }, {
- "host": "localhost",
- "user": "root",
- "passwd": "",
- "db": "test2",
- "unix_socket": "${T}/mysqld.sock"
- }]
- EOF
-
- distutils-r1_src_test
-
- if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
- einfo "Stopping mysql test instance ..."
- pkill -F "${PIDFILE}"
- fi
-}
-
-distutils_enable_tests pytest
diff --git a/dev-python/pymysql/pymysql-0.9.3.ebuild b/dev-python/pymysql/pymysql-0.9.3.ebuild
deleted file mode 100644
index 7346a5ab5fb..00000000000
--- a/dev-python/pymysql/pymysql-0.9.3.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6..9} pypy3 )
-
-inherit distutils-r1
-
-MY_PN="PyMySQL"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-# TODO: support other mysql variants
-BDEPEND="
- test? ( dev-db/mariadb[server] )"
-
-src_prepare() {
- find -name '*.py' -exec sed -i -e 's:unittest2:unittest:' {} + || die
- distutils-r1_src_prepare
-}
-
-src_test() {
- mkdir -p "${T}"/mysql || die
- "${BROOT}"/usr/share/mariadb/scripts/mysql_install_db \
- --no-defaults \
- --auth-root-authentication-method=normal \
- --basedir="${BROOT}/usr" \
- --datadir="${T}"/mysql || die
- # TODO: random port
- mysqld \
- --no-defaults \
- --character-set-server=utf8 \
- --bind-address=127.0.0.1 \
- --port=43306 \
- --socket="${T}"/mysqld.sock \
- --datadir="${T}"/mysql &
- local pid=${!}
-
- # wait for it to start
- local i
- for (( i = 0; i < 10; i++)); do
- [[ -S ${T}/mysqld.sock ]] && break
- sleep 1
- done
- [[ -S ${T}/mysqld.sock ]] || die "mysqld failed to start"
-
- # create test databases
- mysql -uroot --socket="${T}"/mysqld.sock -e '
- create database test1 DEFAULT CHARACTER SET utf8mb4;
- create database test2 DEFAULT CHARACTER SET utf8mb4;
-
- create user test2 identified by "some password";
- grant all on test2.* to test2;
-
- create user test2@localhost identified by "some password";
- grant all on test2.* to test2@localhost;
- ' || die
-
- cat > pymysql/tests/databases.json <<-EOF || die
- [{
- "host": "localhost",
- "user": "root",
- "passwd": "",
- "db": "test1",
- "use_unicode": true,
- "local_infile": true,
- "unix_socket": "${T}/mysqld.sock"
- }, {
- "host": "localhost",
- "user": "root",
- "passwd": "",
- "db": "test2",
- "unix_socket": "${T}/mysqld.sock"
- }]
- EOF
-
- distutils-r1_src_test
-
- kill "${pid}"
- wait "${pid}"
-}
-
-python_test() {
- ${PYTHON} runtests.py || die
-}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-01-07 9:16 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2021-01-07 9:16 UTC (permalink / raw
To: gentoo-commits
commit: 38c97b264cec88015d30f14f944ceb47d646164e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 7 08:45:58 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 7 09:16:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38c97b26
dev-python/pymysql: Bump to 1.0.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-1.0.0.ebuild | 144 ++++++++++++++++++++++++++++++++
2 files changed, 145 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 8ff259cd603..f72aad94927 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1 +1,2 @@
DIST pymysql-0.10.1.tar.gz 86441 BLAKE2B 8e33fbba0544dad68c3eeb5bd538c4bce121222b4660ad06c3c0224b5db6a6c9f45d6697a98d5f0ba20429afa204d46c9ce57a4d9696dbc2a35649c6253a645b SHA512 edc702c54a33350f75648765c60d4cf455449e88818948b018585d557bea280e626d23b1279a410765f2de8e35b3c22ea5c8e0ef3dc72588b674c93a2124a224
+DIST pymysql-1.0.0.tar.gz 85033 BLAKE2B 792b472c2a230e823cca9deed5adc03a004e34b09594d998c1df332769b93dde3f0b84a11f1b1ac83b6be34fe661194d3c780d6a5bb0facf193d2f46a807a7b8 SHA512 52c4ad45f31725bcbb313d4d1bea52bb52c82ad9573a58dd8cca14e844ff9d7e3831debb3bd08d00a07cc32625b15692138947ccd9ad3bed7f869a7bd69357b3
diff --git a/dev-python/pymysql/pymysql-1.0.0.ebuild b/dev-python/pymysql/pymysql-1.0.0.ebuild
new file mode 100644
index 00000000000..6bd9ec18f00
--- /dev/null
+++ b/dev-python/pymysql/pymysql-1.0.0.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} pypy3 )
+
+inherit distutils-r1
+
+MY_PN="PyMySQL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+# TODO: support other mysql variants
+BDEPEND="
+ test? (
+ dev-db/mariadb[server]
+ dev-python/mock[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # Auth tests don't support socket auth
+ find tests/ -name '*_auth.py' -delete || die
+
+ distutils-r1_src_prepare
+}
+
+src_test() {
+ if [[ -z "${USER}" ]] ; then
+ # Tests require system user
+ local -x USER="$(whoami)"
+ einfo "USER set to '${USER}'"
+ fi
+
+ local PIDFILE="${T}/mysqld.pid"
+ if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
+ einfo "Killing already running mysqld process ..."
+ pkill -F "${PIDFILE}"
+ fi
+
+ if [[ -d "${T}/mysql" ]] ; then
+ einfo "Removing already existing mysqld data dir ..."
+ rm -rf "${T}/mysql" || die
+ fi
+
+ einfo "Creating mysql test instance ..."
+ mkdir -p "${T}"/mysql || die
+ "${BROOT}"/usr/share/mariadb/scripts/mysql_install_db \
+ --no-defaults \
+ --auth-root-authentication-method=normal \
+ --basedir="${BROOT}/usr" \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log \
+ || die
+
+ einfo "Starting mysql test instance ..."
+ # TODO: random port
+ mysqld \
+ --no-defaults \
+ --character-set-server=utf8 \
+ --bind-address=127.0.0.1 \
+ --port=43306 \
+ --pid-file="${T}"/mysqld.pid \
+ --socket="${T}"/mysqld.sock \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
+
+ # wait for it to start
+ local i
+ for (( i = 0; i < 10; i++)); do
+ [[ -S ${T}/mysqld.sock ]] && break
+ sleep 1
+ done
+ [[ -S ${T}/mysqld.sock ]] || die "mysqld failed to start"
+
+ einfo "Configuring test mysql instance ..."
+
+ # create test user for auth tests
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e '
+ INSTALL SONAME "auth_ed25519";
+ CREATE FUNCTION ed25519_password RETURNS STRING SONAME "auth_ed25519.so";
+ ' || die "Failed to set up auth_ed25519"
+
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e "
+ SELECT CONCAT('CREATE USER nopass_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"\"),'\";');
+ SELECT CONCAT('CREATE USER user_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"pass_ed25519\"),'\";');
+ " || die "Failed to create ed25519 test users"
+
+ # create test databases
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e '
+ create database test1 DEFAULT CHARACTER SET utf8mb4;
+ create database test2 DEFAULT CHARACTER SET utf8mb4;
+
+ create user test2 identified by "some password";
+ grant all on test2.* to test2;
+
+ create user test2@localhost identified by "some password";
+ grant all on test2.* to test2@localhost;
+ ' || die "Failed to create test databases"
+
+ cat > pymysql/tests/databases.json <<-EOF || die
+ [{
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test1",
+ "use_unicode": true,
+ "local_infile": true,
+ "unix_socket": "${T}/mysqld.sock"
+ }, {
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test2",
+ "unix_socket": "${T}/mysqld.sock"
+ }]
+ EOF
+
+ distutils-r1_src_test
+
+ if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
+ einfo "Stopping mysql test instance ..."
+ pkill -F "${PIDFILE}"
+ fi
+}
+
+python_test() {
+ local excludes=(
+ # requires some dialog plugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthThreeAttemptsQuestionsInstallPlugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthTwoQuestionsInstallPlugin
+ )
+
+ PYTHONPATH=. pytest -vv ${excludes[@]/#/--deselect } ||
+ die "Tests failed with ${EPYTHON}"
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-01-08 9:29 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2021-01-08 9:29 UTC (permalink / raw
To: gentoo-commits
commit: 67e582f13e839c74759b4338a9e008e7212e09e4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 8 09:19:05 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 8 09:29:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e582f1
dev-python/pymysql: Bump to 1.0.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-1.0.1.ebuild | 143 ++++++++++++++++++++++++++++++++
2 files changed, 144 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index f72aad94927..13451b9c27b 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,2 +1,3 @@
DIST pymysql-0.10.1.tar.gz 86441 BLAKE2B 8e33fbba0544dad68c3eeb5bd538c4bce121222b4660ad06c3c0224b5db6a6c9f45d6697a98d5f0ba20429afa204d46c9ce57a4d9696dbc2a35649c6253a645b SHA512 edc702c54a33350f75648765c60d4cf455449e88818948b018585d557bea280e626d23b1279a410765f2de8e35b3c22ea5c8e0ef3dc72588b674c93a2124a224
DIST pymysql-1.0.0.tar.gz 85033 BLAKE2B 792b472c2a230e823cca9deed5adc03a004e34b09594d998c1df332769b93dde3f0b84a11f1b1ac83b6be34fe661194d3c780d6a5bb0facf193d2f46a807a7b8 SHA512 52c4ad45f31725bcbb313d4d1bea52bb52c82ad9573a58dd8cca14e844ff9d7e3831debb3bd08d00a07cc32625b15692138947ccd9ad3bed7f869a7bd69357b3
+DIST pymysql-1.0.1.tar.gz 84902 BLAKE2B b6a84f288c016849897d05ce97b87e3d58dc7b08acc8f66df16142d645f70a990c8a0acae9f57ff9f00f5cb58ff77e72c7f2d7ccf76af1c12e694d54b0daa080 SHA512 0c8ca8e3ee3fd1515621875117884120d33e18b36c90b71a6923aa01f482423a47c55ea333169c77e3cceaa2577805f2ebe387acf7f80dc525f605f3b4328906
diff --git a/dev-python/pymysql/pymysql-1.0.1.ebuild b/dev-python/pymysql/pymysql-1.0.1.ebuild
new file mode 100644
index 00000000000..fb5e6f2df41
--- /dev/null
+++ b/dev-python/pymysql/pymysql-1.0.1.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+
+inherit distutils-r1
+
+MY_PN="PyMySQL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+# TODO: support other mysql variants
+BDEPEND="
+ test? (
+ dev-db/mariadb[server]
+ )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # Auth tests don't support socket auth
+ find tests/ -name '*_auth.py' -delete || die
+
+ distutils-r1_src_prepare
+}
+
+src_test() {
+ if [[ -z "${USER}" ]] ; then
+ # Tests require system user
+ local -x USER="$(whoami)"
+ einfo "USER set to '${USER}'"
+ fi
+
+ local PIDFILE="${T}/mysqld.pid"
+ if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
+ einfo "Killing already running mysqld process ..."
+ pkill -F "${PIDFILE}"
+ fi
+
+ if [[ -d "${T}/mysql" ]] ; then
+ einfo "Removing already existing mysqld data dir ..."
+ rm -rf "${T}/mysql" || die
+ fi
+
+ einfo "Creating mysql test instance ..."
+ mkdir -p "${T}"/mysql || die
+ "${BROOT}"/usr/share/mariadb/scripts/mysql_install_db \
+ --no-defaults \
+ --auth-root-authentication-method=normal \
+ --basedir="${BROOT}/usr" \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log \
+ || die
+
+ einfo "Starting mysql test instance ..."
+ # TODO: random port
+ mysqld \
+ --no-defaults \
+ --character-set-server=utf8 \
+ --bind-address=127.0.0.1 \
+ --port=43306 \
+ --pid-file="${T}"/mysqld.pid \
+ --socket="${T}"/mysqld.sock \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
+
+ # wait for it to start
+ local i
+ for (( i = 0; i < 10; i++)); do
+ [[ -S ${T}/mysqld.sock ]] && break
+ sleep 1
+ done
+ [[ -S ${T}/mysqld.sock ]] || die "mysqld failed to start"
+
+ einfo "Configuring test mysql instance ..."
+
+ # create test user for auth tests
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e '
+ INSTALL SONAME "auth_ed25519";
+ CREATE FUNCTION ed25519_password RETURNS STRING SONAME "auth_ed25519.so";
+ ' || die "Failed to set up auth_ed25519"
+
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e "
+ SELECT CONCAT('CREATE USER nopass_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"\"),'\";');
+ SELECT CONCAT('CREATE USER user_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"pass_ed25519\"),'\";');
+ " || die "Failed to create ed25519 test users"
+
+ # create test databases
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e '
+ create database test1 DEFAULT CHARACTER SET utf8mb4;
+ create database test2 DEFAULT CHARACTER SET utf8mb4;
+
+ create user test2 identified by "some password";
+ grant all on test2.* to test2;
+
+ create user test2@localhost identified by "some password";
+ grant all on test2.* to test2@localhost;
+ ' || die "Failed to create test databases"
+
+ cat > pymysql/tests/databases.json <<-EOF || die
+ [{
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test1",
+ "use_unicode": true,
+ "local_infile": true,
+ "unix_socket": "${T}/mysqld.sock"
+ }, {
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test2",
+ "unix_socket": "${T}/mysqld.sock"
+ }]
+ EOF
+
+ distutils-r1_src_test
+
+ if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
+ einfo "Stopping mysql test instance ..."
+ pkill -F "${PIDFILE}"
+ fi
+}
+
+python_test() {
+ local excludes=(
+ # requires some dialog plugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthThreeAttemptsQuestionsInstallPlugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthTwoQuestionsInstallPlugin
+ )
+
+ PYTHONPATH=. pytest -vv ${excludes[@]/#/--deselect } ||
+ die "Tests failed with ${EPYTHON}"
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-01-09 17:40 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2021-01-09 17:40 UTC (permalink / raw
To: gentoo-commits
commit: 9f7cc5010819cb4635eaf1df887ee5dc885391a2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 9 17:31:33 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 9 17:31:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f7cc501
dev-python/pymysql: Bump to 1.0.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-1.0.2.ebuild | 143 ++++++++++++++++++++++++++++++++
2 files changed, 144 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 13451b9c27b..b4ede171894 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,3 +1,4 @@
DIST pymysql-0.10.1.tar.gz 86441 BLAKE2B 8e33fbba0544dad68c3eeb5bd538c4bce121222b4660ad06c3c0224b5db6a6c9f45d6697a98d5f0ba20429afa204d46c9ce57a4d9696dbc2a35649c6253a645b SHA512 edc702c54a33350f75648765c60d4cf455449e88818948b018585d557bea280e626d23b1279a410765f2de8e35b3c22ea5c8e0ef3dc72588b674c93a2124a224
DIST pymysql-1.0.0.tar.gz 85033 BLAKE2B 792b472c2a230e823cca9deed5adc03a004e34b09594d998c1df332769b93dde3f0b84a11f1b1ac83b6be34fe661194d3c780d6a5bb0facf193d2f46a807a7b8 SHA512 52c4ad45f31725bcbb313d4d1bea52bb52c82ad9573a58dd8cca14e844ff9d7e3831debb3bd08d00a07cc32625b15692138947ccd9ad3bed7f869a7bd69357b3
DIST pymysql-1.0.1.tar.gz 84902 BLAKE2B b6a84f288c016849897d05ce97b87e3d58dc7b08acc8f66df16142d645f70a990c8a0acae9f57ff9f00f5cb58ff77e72c7f2d7ccf76af1c12e694d54b0daa080 SHA512 0c8ca8e3ee3fd1515621875117884120d33e18b36c90b71a6923aa01f482423a47c55ea333169c77e3cceaa2577805f2ebe387acf7f80dc525f605f3b4328906
+DIST pymysql-1.0.2.tar.gz 84985 BLAKE2B f2b740827cfa9a4a9cdfe9d711e78d61c2cac2afbc2f15ecc3e317a7fff7771d3d79b8d963e085f011123029341edd469514d84be8cdc5e9aa143cd0fa2caae5 SHA512 c98633c465705154c0607f4508e4d19986fafb647eac01832f8e3fb0175565958289518f9632897ffba924406fce00881a351dbae05c7d68a55eec2b86a55638
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
new file mode 100644
index 00000000000..fb5e6f2df41
--- /dev/null
+++ b/dev-python/pymysql/pymysql-1.0.2.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+
+inherit distutils-r1
+
+MY_PN="PyMySQL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+# TODO: support other mysql variants
+BDEPEND="
+ test? (
+ dev-db/mariadb[server]
+ )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # Auth tests don't support socket auth
+ find tests/ -name '*_auth.py' -delete || die
+
+ distutils-r1_src_prepare
+}
+
+src_test() {
+ if [[ -z "${USER}" ]] ; then
+ # Tests require system user
+ local -x USER="$(whoami)"
+ einfo "USER set to '${USER}'"
+ fi
+
+ local PIDFILE="${T}/mysqld.pid"
+ if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
+ einfo "Killing already running mysqld process ..."
+ pkill -F "${PIDFILE}"
+ fi
+
+ if [[ -d "${T}/mysql" ]] ; then
+ einfo "Removing already existing mysqld data dir ..."
+ rm -rf "${T}/mysql" || die
+ fi
+
+ einfo "Creating mysql test instance ..."
+ mkdir -p "${T}"/mysql || die
+ "${BROOT}"/usr/share/mariadb/scripts/mysql_install_db \
+ --no-defaults \
+ --auth-root-authentication-method=normal \
+ --basedir="${BROOT}/usr" \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log \
+ || die
+
+ einfo "Starting mysql test instance ..."
+ # TODO: random port
+ mysqld \
+ --no-defaults \
+ --character-set-server=utf8 \
+ --bind-address=127.0.0.1 \
+ --port=43306 \
+ --pid-file="${T}"/mysqld.pid \
+ --socket="${T}"/mysqld.sock \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
+
+ # wait for it to start
+ local i
+ for (( i = 0; i < 10; i++)); do
+ [[ -S ${T}/mysqld.sock ]] && break
+ sleep 1
+ done
+ [[ -S ${T}/mysqld.sock ]] || die "mysqld failed to start"
+
+ einfo "Configuring test mysql instance ..."
+
+ # create test user for auth tests
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e '
+ INSTALL SONAME "auth_ed25519";
+ CREATE FUNCTION ed25519_password RETURNS STRING SONAME "auth_ed25519.so";
+ ' || die "Failed to set up auth_ed25519"
+
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e "
+ SELECT CONCAT('CREATE USER nopass_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"\"),'\";');
+ SELECT CONCAT('CREATE USER user_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"pass_ed25519\"),'\";');
+ " || die "Failed to create ed25519 test users"
+
+ # create test databases
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e '
+ create database test1 DEFAULT CHARACTER SET utf8mb4;
+ create database test2 DEFAULT CHARACTER SET utf8mb4;
+
+ create user test2 identified by "some password";
+ grant all on test2.* to test2;
+
+ create user test2@localhost identified by "some password";
+ grant all on test2.* to test2@localhost;
+ ' || die "Failed to create test databases"
+
+ cat > pymysql/tests/databases.json <<-EOF || die
+ [{
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test1",
+ "use_unicode": true,
+ "local_infile": true,
+ "unix_socket": "${T}/mysqld.sock"
+ }, {
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test2",
+ "unix_socket": "${T}/mysqld.sock"
+ }]
+ EOF
+
+ distutils-r1_src_test
+
+ if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
+ einfo "Stopping mysql test instance ..."
+ pkill -F "${PIDFILE}"
+ fi
+}
+
+python_test() {
+ local excludes=(
+ # requires some dialog plugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthThreeAttemptsQuestionsInstallPlugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthTwoQuestionsInstallPlugin
+ )
+
+ PYTHONPATH=. pytest -vv ${excludes[@]/#/--deselect } ||
+ die "Tests failed with ${EPYTHON}"
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-02-25 13:54 Agostino Sarubbo
0 siblings, 0 replies; 54+ messages in thread
From: Agostino Sarubbo @ 2021-02-25 13:54 UTC (permalink / raw
To: gentoo-commits
commit: afba052d4f86e2992a3a1d9910fd1c2ad4994227
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 25 13:51:26 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Feb 25 13:51:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afba052d
dev-python/pymysql: amd64/x86 stable (ALLARCHES policy) wrt bug #771444
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
index fb5e6f2df41..dbbedb94264 100644
--- a/dev-python/pymysql/pymysql-1.0.2.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.2.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-03-20 19:21 Thomas Deutschmann
0 siblings, 0 replies; 54+ messages in thread
From: Thomas Deutschmann @ 2021-03-20 19:21 UTC (permalink / raw
To: gentoo-commits
commit: bc4ab2412698e8ab8f3d316380448df3eb28c5f7
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 18:32:33 2021 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 19:21:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc4ab241
dev-python/pymysql: adjust mysql_install_db location
Since commit 755be857e3051, mysql_install_db location has changed.
While here, make sure mysqld from $EPREFIX is used, too.
Reported-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.2.ebuild | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
index dbbedb94264..c2dda33e27a 100644
--- a/dev-python/pymysql/pymysql-1.0.2.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.2.ebuild
@@ -41,6 +41,13 @@ src_test() {
einfo "USER set to '${USER}'"
fi
+ local mysql_install_db_cmd="${EPREFIX}/usr/share/mariadb/scripts/mysql_install_db"
+ [[ ! -x "${mysql_install_db_cmd}" ]] && mysql_install_db_cmd="${EPREFIX}/usr/bin/mysql_install_db"
+ [[ ! -x "${mysql_install_db_cmd}" ]] && die "mysql_install_db command not found!"
+
+ local mysqld_cmd="${EPREFIX}/usr/sbin/mysqld"
+ [[ ! -x "${mysqld_cmd}" ]] && die "mysqld command not found!"
+
local PIDFILE="${T}/mysqld.pid"
if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
einfo "Killing already running mysqld process ..."
@@ -54,16 +61,16 @@ src_test() {
einfo "Creating mysql test instance ..."
mkdir -p "${T}"/mysql || die
- "${BROOT}"/usr/share/mariadb/scripts/mysql_install_db \
+ "${mysql_install_db_cmd}" \
--no-defaults \
--auth-root-authentication-method=normal \
- --basedir="${BROOT}/usr" \
+ --basedir="${EPREFIX}/usr" \
--datadir="${T}"/mysql 1>"${T}"/mysqld_install.log \
|| die
einfo "Starting mysql test instance ..."
# TODO: random port
- mysqld \
+ "${mysqld_cmd}" \
--no-defaults \
--character-set-server=utf8 \
--bind-address=127.0.0.1 \
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-06-05 17:59 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2021-06-05 17:59 UTC (permalink / raw
To: gentoo-commits
commit: 442dc99ceae4cf248a1e7bab638611d4eebbfc0b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 5 17:46:10 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 5 17:59:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=442dc99c
dev-python/pymysql: Enable py3.10
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
index c2dda33e27a..edfdfad33fb 100644
--- a/dev-python/pymysql/pymysql-1.0.2.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-07-28 16:14 Sergei Trofimovich
0 siblings, 0 replies; 54+ messages in thread
From: Sergei Trofimovich @ 2021-07-28 16:14 UTC (permalink / raw
To: gentoo-commits
commit: 6c02bbdac454125e15f9475ea25c91bbb3ccf76a
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Wed Jul 28 15:59:46 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jul 28 16:14:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c02bbda
dev-python/pymysql: keyworded 1.0.2 for sparc, bug #804136
Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
index edfdfad33fb..16e67d73523 100644
--- a/dev-python/pymysql/pymysql-1.0.2.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.2.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-08-10 4:59 Sam James
0 siblings, 0 replies; 54+ messages in thread
From: Sam James @ 2021-08-10 4:59 UTC (permalink / raw
To: gentoo-commits
commit: f04db3ba2651a3960c1138bb0d89c9c31bb26c4e
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Mon Aug 9 07:59:57 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 10 04:59:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f04db3ba
dev-python/pymysql: keyworded 1.0.2 for hppa, bug #804136
Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
index 16e67d73523..8c3ba6abbe7 100644
--- a/dev-python/pymysql/pymysql-1.0.2.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.2.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-09-06 0:13 Sam James
0 siblings, 0 replies; 54+ messages in thread
From: Sam James @ 2021-09-06 0:13 UTC (permalink / raw
To: gentoo-commits
commit: d4fd9553284f69d8db296d3cc808e25e331b96b6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 6 00:12:38 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 6 00:12:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4fd9553
dev-python/pymysql: Keyword 1.0.2 ppc, #804136
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
index e309aeb1fae..f3d60d9a29e 100644
--- a/dev-python/pymysql/pymysql-1.0.2.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.2.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~riscv ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-09-06 23:37 Sam James
0 siblings, 0 replies; 54+ messages in thread
From: Sam James @ 2021-09-06 23:37 UTC (permalink / raw
To: gentoo-commits
commit: 41f7e13795d39bc7f4b18b94085ec0563d57474b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 6 23:37:35 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 6 23:37:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f7e137
dev-python/pymysql: Keyword 1.0.2 ppc64, #804136
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
index f3d60d9a29e..ee7366ee4d6 100644
--- a/dev-python/pymysql/pymysql-1.0.2.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.2.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-09-06 23:42 Sam James
0 siblings, 0 replies; 54+ messages in thread
From: Sam James @ 2021-09-06 23:42 UTC (permalink / raw
To: gentoo-commits
commit: 17b10dc1584261f5f76c1acbbc54a989f75cea57
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 6 23:42:23 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 6 23:42:23 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17b10dc1
dev-python/pymysql: Keyword 1.0.2 s390, #804136
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
index ee7366ee4d6..640ab298357 100644
--- a/dev-python/pymysql/pymysql-1.0.2.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.2.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-10-02 23:17 Sam James
0 siblings, 0 replies; 54+ messages in thread
From: Sam James @ 2021-10-02 23:17 UTC (permalink / raw
To: gentoo-commits
commit: 4f8e66156d344651d2203f43a42774d842dd1b89
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 2 23:16:54 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 2 23:16:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8e6615
dev-python/pymysql: Stabilize 1.0.2 arm, #813567
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
index 640ab298357..fdd07bb51aa 100644
--- a/dev-python/pymysql/pymysql-1.0.2.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.2.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-10-24 21:14 Sam James
0 siblings, 0 replies; 54+ messages in thread
From: Sam James @ 2021-10-24 21:14 UTC (permalink / raw
To: gentoo-commits
commit: 281c93ba5dd9003074aa0c28942980bee5e61d77
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 24 21:14:17 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 24 21:14:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=281c93ba
dev-python/pymysql: Stabilize 1.0.2 arm64, #813567
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
index fdd07bb51aa..e9106a83d12 100644
--- a/dev-python/pymysql/pymysql-1.0.2.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.2.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2021-11-14 23:51 Sam James
0 siblings, 0 replies; 54+ messages in thread
From: Sam James @ 2021-11-14 23:51 UTC (permalink / raw
To: gentoo-commits
commit: f5ff287d4b6d4ab10cb5bad41c4c3fb134874583
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 14 23:50:53 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 23:50:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5ff287d
dev-python/pymysql: Stabilize 1.0.2 ppc64, #813567
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
index 284cf1bca688..e37f3c266204 100644
--- a/dev-python/pymysql/pymysql-1.0.2.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.2.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2022-02-14 8:35 Matt Turner
0 siblings, 0 replies; 54+ messages in thread
From: Matt Turner @ 2022-02-14 8:35 UTC (permalink / raw
To: gentoo-commits
commit: df27169c9706da797bf4b76706bbb6721207e989
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 14 08:29:56 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Feb 14 08:35:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df27169c
dev-python/pymysql: Keyword 1.0.2 alpha, #804136
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
index e37f3c266204..3b56a5306846 100644
--- a/dev-python/pymysql/pymysql-1.0.2.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2022-10-14 15:09 Andrew Ammerlaan
0 siblings, 0 replies; 54+ messages in thread
From: Andrew Ammerlaan @ 2022-10-14 15:09 UTC (permalink / raw
To: gentoo-commits
commit: 03fa8de2b160a86c65f9526cd836004f84ac5d06
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 14:10:24 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 15:09:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03fa8de2
dev-python/pymysql: update EAPI 7 -> 8, pep517, enable py3_11
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-1.0.2-r1.ebuild | 150 +++++++++++++++++++++++++++++
2 files changed, 151 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index ef0f0ed67ad1..fa3a304e1d73 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1 +1,2 @@
+DIST pymysql-1.0.2.gh.tar.gz 84985 BLAKE2B f2b740827cfa9a4a9cdfe9d711e78d61c2cac2afbc2f15ecc3e317a7fff7771d3d79b8d963e085f011123029341edd469514d84be8cdc5e9aa143cd0fa2caae5 SHA512 c98633c465705154c0607f4508e4d19986fafb647eac01832f8e3fb0175565958289518f9632897ffba924406fce00881a351dbae05c7d68a55eec2b86a55638
DIST pymysql-1.0.2.tar.gz 84985 BLAKE2B f2b740827cfa9a4a9cdfe9d711e78d61c2cac2afbc2f15ecc3e317a7fff7771d3d79b8d963e085f011123029341edd469514d84be8cdc5e9aa143cd0fa2caae5 SHA512 c98633c465705154c0607f4508e4d19986fafb647eac01832f8e3fb0175565958289518f9632897ffba924406fce00881a351dbae05c7d68a55eec2b86a55638
diff --git a/dev-python/pymysql/pymysql-1.0.2-r1.ebuild b/dev-python/pymysql/pymysql-1.0.2-r1.ebuild
new file mode 100644
index 000000000000..dc541b68e6d9
--- /dev/null
+++ b/dev-python/pymysql/pymysql-1.0.2-r1.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+MY_PN="PyMySQL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+# TODO: support other mysql variants
+BDEPEND="
+ test? (
+ dev-db/mariadb[server]
+ )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # Auth tests don't support socket auth
+ find tests/ -name '*_auth.py' -delete || die
+
+ distutils-r1_src_prepare
+}
+
+src_test() {
+ if [[ -z "${USER}" ]] ; then
+ # Tests require system user
+ local -x USER="$(whoami)"
+ einfo "USER set to '${USER}'"
+ fi
+
+ local mysql_install_db_cmd="${EPREFIX}/usr/share/mariadb/scripts/mysql_install_db"
+ [[ ! -x "${mysql_install_db_cmd}" ]] && mysql_install_db_cmd="${EPREFIX}/usr/bin/mysql_install_db"
+ [[ ! -x "${mysql_install_db_cmd}" ]] && die "mysql_install_db command not found!"
+
+ local mysqld_cmd="${EPREFIX}/usr/sbin/mysqld"
+ [[ ! -x "${mysqld_cmd}" ]] && die "mysqld command not found!"
+
+ local PIDFILE="${T}/mysqld.pid"
+ if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
+ einfo "Killing already running mysqld process ..."
+ pkill -F "${PIDFILE}"
+ fi
+
+ if [[ -d "${T}/mysql" ]] ; then
+ einfo "Removing already existing mysqld data dir ..."
+ rm -rf "${T}/mysql" || die
+ fi
+
+ einfo "Creating mysql test instance ..."
+ mkdir -p "${T}"/mysql || die
+ "${mysql_install_db_cmd}" \
+ --no-defaults \
+ --auth-root-authentication-method=normal \
+ --basedir="${EPREFIX}/usr" \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log \
+ || die
+
+ einfo "Starting mysql test instance ..."
+ # TODO: random port
+ "${mysqld_cmd}" \
+ --no-defaults \
+ --character-set-server=utf8 \
+ --bind-address=127.0.0.1 \
+ --port=43306 \
+ --pid-file="${T}"/mysqld.pid \
+ --socket="${T}"/mysqld.sock \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
+
+ # wait for it to start
+ local i
+ for (( i = 0; i < 10; i++)); do
+ [[ -S ${T}/mysqld.sock ]] && break
+ sleep 1
+ done
+ [[ -S ${T}/mysqld.sock ]] || die "mysqld failed to start"
+
+ einfo "Configuring test mysql instance ..."
+
+ # create test user for auth tests
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e '
+ INSTALL SONAME "auth_ed25519";
+ CREATE FUNCTION ed25519_password RETURNS STRING SONAME "auth_ed25519.so";
+ ' || die "Failed to set up auth_ed25519"
+
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e "
+ SELECT CONCAT('CREATE USER nopass_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"\"),'\";');
+ SELECT CONCAT('CREATE USER user_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"pass_ed25519\"),'\";');
+ " || die "Failed to create ed25519 test users"
+
+ # create test databases
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e '
+ create database test1 DEFAULT CHARACTER SET utf8mb4;
+ create database test2 DEFAULT CHARACTER SET utf8mb4;
+
+ create user test2 identified by "some password";
+ grant all on test2.* to test2;
+
+ create user test2@localhost identified by "some password";
+ grant all on test2.* to test2@localhost;
+ ' || die "Failed to create test databases"
+
+ cat > pymysql/tests/databases.json <<-EOF || die
+ [{
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test1",
+ "use_unicode": true,
+ "local_infile": true,
+ "unix_socket": "${T}/mysqld.sock"
+ }, {
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test2",
+ "unix_socket": "${T}/mysqld.sock"
+ }]
+ EOF
+
+ distutils-r1_src_test
+
+ if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
+ einfo "Stopping mysql test instance ..."
+ pkill -F "${PIDFILE}"
+ fi
+}
+
+python_test() {
+ local excludes=(
+ # requires some dialog plugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthThreeAttemptsQuestionsInstallPlugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthTwoQuestionsInstallPlugin
+ )
+
+ PYTHONPATH=. pytest -vv ${excludes[@]/#/--deselect } ||
+ die "Tests failed with ${EPYTHON}"
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2022-11-06 7:24 Sam James
0 siblings, 0 replies; 54+ messages in thread
From: Sam James @ 2022-11-06 7:24 UTC (permalink / raw
To: gentoo-commits
commit: 9080ed09d87fb7d7fafcc8eab0d46dded2f28d3f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 6 07:24:06 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 6 07:24:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9080ed09
dev-python/pymysql: Stabilize 1.0.2-r1 ALLARCHES, #879991
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.0.2-r1.ebuild b/dev-python/pymysql/pymysql-1.0.2-r1.ebuild
index dc541b68e6d9..f2fcc3195665 100644
--- a/dev-python/pymysql/pymysql-1.0.2-r1.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.2-r1.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2022-11-06 7:59 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2022-11-06 7:59 UTC (permalink / raw
To: gentoo-commits
commit: 90d05a13935b51b74e81be97c9ef796d1d55d904
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 6 07:36:55 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 6 07:59:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90d05a13
dev-python/pymysql: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 -
dev-python/pymysql/pymysql-1.0.2.ebuild | 150 --------------------------------
2 files changed, 151 deletions(-)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index fa3a304e1d73..0382beded5ec 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,2 +1 @@
DIST pymysql-1.0.2.gh.tar.gz 84985 BLAKE2B f2b740827cfa9a4a9cdfe9d711e78d61c2cac2afbc2f15ecc3e317a7fff7771d3d79b8d963e085f011123029341edd469514d84be8cdc5e9aa143cd0fa2caae5 SHA512 c98633c465705154c0607f4508e4d19986fafb647eac01832f8e3fb0175565958289518f9632897ffba924406fce00881a351dbae05c7d68a55eec2b86a55638
-DIST pymysql-1.0.2.tar.gz 84985 BLAKE2B f2b740827cfa9a4a9cdfe9d711e78d61c2cac2afbc2f15ecc3e317a7fff7771d3d79b8d963e085f011123029341edd469514d84be8cdc5e9aa143cd0fa2caae5 SHA512 c98633c465705154c0607f4508e4d19986fafb647eac01832f8e3fb0175565958289518f9632897ffba924406fce00881a351dbae05c7d68a55eec2b86a55638
diff --git a/dev-python/pymysql/pymysql-1.0.2.ebuild b/dev-python/pymysql/pymysql-1.0.2.ebuild
deleted file mode 100644
index 3b56a5306846..000000000000
--- a/dev-python/pymysql/pymysql-1.0.2.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-
-inherit distutils-r1
-
-MY_PN="PyMySQL"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-# TODO: support other mysql variants
-BDEPEND="
- test? (
- dev-db/mariadb[server]
- )"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- # Auth tests don't support socket auth
- find tests/ -name '*_auth.py' -delete || die
-
- distutils-r1_src_prepare
-}
-
-src_test() {
- if [[ -z "${USER}" ]] ; then
- # Tests require system user
- local -x USER="$(whoami)"
- einfo "USER set to '${USER}'"
- fi
-
- local mysql_install_db_cmd="${EPREFIX}/usr/share/mariadb/scripts/mysql_install_db"
- [[ ! -x "${mysql_install_db_cmd}" ]] && mysql_install_db_cmd="${EPREFIX}/usr/bin/mysql_install_db"
- [[ ! -x "${mysql_install_db_cmd}" ]] && die "mysql_install_db command not found!"
-
- local mysqld_cmd="${EPREFIX}/usr/sbin/mysqld"
- [[ ! -x "${mysqld_cmd}" ]] && die "mysqld command not found!"
-
- local PIDFILE="${T}/mysqld.pid"
- if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
- einfo "Killing already running mysqld process ..."
- pkill -F "${PIDFILE}"
- fi
-
- if [[ -d "${T}/mysql" ]] ; then
- einfo "Removing already existing mysqld data dir ..."
- rm -rf "${T}/mysql" || die
- fi
-
- einfo "Creating mysql test instance ..."
- mkdir -p "${T}"/mysql || die
- "${mysql_install_db_cmd}" \
- --no-defaults \
- --auth-root-authentication-method=normal \
- --basedir="${EPREFIX}/usr" \
- --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log \
- || die
-
- einfo "Starting mysql test instance ..."
- # TODO: random port
- "${mysqld_cmd}" \
- --no-defaults \
- --character-set-server=utf8 \
- --bind-address=127.0.0.1 \
- --port=43306 \
- --pid-file="${T}"/mysqld.pid \
- --socket="${T}"/mysqld.sock \
- --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
-
- # wait for it to start
- local i
- for (( i = 0; i < 10; i++)); do
- [[ -S ${T}/mysqld.sock ]] && break
- sleep 1
- done
- [[ -S ${T}/mysqld.sock ]] || die "mysqld failed to start"
-
- einfo "Configuring test mysql instance ..."
-
- # create test user for auth tests
- mysql -uroot --socket="${T}"/mysqld.sock -s -e '
- INSTALL SONAME "auth_ed25519";
- CREATE FUNCTION ed25519_password RETURNS STRING SONAME "auth_ed25519.so";
- ' || die "Failed to set up auth_ed25519"
-
- mysql -uroot --socket="${T}"/mysqld.sock -s -e "
- SELECT CONCAT('CREATE USER nopass_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"\"),'\";');
- SELECT CONCAT('CREATE USER user_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"pass_ed25519\"),'\";');
- " || die "Failed to create ed25519 test users"
-
- # create test databases
- mysql -uroot --socket="${T}"/mysqld.sock -s -e '
- create database test1 DEFAULT CHARACTER SET utf8mb4;
- create database test2 DEFAULT CHARACTER SET utf8mb4;
-
- create user test2 identified by "some password";
- grant all on test2.* to test2;
-
- create user test2@localhost identified by "some password";
- grant all on test2.* to test2@localhost;
- ' || die "Failed to create test databases"
-
- cat > pymysql/tests/databases.json <<-EOF || die
- [{
- "host": "localhost",
- "user": "root",
- "password": "",
- "database": "test1",
- "use_unicode": true,
- "local_infile": true,
- "unix_socket": "${T}/mysqld.sock"
- }, {
- "host": "localhost",
- "user": "root",
- "password": "",
- "database": "test2",
- "unix_socket": "${T}/mysqld.sock"
- }]
- EOF
-
- distutils-r1_src_test
-
- if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
- einfo "Stopping mysql test instance ..."
- pkill -F "${PIDFILE}"
- fi
-}
-
-python_test() {
- local excludes=(
- # requires some dialog plugin
- pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthThreeAttemptsQuestionsInstallPlugin
- pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthTwoQuestionsInstallPlugin
- )
-
- PYTHONPATH=. pytest -vv ${excludes[@]/#/--deselect } ||
- die "Tests failed with ${EPYTHON}"
-}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2023-03-28 13:23 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2023-03-28 13:23 UTC (permalink / raw
To: gentoo-commits
commit: 7d81d3a88a07ef552313d31e6bde9dc5dca15aba
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 28 13:22:23 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 28 13:23:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d81d3a8
dev-python/pymysql: Bump to 1.0.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/metadata.xml | 2 +-
dev-python/pymysql/pymysql-1.0.3.ebuild | 118 ++++++++++++++++++++++++++++++++
3 files changed, 120 insertions(+), 1 deletion(-)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 0382beded5ec..df7c2b41abfa 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1 +1,2 @@
+DIST PyMySQL-1.0.3.gh.tar.gz 85371 BLAKE2B 4caaf486413b0fd78acc04c6856b044048c5af28e2b8f85125dda83738daeb31f621726babd8ce724b01fc3f297769f09c2c77b60540cb5c66d152c61fd725e8 SHA512 46d56399b02e61b4b31af82f96cfbb6c24e0c18f780c872bde53a818ad74d30dfe8ded1fdac97971433b0e237e1007631a9c0e38ef2cb17b6601c77f624faf8b
DIST pymysql-1.0.2.gh.tar.gz 84985 BLAKE2B f2b740827cfa9a4a9cdfe9d711e78d61c2cac2afbc2f15ecc3e317a7fff7771d3d79b8d963e085f011123029341edd469514d84be8cdc5e9aa143cd0fa2caae5 SHA512 c98633c465705154c0607f4508e4d19986fafb647eac01832f8e3fb0175565958289518f9632897ffba924406fce00881a351dbae05c7d68a55eec2b86a55638
diff --git a/dev-python/pymysql/metadata.xml b/dev-python/pymysql/metadata.xml
index 03cfa4895aca..05ad55beaee1 100644
--- a/dev-python/pymysql/metadata.xml
+++ b/dev-python/pymysql/metadata.xml
@@ -12,6 +12,6 @@
<stabilize-allarches/>
<upstream>
<remote-id type="github">PyMySQL/PyMySQL</remote-id>
- <remote-id type="pypi">PyMySQL</remote-id>
+ <remote-id type="pypi">pymysql</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/pymysql/pymysql-1.0.3.ebuild b/dev-python/pymysql/pymysql-1.0.3.ebuild
new file mode 100644
index 000000000000..2c99a7b07ddf
--- /dev/null
+++ b/dev-python/pymysql/pymysql-1.0.3.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1
+
+MY_P="PyMySQL-${PV}"
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="
+ https://github.com/PyMySQL/PyMySQL/
+ https://pypi.org/project/pymysql/
+"
+SRC_URI="
+ https://github.com/PyMySQL/PyMySQL/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+# TODO: support other mysql variants
+BDEPEND="
+ test? (
+ dev-db/mariadb[server]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # Auth tests don't support socket auth
+ find tests/ -name '*_auth.py' -delete || die
+
+ distutils-r1_src_prepare
+}
+
+src_test() {
+ local -x USER=$(whoami)
+ local -x PATH="${BROOT}/usr/share/mariadb/scripts:${PATH}"
+
+ einfo "Creating mysql test instance ..."
+ mkdir -p "${T}"/mysql || die
+ mysql_install_db \
+ --no-defaults \
+ --auth-root-authentication-method=normal \
+ --basedir="${EPREFIX}/usr" \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log || die
+
+ einfo "Starting mysql test instance ..."
+ # TODO: random port
+ mysqld \
+ --no-defaults \
+ --character-set-server=utf8 \
+ --bind-address=127.0.0.1 \
+ --port=43306 \
+ --pid-file="${T}"/mysqld.pid \
+ --socket="${T}"/mysqld.sock \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
+
+ # wait for it to start
+ local i
+ for (( i = 0; i < 10; i++ )); do
+ [[ -S ${T}/mysqld.sock ]] && break
+ sleep 1
+ done
+ [[ ! -S ${T}/mysqld.sock ]] && die "mysqld failed to start"
+
+ einfo "Configuring test mysql instance ..."
+
+ # note: ed25519 was removed since it fails -- upstream README indicates
+ # it can fail if we used a different server version
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e '
+ CREATE DATABASe test1 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
+ CREATE DATABASE test2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
+ ' || die "Failed to create test databases"
+
+ cat > pymysql/tests/databases.json <<-EOF || die
+ [{
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test1",
+ "use_unicode": true,
+ "local_infile": true,
+ "unix_socket": "${T}/mysqld.sock"
+ }, {
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test2",
+ "unix_socket": "${T}/mysqld.sock"
+ }]
+ EOF
+
+ nonfatal distutils-r1_src_test
+ local ret=${?}
+
+ einfo "Stopping mysql test instance ..."
+ pkill -F "${T}"/mysqld.pid || die
+
+ [[ ${ret} -ne 0 ]] && die
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # requires some dialog plugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthThreeAttemptsQuestionsInstallPlugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthTwoQuestionsInstallPlugin
+ )
+
+ epytest
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2023-04-28 14:47 Arthur Zamarin
0 siblings, 0 replies; 54+ messages in thread
From: Arthur Zamarin @ 2023-04-28 14:47 UTC (permalink / raw
To: gentoo-commits
commit: 4936812ebfe070b7547b943d34f5bdff756c3df9
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 28 14:46:47 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 28 14:46:47 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4936812e
dev-python/pymysql: Stabilize 1.0.3 ALLARCHES, #905237
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/pymysql/pymysql-1.0.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.0.3.ebuild b/dev-python/pymysql/pymysql-1.0.3.ebuild
index 2c99a7b07ddf..cd202b247cfb 100644
--- a/dev-python/pymysql/pymysql-1.0.3.ebuild
+++ b/dev-python/pymysql/pymysql-1.0.3.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2023-04-28 14:49 Arthur Zamarin
0 siblings, 0 replies; 54+ messages in thread
From: Arthur Zamarin @ 2023-04-28 14:49 UTC (permalink / raw
To: gentoo-commits
commit: 6b6d67f1914c7b2e73bb7febaec2fc44755c53be
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 28 14:49:04 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 28 14:49:04 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b6d67f1
dev-python/pymysql: drop 1.0.2-r1
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 -
dev-python/pymysql/pymysql-1.0.2-r1.ebuild | 150 -----------------------------
2 files changed, 151 deletions(-)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index df7c2b41abfa..66aff33b5bbf 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,2 +1 @@
DIST PyMySQL-1.0.3.gh.tar.gz 85371 BLAKE2B 4caaf486413b0fd78acc04c6856b044048c5af28e2b8f85125dda83738daeb31f621726babd8ce724b01fc3f297769f09c2c77b60540cb5c66d152c61fd725e8 SHA512 46d56399b02e61b4b31af82f96cfbb6c24e0c18f780c872bde53a818ad74d30dfe8ded1fdac97971433b0e237e1007631a9c0e38ef2cb17b6601c77f624faf8b
-DIST pymysql-1.0.2.gh.tar.gz 84985 BLAKE2B f2b740827cfa9a4a9cdfe9d711e78d61c2cac2afbc2f15ecc3e317a7fff7771d3d79b8d963e085f011123029341edd469514d84be8cdc5e9aa143cd0fa2caae5 SHA512 c98633c465705154c0607f4508e4d19986fafb647eac01832f8e3fb0175565958289518f9632897ffba924406fce00881a351dbae05c7d68a55eec2b86a55638
diff --git a/dev-python/pymysql/pymysql-1.0.2-r1.ebuild b/dev-python/pymysql/pymysql-1.0.2-r1.ebuild
deleted file mode 100644
index 7ec157a702d9..000000000000
--- a/dev-python/pymysql/pymysql-1.0.2-r1.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
-
-MY_PN="PyMySQL"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-# TODO: support other mysql variants
-BDEPEND="
- test? (
- dev-db/mariadb[server]
- )"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- # Auth tests don't support socket auth
- find tests/ -name '*_auth.py' -delete || die
-
- distutils-r1_src_prepare
-}
-
-src_test() {
- if [[ -z "${USER}" ]] ; then
- # Tests require system user
- local -x USER="$(whoami)"
- einfo "USER set to '${USER}'"
- fi
-
- local mysql_install_db_cmd="${EPREFIX}/usr/share/mariadb/scripts/mysql_install_db"
- [[ ! -x "${mysql_install_db_cmd}" ]] && mysql_install_db_cmd="${EPREFIX}/usr/bin/mysql_install_db"
- [[ ! -x "${mysql_install_db_cmd}" ]] && die "mysql_install_db command not found!"
-
- local mysqld_cmd="${EPREFIX}/usr/sbin/mysqld"
- [[ ! -x "${mysqld_cmd}" ]] && die "mysqld command not found!"
-
- local PIDFILE="${T}/mysqld.pid"
- if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
- einfo "Killing already running mysqld process ..."
- pkill -F "${PIDFILE}"
- fi
-
- if [[ -d "${T}/mysql" ]] ; then
- einfo "Removing already existing mysqld data dir ..."
- rm -rf "${T}/mysql" || die
- fi
-
- einfo "Creating mysql test instance ..."
- mkdir -p "${T}"/mysql || die
- "${mysql_install_db_cmd}" \
- --no-defaults \
- --auth-root-authentication-method=normal \
- --basedir="${EPREFIX}/usr" \
- --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log \
- || die
-
- einfo "Starting mysql test instance ..."
- # TODO: random port
- "${mysqld_cmd}" \
- --no-defaults \
- --character-set-server=utf8 \
- --bind-address=127.0.0.1 \
- --port=43306 \
- --pid-file="${T}"/mysqld.pid \
- --socket="${T}"/mysqld.sock \
- --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
-
- # wait for it to start
- local i
- for (( i = 0; i < 10; i++)); do
- [[ -S ${T}/mysqld.sock ]] && break
- sleep 1
- done
- [[ -S ${T}/mysqld.sock ]] || die "mysqld failed to start"
-
- einfo "Configuring test mysql instance ..."
-
- # create test user for auth tests
- mysql -uroot --socket="${T}"/mysqld.sock -s -e '
- INSTALL SONAME "auth_ed25519";
- CREATE FUNCTION ed25519_password RETURNS STRING SONAME "auth_ed25519.so";
- ' || die "Failed to set up auth_ed25519"
-
- mysql -uroot --socket="${T}"/mysqld.sock -s -e "
- SELECT CONCAT('CREATE USER nopass_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"\"),'\";');
- SELECT CONCAT('CREATE USER user_ed25519 IDENTIFIED VIA ed25519 USING \"',ed25519_password(\"pass_ed25519\"),'\";');
- " || die "Failed to create ed25519 test users"
-
- # create test databases
- mysql -uroot --socket="${T}"/mysqld.sock -s -e '
- create database test1 DEFAULT CHARACTER SET utf8mb4;
- create database test2 DEFAULT CHARACTER SET utf8mb4;
-
- create user test2 identified by "some password";
- grant all on test2.* to test2;
-
- create user test2@localhost identified by "some password";
- grant all on test2.* to test2@localhost;
- ' || die "Failed to create test databases"
-
- cat > pymysql/tests/databases.json <<-EOF || die
- [{
- "host": "localhost",
- "user": "root",
- "password": "",
- "database": "test1",
- "use_unicode": true,
- "local_infile": true,
- "unix_socket": "${T}/mysqld.sock"
- }, {
- "host": "localhost",
- "user": "root",
- "password": "",
- "database": "test2",
- "unix_socket": "${T}/mysqld.sock"
- }]
- EOF
-
- distutils-r1_src_test
-
- if pkill -0 -F "${PIDFILE}" &>/dev/null ; then
- einfo "Stopping mysql test instance ..."
- pkill -F "${PIDFILE}"
- fi
-}
-
-python_test() {
- local excludes=(
- # requires some dialog plugin
- pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthThreeAttemptsQuestionsInstallPlugin
- pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthTwoQuestionsInstallPlugin
- )
-
- PYTHONPATH=. pytest -vv ${excludes[@]/#/--deselect } ||
- die "Tests failed with ${EPYTHON}"
-}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2023-06-27 3:54 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2023-06-27 3:54 UTC (permalink / raw
To: gentoo-commits
commit: 9946da7dc3fdcf793094f363e7a1b1ab795f9a91
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 27 03:00:23 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 03:54:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9946da7d
dev-python/pymysql: Bump to 1.1.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-1.1.0.ebuild | 118 ++++++++++++++++++++++++++++++++
2 files changed, 119 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 66aff33b5bbf..c5613d2f886d 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1 +1,2 @@
DIST PyMySQL-1.0.3.gh.tar.gz 85371 BLAKE2B 4caaf486413b0fd78acc04c6856b044048c5af28e2b8f85125dda83738daeb31f621726babd8ce724b01fc3f297769f09c2c77b60540cb5c66d152c61fd725e8 SHA512 46d56399b02e61b4b31af82f96cfbb6c24e0c18f780c872bde53a818ad74d30dfe8ded1fdac97971433b0e237e1007631a9c0e38ef2cb17b6601c77f624faf8b
+DIST PyMySQL-1.1.0.gh.tar.gz 90416 BLAKE2B b1f5d38edc1ec93ddbf9f841b3db6bddb8db13bd7a6100de2104f08152e2ce7813f6ea2d09c4bc301a6b83fb3eeb3e4ce0c3b4faf42cec25b5c157ea71d719a1 SHA512 c5b2cc1716707013d06146f22ff6e36ae1e54deb8864226a65c5325bafd476d7c53076ceb5cb35815c1baeb8e0ba8d03230366662f4abc0a304e849d8cb40d34
diff --git a/dev-python/pymysql/pymysql-1.1.0.ebuild b/dev-python/pymysql/pymysql-1.1.0.ebuild
new file mode 100644
index 000000000000..cdb193f545da
--- /dev/null
+++ b/dev-python/pymysql/pymysql-1.1.0.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
+
+inherit distutils-r1
+
+MY_P="PyMySQL-${PV}"
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="
+ https://github.com/PyMySQL/PyMySQL/
+ https://pypi.org/project/pymysql/
+"
+SRC_URI="
+ https://github.com/PyMySQL/PyMySQL/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+# TODO: support other mysql variants
+BDEPEND="
+ test? (
+ dev-db/mariadb[server]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # Auth tests don't support socket auth
+ find tests/ -name '*_auth.py' -delete || die
+
+ distutils-r1_src_prepare
+}
+
+src_test() {
+ local -x USER=$(whoami)
+ local -x PATH="${BROOT}/usr/share/mariadb/scripts:${PATH}"
+
+ einfo "Creating mysql test instance ..."
+ mkdir -p "${T}"/mysql || die
+ mysql_install_db \
+ --no-defaults \
+ --auth-root-authentication-method=normal \
+ --basedir="${EPREFIX}/usr" \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log || die
+
+ einfo "Starting mysql test instance ..."
+ # TODO: random port
+ mysqld \
+ --no-defaults \
+ --character-set-server=utf8 \
+ --bind-address=127.0.0.1 \
+ --port=43306 \
+ --pid-file="${T}"/mysqld.pid \
+ --socket="${T}"/mysqld.sock \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
+
+ # wait for it to start
+ local i
+ for (( i = 0; i < 10; i++ )); do
+ [[ -S ${T}/mysqld.sock ]] && break
+ sleep 1
+ done
+ [[ ! -S ${T}/mysqld.sock ]] && die "mysqld failed to start"
+
+ einfo "Configuring test mysql instance ..."
+
+ # note: ed25519 was removed since it fails -- upstream README indicates
+ # it can fail if we used a different server version
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e '
+ CREATE DATABASe test1 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
+ CREATE DATABASE test2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
+ ' || die "Failed to create test databases"
+
+ cat > pymysql/tests/databases.json <<-EOF || die
+ [{
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test1",
+ "use_unicode": true,
+ "local_infile": true,
+ "unix_socket": "${T}/mysqld.sock"
+ }, {
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test2",
+ "unix_socket": "${T}/mysqld.sock"
+ }]
+ EOF
+
+ nonfatal distutils-r1_src_test
+ local ret=${?}
+
+ einfo "Stopping mysql test instance ..."
+ pkill -F "${T}"/mysqld.pid || die
+
+ [[ ${ret} -ne 0 ]] && die
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # requires some dialog plugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthThreeAttemptsQuestionsInstallPlugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthTwoQuestionsInstallPlugin
+ )
+
+ epytest
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2023-07-28 7:56 Sam James
0 siblings, 0 replies; 54+ messages in thread
From: Sam James @ 2023-07-28 7:56 UTC (permalink / raw
To: gentoo-commits
commit: 2655f65eb2088fcb548009354d152682fd4d101c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 07:55:24 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 07:55:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2655f65e
dev-python/pymysql: Stabilize 1.1.0 ALLARCHES, #911358
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pymysql/pymysql-1.1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.1.0.ebuild b/dev-python/pymysql/pymysql-1.1.0.ebuild
index cdb193f545da..ca93a8c02c02 100644
--- a/dev-python/pymysql/pymysql-1.1.0.ebuild
+++ b/dev-python/pymysql/pymysql-1.1.0.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2023-07-28 9:26 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2023-07-28 9:26 UTC (permalink / raw
To: gentoo-commits
commit: e1960d4ee629a65b598eb9b46a66abe0ef3725d0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 09:21:41 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 09:21:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1960d4e
dev-python/pymysql: Enable py3.12
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/pymysql-1.1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.1.0.ebuild b/dev-python/pymysql/pymysql-1.1.0.ebuild
index ca93a8c02c02..78327ee2fc28 100644
--- a/dev-python/pymysql/pymysql-1.1.0.ebuild
+++ b/dev-python/pymysql/pymysql-1.1.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit distutils-r1
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2023-07-28 9:26 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2023-07-28 9:26 UTC (permalink / raw
To: gentoo-commits
commit: 8690c12c4feff3b787a2b88a61e83231937814fc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 09:19:17 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 09:19:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8690c12c
dev-python/pymysql: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 -
dev-python/pymysql/pymysql-1.0.3.ebuild | 118 --------------------------------
2 files changed, 119 deletions(-)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index c5613d2f886d..2eb07e8831f4 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,2 +1 @@
-DIST PyMySQL-1.0.3.gh.tar.gz 85371 BLAKE2B 4caaf486413b0fd78acc04c6856b044048c5af28e2b8f85125dda83738daeb31f621726babd8ce724b01fc3f297769f09c2c77b60540cb5c66d152c61fd725e8 SHA512 46d56399b02e61b4b31af82f96cfbb6c24e0c18f780c872bde53a818ad74d30dfe8ded1fdac97971433b0e237e1007631a9c0e38ef2cb17b6601c77f624faf8b
DIST PyMySQL-1.1.0.gh.tar.gz 90416 BLAKE2B b1f5d38edc1ec93ddbf9f841b3db6bddb8db13bd7a6100de2104f08152e2ce7813f6ea2d09c4bc301a6b83fb3eeb3e4ce0c3b4faf42cec25b5c157ea71d719a1 SHA512 c5b2cc1716707013d06146f22ff6e36ae1e54deb8864226a65c5325bafd476d7c53076ceb5cb35815c1baeb8e0ba8d03230366662f4abc0a304e849d8cb40d34
diff --git a/dev-python/pymysql/pymysql-1.0.3.ebuild b/dev-python/pymysql/pymysql-1.0.3.ebuild
deleted file mode 100644
index cd202b247cfb..000000000000
--- a/dev-python/pymysql/pymysql-1.0.3.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1
-
-MY_P="PyMySQL-${PV}"
-DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="
- https://github.com/PyMySQL/PyMySQL/
- https://pypi.org/project/pymysql/
-"
-SRC_URI="
- https://github.com/PyMySQL/PyMySQL/archive/v${PV}.tar.gz
- -> ${MY_P}.gh.tar.gz
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-# TODO: support other mysql variants
-BDEPEND="
- test? (
- dev-db/mariadb[server]
- )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- # Auth tests don't support socket auth
- find tests/ -name '*_auth.py' -delete || die
-
- distutils-r1_src_prepare
-}
-
-src_test() {
- local -x USER=$(whoami)
- local -x PATH="${BROOT}/usr/share/mariadb/scripts:${PATH}"
-
- einfo "Creating mysql test instance ..."
- mkdir -p "${T}"/mysql || die
- mysql_install_db \
- --no-defaults \
- --auth-root-authentication-method=normal \
- --basedir="${EPREFIX}/usr" \
- --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log || die
-
- einfo "Starting mysql test instance ..."
- # TODO: random port
- mysqld \
- --no-defaults \
- --character-set-server=utf8 \
- --bind-address=127.0.0.1 \
- --port=43306 \
- --pid-file="${T}"/mysqld.pid \
- --socket="${T}"/mysqld.sock \
- --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
-
- # wait for it to start
- local i
- for (( i = 0; i < 10; i++ )); do
- [[ -S ${T}/mysqld.sock ]] && break
- sleep 1
- done
- [[ ! -S ${T}/mysqld.sock ]] && die "mysqld failed to start"
-
- einfo "Configuring test mysql instance ..."
-
- # note: ed25519 was removed since it fails -- upstream README indicates
- # it can fail if we used a different server version
- mysql -uroot --socket="${T}"/mysqld.sock -s -e '
- CREATE DATABASe test1 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
- CREATE DATABASE test2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
- ' || die "Failed to create test databases"
-
- cat > pymysql/tests/databases.json <<-EOF || die
- [{
- "host": "localhost",
- "user": "root",
- "password": "",
- "database": "test1",
- "use_unicode": true,
- "local_infile": true,
- "unix_socket": "${T}/mysqld.sock"
- }, {
- "host": "localhost",
- "user": "root",
- "password": "",
- "database": "test2",
- "unix_socket": "${T}/mysqld.sock"
- }]
- EOF
-
- nonfatal distutils-r1_src_test
- local ret=${?}
-
- einfo "Stopping mysql test instance ..."
- pkill -F "${T}"/mysqld.pid || die
-
- [[ ${ret} -ne 0 ]] && die
-}
-
-python_test() {
- local EPYTEST_DESELECT=(
- # requires some dialog plugin
- pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthThreeAttemptsQuestionsInstallPlugin
- pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthTwoQuestionsInstallPlugin
- )
-
- epytest
-}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2024-01-04 11:29 WANG Xuerui
0 siblings, 0 replies; 54+ messages in thread
From: WANG Xuerui @ 2024-01-04 11:29 UTC (permalink / raw
To: gentoo-commits
commit: 22240b94c7bc4f2b103ac1c3bdf228efb130f7c5
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 4 11:08:47 2024 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Thu Jan 4 11:29:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22240b94
dev-python/pymysql: keyword 1.1.0 for ~loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
dev-python/pymysql/pymysql-1.1.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-python/pymysql/pymysql-1.1.0.ebuild b/dev-python/pymysql/pymysql-1.1.0.ebuild
index 78327ee2fc28..2cc57a6f8a37 100644
--- a/dev-python/pymysql/pymysql-1.1.0.ebuild
+++ b/dev-python/pymysql/pymysql-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2024-05-18 8:09 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2024-05-18 8:09 UTC (permalink / raw
To: gentoo-commits
commit: e53bd60ba04d9bc2fba8a0538ea53ac35a91f57a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 18 07:54:13 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 18 08:09:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e53bd60b
dev-python/pymysql: Enable py3.13
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/pymysql-1.1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.1.0.ebuild b/dev-python/pymysql/pymysql-1.1.0.ebuild
index 2cc57a6f8a37..252182d0f0ce 100644
--- a/dev-python/pymysql/pymysql-1.1.0.ebuild
+++ b/dev-python/pymysql/pymysql-1.1.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2024-05-22 4:49 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2024-05-22 4:49 UTC (permalink / raw
To: gentoo-commits
commit: 957e9a0df397d904138c9811cb64eec776d8c615
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 04:43:08 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 22 04:49:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=957e9a0d
dev-python/pymysql: Bump to 1.1.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 +
dev-python/pymysql/pymysql-1.1.1.ebuild | 118 ++++++++++++++++++++++++++++++++
2 files changed, 119 insertions(+)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index 2eb07e8831f4..df0e7ef47a7a 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1 +1,2 @@
DIST PyMySQL-1.1.0.gh.tar.gz 90416 BLAKE2B b1f5d38edc1ec93ddbf9f841b3db6bddb8db13bd7a6100de2104f08152e2ce7813f6ea2d09c4bc301a6b83fb3eeb3e4ce0c3b4faf42cec25b5c157ea71d719a1 SHA512 c5b2cc1716707013d06146f22ff6e36ae1e54deb8864226a65c5325bafd476d7c53076ceb5cb35815c1baeb8e0ba8d03230366662f4abc0a304e849d8cb40d34
+DIST PyMySQL-1.1.1.gh.tar.gz 89986 BLAKE2B 0621a0cdf014418b7eaa7241146a370f91a3163ea9c0f2b5121f979580ae7f960a47aa13c12597c8d2c2ba3c9264914e40a21a96d6473e8ba2d053478a56cf05 SHA512 ef46ab189760b2d68bb7582b20a537bc68c2719241a4939bff9a6311ab64cb2df852d437ab4b8dd41a0fb5ff620a78c67aa96ccd037d44899dc2886d16218e2c
diff --git a/dev-python/pymysql/pymysql-1.1.1.ebuild b/dev-python/pymysql/pymysql-1.1.1.ebuild
new file mode 100644
index 000000000000..ff720c8b9194
--- /dev/null
+++ b/dev-python/pymysql/pymysql-1.1.1.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1
+
+MY_P="PyMySQL-${PV}"
+DESCRIPTION="Pure-Python MySQL Driver"
+HOMEPAGE="
+ https://github.com/PyMySQL/PyMySQL/
+ https://pypi.org/project/pymysql/
+"
+SRC_URI="
+ https://github.com/PyMySQL/PyMySQL/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+# TODO: support other mysql variants
+BDEPEND="
+ test? (
+ dev-db/mariadb[server]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # Auth tests don't support socket auth
+ find tests/ -name '*_auth.py' -delete || die
+
+ distutils-r1_src_prepare
+}
+
+src_test() {
+ local -x USER=$(whoami)
+ local -x PATH="${BROOT}/usr/share/mariadb/scripts:${PATH}"
+
+ einfo "Creating mysql test instance ..."
+ mkdir -p "${T}"/mysql || die
+ mysql_install_db \
+ --no-defaults \
+ --auth-root-authentication-method=normal \
+ --basedir="${EPREFIX}/usr" \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log || die
+
+ einfo "Starting mysql test instance ..."
+ # TODO: random port
+ mysqld \
+ --no-defaults \
+ --character-set-server=utf8 \
+ --bind-address=127.0.0.1 \
+ --port=43306 \
+ --pid-file="${T}"/mysqld.pid \
+ --socket="${T}"/mysqld.sock \
+ --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
+
+ # wait for it to start
+ local i
+ for (( i = 0; i < 10; i++ )); do
+ [[ -S ${T}/mysqld.sock ]] && break
+ sleep 1
+ done
+ [[ ! -S ${T}/mysqld.sock ]] && die "mysqld failed to start"
+
+ einfo "Configuring test mysql instance ..."
+
+ # note: ed25519 was removed since it fails -- upstream README indicates
+ # it can fail if we used a different server version
+ mysql -uroot --socket="${T}"/mysqld.sock -s -e '
+ CREATE DATABASe test1 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
+ CREATE DATABASE test2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
+ ' || die "Failed to create test databases"
+
+ cat > pymysql/tests/databases.json <<-EOF || die
+ [{
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test1",
+ "use_unicode": true,
+ "local_infile": true,
+ "unix_socket": "${T}/mysqld.sock"
+ }, {
+ "host": "localhost",
+ "user": "root",
+ "password": "",
+ "database": "test2",
+ "unix_socket": "${T}/mysqld.sock"
+ }]
+ EOF
+
+ nonfatal distutils-r1_src_test
+ local ret=${?}
+
+ einfo "Stopping mysql test instance ..."
+ pkill -F "${T}"/mysqld.pid || die
+
+ [[ ${ret} -ne 0 ]] && die
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # requires some dialog plugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthThreeAttemptsQuestionsInstallPlugin
+ pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthTwoQuestionsInstallPlugin
+ )
+
+ epytest
+}
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2024-05-22 4:49 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2024-05-22 4:49 UTC (permalink / raw
To: gentoo-commits
commit: 4551d3a0c39d1529af99534513be1b957e470222
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 04:47:42 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 22 04:49:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4551d3a0
dev-python/pymysql: Update PyPI id
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/metadata.xml | 2 +-
dev-python/pymysql/pymysql-1.1.1.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-python/pymysql/metadata.xml b/dev-python/pymysql/metadata.xml
index 05ad55beaee1..03cfa4895aca 100644
--- a/dev-python/pymysql/metadata.xml
+++ b/dev-python/pymysql/metadata.xml
@@ -12,6 +12,6 @@
<stabilize-allarches/>
<upstream>
<remote-id type="github">PyMySQL/PyMySQL</remote-id>
- <remote-id type="pypi">pymysql</remote-id>
+ <remote-id type="pypi">PyMySQL</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/pymysql/pymysql-1.1.1.ebuild b/dev-python/pymysql/pymysql-1.1.1.ebuild
index ff720c8b9194..7e0e46d9bd25 100644
--- a/dev-python/pymysql/pymysql-1.1.1.ebuild
+++ b/dev-python/pymysql/pymysql-1.1.1.ebuild
@@ -12,7 +12,7 @@ MY_P="PyMySQL-${PV}"
DESCRIPTION="Pure-Python MySQL Driver"
HOMEPAGE="
https://github.com/PyMySQL/PyMySQL/
- https://pypi.org/project/pymysql/
+ https://pypi.org/project/PyMySQL/
"
SRC_URI="
https://github.com/PyMySQL/PyMySQL/archive/v${PV}.tar.gz
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2024-05-22 9:05 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2024-05-22 9:05 UTC (permalink / raw
To: gentoo-commits
commit: fbb601c512281d79a8e66be83cb6d0f43de1a80e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 09:05:03 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 22 09:05:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbb601c5
dev-python/pymysql: Stabilize 1.1.1 ALLARCHES, #932395
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/pymysql-1.1.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pymysql/pymysql-1.1.1.ebuild b/dev-python/pymysql/pymysql-1.1.1.ebuild
index 7e0e46d9bd25..80bf518cb5fc 100644
--- a/dev-python/pymysql/pymysql-1.1.1.ebuild
+++ b/dev-python/pymysql/pymysql-1.1.1.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
# TODO: support other mysql variants
BDEPEND="
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/
@ 2024-05-22 9:10 Michał Górny
0 siblings, 0 replies; 54+ messages in thread
From: Michał Górny @ 2024-05-22 9:10 UTC (permalink / raw
To: gentoo-commits
commit: 70cb7696c9d210313045892a2c8c7ef16a9a5bc9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 09:06:33 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 22 09:09:58 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70cb7696
dev-python/pymysql: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pymysql/Manifest | 1 -
dev-python/pymysql/pymysql-1.1.0.ebuild | 118 --------------------------------
2 files changed, 119 deletions(-)
diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest
index df0e7ef47a7a..8510d82ebad3 100644
--- a/dev-python/pymysql/Manifest
+++ b/dev-python/pymysql/Manifest
@@ -1,2 +1 @@
-DIST PyMySQL-1.1.0.gh.tar.gz 90416 BLAKE2B b1f5d38edc1ec93ddbf9f841b3db6bddb8db13bd7a6100de2104f08152e2ce7813f6ea2d09c4bc301a6b83fb3eeb3e4ce0c3b4faf42cec25b5c157ea71d719a1 SHA512 c5b2cc1716707013d06146f22ff6e36ae1e54deb8864226a65c5325bafd476d7c53076ceb5cb35815c1baeb8e0ba8d03230366662f4abc0a304e849d8cb40d34
DIST PyMySQL-1.1.1.gh.tar.gz 89986 BLAKE2B 0621a0cdf014418b7eaa7241146a370f91a3163ea9c0f2b5121f979580ae7f960a47aa13c12597c8d2c2ba3c9264914e40a21a96d6473e8ba2d053478a56cf05 SHA512 ef46ab189760b2d68bb7582b20a537bc68c2719241a4939bff9a6311ab64cb2df852d437ab4b8dd41a0fb5ff620a78c67aa96ccd037d44899dc2886d16218e2c
diff --git a/dev-python/pymysql/pymysql-1.1.0.ebuild b/dev-python/pymysql/pymysql-1.1.0.ebuild
deleted file mode 100644
index 252182d0f0ce..000000000000
--- a/dev-python/pymysql/pymysql-1.1.0.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} pypy3 )
-
-inherit distutils-r1
-
-MY_P="PyMySQL-${PV}"
-DESCRIPTION="Pure-Python MySQL Driver"
-HOMEPAGE="
- https://github.com/PyMySQL/PyMySQL/
- https://pypi.org/project/pymysql/
-"
-SRC_URI="
- https://github.com/PyMySQL/PyMySQL/archive/v${PV}.tar.gz
- -> ${MY_P}.gh.tar.gz
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-# TODO: support other mysql variants
-BDEPEND="
- test? (
- dev-db/mariadb[server]
- )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- # Auth tests don't support socket auth
- find tests/ -name '*_auth.py' -delete || die
-
- distutils-r1_src_prepare
-}
-
-src_test() {
- local -x USER=$(whoami)
- local -x PATH="${BROOT}/usr/share/mariadb/scripts:${PATH}"
-
- einfo "Creating mysql test instance ..."
- mkdir -p "${T}"/mysql || die
- mysql_install_db \
- --no-defaults \
- --auth-root-authentication-method=normal \
- --basedir="${EPREFIX}/usr" \
- --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log || die
-
- einfo "Starting mysql test instance ..."
- # TODO: random port
- mysqld \
- --no-defaults \
- --character-set-server=utf8 \
- --bind-address=127.0.0.1 \
- --port=43306 \
- --pid-file="${T}"/mysqld.pid \
- --socket="${T}"/mysqld.sock \
- --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
-
- # wait for it to start
- local i
- for (( i = 0; i < 10; i++ )); do
- [[ -S ${T}/mysqld.sock ]] && break
- sleep 1
- done
- [[ ! -S ${T}/mysqld.sock ]] && die "mysqld failed to start"
-
- einfo "Configuring test mysql instance ..."
-
- # note: ed25519 was removed since it fails -- upstream README indicates
- # it can fail if we used a different server version
- mysql -uroot --socket="${T}"/mysqld.sock -s -e '
- CREATE DATABASe test1 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
- CREATE DATABASE test2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
- ' || die "Failed to create test databases"
-
- cat > pymysql/tests/databases.json <<-EOF || die
- [{
- "host": "localhost",
- "user": "root",
- "password": "",
- "database": "test1",
- "use_unicode": true,
- "local_infile": true,
- "unix_socket": "${T}/mysqld.sock"
- }, {
- "host": "localhost",
- "user": "root",
- "password": "",
- "database": "test2",
- "unix_socket": "${T}/mysqld.sock"
- }]
- EOF
-
- nonfatal distutils-r1_src_test
- local ret=${?}
-
- einfo "Stopping mysql test instance ..."
- pkill -F "${T}"/mysqld.pid || die
-
- [[ ${ret} -ne 0 ]] && die
-}
-
-python_test() {
- local EPYTEST_DESELECT=(
- # requires some dialog plugin
- pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthThreeAttemptsQuestionsInstallPlugin
- pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthTwoQuestionsInstallPlugin
- )
-
- epytest
-}
^ permalink raw reply related [flat|nested] 54+ messages in thread
end of thread, other threads:[~2024-05-22 9:10 UTC | newest]
Thread overview: 54+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-28 9:26 [gentoo-commits] repo/gentoo:master commit in: dev-python/pymysql/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2024-05-22 9:10 Michał Górny
2024-05-22 9:05 Michał Górny
2024-05-22 4:49 Michał Górny
2024-05-22 4:49 Michał Górny
2024-05-18 8:09 Michał Górny
2024-01-04 11:29 WANG Xuerui
2023-07-28 9:26 Michał Górny
2023-07-28 7:56 Sam James
2023-06-27 3:54 Michał Górny
2023-04-28 14:49 Arthur Zamarin
2023-04-28 14:47 Arthur Zamarin
2023-03-28 13:23 Michał Górny
2022-11-06 7:59 Michał Górny
2022-11-06 7:24 Sam James
2022-10-14 15:09 Andrew Ammerlaan
2022-02-14 8:35 Matt Turner
2021-11-14 23:51 Sam James
2021-10-24 21:14 Sam James
2021-10-02 23:17 Sam James
2021-09-06 23:42 Sam James
2021-09-06 23:37 Sam James
2021-09-06 0:13 Sam James
2021-08-10 4:59 Sam James
2021-07-28 16:14 Sergei Trofimovich
2021-06-05 17:59 Michał Górny
2021-03-20 19:21 Thomas Deutschmann
2021-02-25 13:54 Agostino Sarubbo
2021-01-09 17:40 Michał Górny
2021-01-08 9:29 Michał Górny
2021-01-07 9:16 Michał Górny
2020-10-09 8:53 Michał Górny
2020-10-09 8:40 Agostino Sarubbo
2020-10-02 14:40 Thomas Deutschmann
2020-09-23 7:29 Michał Górny
2020-09-17 15:16 Brian Evans
2020-08-18 5:52 Sam James
2020-06-11 20:33 Michał Górny
2020-06-11 20:33 Michał Górny
2020-06-11 20:33 Michał Górny
2020-04-18 17:55 Craig Andrews
2020-02-05 19:53 Michał Górny
2020-01-07 20:24 Brian Evans
2019-01-16 13:33 Thomas Deutschmann
2018-09-11 19:13 Brian Evans
2018-06-09 17:09 Thomas Deutschmann
2018-02-22 21:23 Thomas Deutschmann
2018-01-05 23:19 Michał Górny
2017-09-29 23:32 Matt Thode
2017-08-30 21:07 Matt Thode
2017-03-10 21:58 Zac Medico
2017-01-26 20:27 Brian Evans
2016-09-04 6:46 Patrice Clement
2015-10-19 16:29 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox