public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncmy/
@ 2022-11-05 14:41 Anna Vyalkova
  0 siblings, 0 replies; 9+ messages in thread
From: Anna Vyalkova @ 2022-11-05 14:41 UTC (permalink / raw
  To: gentoo-commits

commit:     3024cb447c9475f1f46385a9f5ba10e4bb99bc04
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Nov  4 06:27:27 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Nov  5 14:41:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3024cb44

dev-python/asyncmy: new package, add 0.2.5

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/asyncmy/Manifest             |  1 +
 dev-python/asyncmy/asyncmy-0.2.5.ebuild | 67 +++++++++++++++++++++++++++++++++
 dev-python/asyncmy/metadata.xml         | 11 ++++++
 3 files changed, 79 insertions(+)

diff --git a/dev-python/asyncmy/Manifest b/dev-python/asyncmy/Manifest
new file mode 100644
index 000000000..4efaa7ade
--- /dev/null
+++ b/dev-python/asyncmy/Manifest
@@ -0,0 +1 @@
+DIST asyncmy-0.2.5.gh.tar.gz 136467 BLAKE2B 1d5f687a5044653f00653d1b07129fdcb8465b7739e9d9d4b7481fbe3f406f0191c0642d46329e3639c8024a89ff70b8417bd26cdeaf804e278256e0bbb03eef SHA512 6777ccb9be483e2af996e3c814cb00a8db3b5d360c5543224265fd28c851bde4dfa9b81930c7928c10714f9ebed9134b1b5cc72f07c633fbb6eb4add7a10915d

diff --git a/dev-python/asyncmy/asyncmy-0.2.5.ebuild b/dev-python/asyncmy/asyncmy-0.2.5.ebuild
new file mode 100644
index 000000000..1784648d2
--- /dev/null
+++ b/dev-python/asyncmy/asyncmy-0.2.5.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_REQ_USE="ssl"
+DISTUTILS_USE_PEP517=poetry
+inherit databases distutils-r1 optfeature
+
+DESCRIPTION="A fast asyncio MySQL driver"
+HOMEPAGE="
+	https://pypi.org/project/asyncmy/
+	https://github.com/long2ice/asyncmy
+"
+SRC_URI="https://github.com/long2ice/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+TEST_S="${S}_test"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+	dev-python/cython[${PYTHON_USEDEP}]
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? (
+		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+		$(emysql --get-depend)
+	)
+"
+
+distutils_enable_tests pytest
+
+src_unpack() {
+	default
+
+	cp -a "${S}" "${TEST_S}" || die
+	rm -r "${TEST_S}"/asyncmy || die
+}
+
+src_test() {
+	emysql --start
+	local sockfile=$(emysql --get-sockfile)
+
+	local myargs=(
+		--user=root
+		--socket="${sockfile}"
+		--silent
+		--execute="ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';"
+	)
+
+	ebegin "Changing database password"
+	mysql "${myargs[@]}"
+	eend $? || emysql --die "Changing database password failed"
+
+	distutils-r1_src_test
+	emysql --stop
+}
+
+python_test() {
+	cd "${T}" || die
+	epytest "${TEST_S}"
+}
+
+pkg_postinst() {
+	optfeature "sha256_password and caching_sha2_password auth methods" dev-python/cryprography
+}

diff --git a/dev-python/asyncmy/metadata.xml b/dev-python/asyncmy/metadata.xml
new file mode 100644
index 000000000..6db004d34
--- /dev/null
+++ b/dev-python/asyncmy/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>cyber+gentoo@sysrq.in</email>
+		<name>Anna</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="pypi">asyncmy</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncmy/
@ 2022-12-02  8:51 Anna Vyalkova
  0 siblings, 0 replies; 9+ messages in thread
From: Anna Vyalkova @ 2022-12-02  8:51 UTC (permalink / raw
  To: gentoo-commits

commit:     84ca535dada46f876de6f746df1863219063d364
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Dec  2 08:41:13 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Dec  2 08:41:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=84ca535d

dev-python/asyncmy: do not install readme

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/asyncmy/asyncmy-0.2.5.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-python/asyncmy/asyncmy-0.2.5.ebuild b/dev-python/asyncmy/asyncmy-0.2.5.ebuild
index 1784648d2..21b9bd390 100644
--- a/dev-python/asyncmy/asyncmy-0.2.5.ebuild
+++ b/dev-python/asyncmy/asyncmy-0.2.5.ebuild
@@ -62,6 +62,11 @@ python_test() {
 	epytest "${TEST_S}"
 }
 
+src_install() {
+	distutils-r1_src_install
+	find "${ED}"/usr/lib -name '*.md' -delete || die
+}
+
 pkg_postinst() {
 	optfeature "sha256_password and caching_sha2_password auth methods" dev-python/cryprography
 }


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncmy/
@ 2023-02-25 23:27 Anna Vyalkova
  0 siblings, 0 replies; 9+ messages in thread
From: Anna Vyalkova @ 2023-02-25 23:27 UTC (permalink / raw
  To: gentoo-commits

commit:     b29fc191f45b009fe16b394363f1126c34ece52b
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Feb 25 23:22:26 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Feb 25 23:22:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b29fc191

dev-python/asyncmy: add 0.2.7

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/asyncmy/Manifest             |  1 +
 dev-python/asyncmy/asyncmy-0.2.7.ebuild | 73 +++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/dev-python/asyncmy/Manifest b/dev-python/asyncmy/Manifest
index 4efaa7ade..aebae1111 100644
--- a/dev-python/asyncmy/Manifest
+++ b/dev-python/asyncmy/Manifest
@@ -1 +1,2 @@
 DIST asyncmy-0.2.5.gh.tar.gz 136467 BLAKE2B 1d5f687a5044653f00653d1b07129fdcb8465b7739e9d9d4b7481fbe3f406f0191c0642d46329e3639c8024a89ff70b8417bd26cdeaf804e278256e0bbb03eef SHA512 6777ccb9be483e2af996e3c814cb00a8db3b5d360c5543224265fd28c851bde4dfa9b81930c7928c10714f9ebed9134b1b5cc72f07c633fbb6eb4add7a10915d
+DIST asyncmy-0.2.7.gh.tar.gz 141090 BLAKE2B a16aa12dd68d7e7af36f854b0c05e03870c09087b85cd4154df30b2353fa1e6863def03e07873211594b5dce726b0ea18ceb796503cec83e62ebda9276498a40 SHA512 570add3f83088ed970305af26b17b639aed1954872f52310a4c24a588ce705481203ad5f0e82084d9d6a24a34913bc396b279c57c4b7b715ff2ef4840bc619c9

diff --git a/dev-python/asyncmy/asyncmy-0.2.7.ebuild b/dev-python/asyncmy/asyncmy-0.2.7.ebuild
new file mode 100644
index 000000000..07c5e3498
--- /dev/null
+++ b/dev-python/asyncmy/asyncmy-0.2.7.ebuild
@@ -0,0 +1,73 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_REQ_USE="ssl"
+DISTUTILS_USE_PEP517=poetry
+inherit databases distutils-r1 optfeature
+
+DESCRIPTION="A fast asyncio MySQL driver"
+HOMEPAGE="
+	https://pypi.org/project/asyncmy/
+	https://github.com/long2ice/asyncmy
+"
+SRC_URI="https://github.com/long2ice/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+TEST_S="${S}_test"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+	dev-python/cython[${PYTHON_USEDEP}]
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? (
+		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+		$(emysql --get-depend)
+	)
+"
+
+distutils_enable_tests pytest
+
+src_unpack() {
+	default
+
+	cp -a "${S}" "${TEST_S}" || die
+	rm -r "${TEST_S}"/asyncmy || die
+}
+
+src_test() {
+	emysql --start
+	local sockfile=$(emysql --get-sockfile)
+
+	local myargs=(
+		--user=root
+		--socket="${sockfile}"
+		--silent
+		--execute="ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';"
+	)
+
+	ebegin "Changing database password"
+	mysql "${myargs[@]}"
+	eend $? || emysql --die "Changing database password failed"
+
+	distutils-r1_src_test
+	emysql --stop
+}
+
+python_test() {
+	cd "${T}" || die
+	epytest "${TEST_S}"
+}
+
+python_install() {
+	distutils-r1_python_install
+	find "${ED}"/usr/lib -name '*.md' -delete || die
+	find "${ED}"/usr/lib -name LICENSE -delete || die
+}
+
+pkg_postinst() {
+	optfeature "sha256_password and caching_sha2_password auth methods" dev-python/cryprography
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncmy/
@ 2023-06-02  9:47 Anna Vyalkova
  0 siblings, 0 replies; 9+ messages in thread
From: Anna Vyalkova @ 2023-06-02  9:47 UTC (permalink / raw
  To: gentoo-commits

commit:     ca38bdf3af985c94fa1ed592213e95b1382ab1ae
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Jun  2 09:30:35 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Jun  2 09:47:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca38bdf3

dev-python/asyncmy: add 0.2.8, drop 0.2.5

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/asyncmy/Manifest                                       | 2 +-
 dev-python/asyncmy/{asyncmy-0.2.5.ebuild => asyncmy-0.2.8.ebuild} | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-python/asyncmy/Manifest b/dev-python/asyncmy/Manifest
index aebae1111..4889241c9 100644
--- a/dev-python/asyncmy/Manifest
+++ b/dev-python/asyncmy/Manifest
@@ -1,2 +1,2 @@
-DIST asyncmy-0.2.5.gh.tar.gz 136467 BLAKE2B 1d5f687a5044653f00653d1b07129fdcb8465b7739e9d9d4b7481fbe3f406f0191c0642d46329e3639c8024a89ff70b8417bd26cdeaf804e278256e0bbb03eef SHA512 6777ccb9be483e2af996e3c814cb00a8db3b5d360c5543224265fd28c851bde4dfa9b81930c7928c10714f9ebed9134b1b5cc72f07c633fbb6eb4add7a10915d
 DIST asyncmy-0.2.7.gh.tar.gz 141090 BLAKE2B a16aa12dd68d7e7af36f854b0c05e03870c09087b85cd4154df30b2353fa1e6863def03e07873211594b5dce726b0ea18ceb796503cec83e62ebda9276498a40 SHA512 570add3f83088ed970305af26b17b639aed1954872f52310a4c24a588ce705481203ad5f0e82084d9d6a24a34913bc396b279c57c4b7b715ff2ef4840bc619c9
+DIST asyncmy-0.2.8.gh.tar.gz 141544 BLAKE2B 12b18165706da58cf44a2df70e23c20084baf9f4464ca5aa419f7c824fee241963ae1d3c56d6fb098c804916fb09db6e3fda75376b42c5d83bf913f6b07e7e25 SHA512 949c643f79ce8d614bab664c563ed0a79fed1b30e4229d823a3dd2a1c6f01e37df52f7ccde5cadb663cad6474835ad4039fc8f5c314ae4196d1265e537063512

diff --git a/dev-python/asyncmy/asyncmy-0.2.5.ebuild b/dev-python/asyncmy/asyncmy-0.2.8.ebuild
similarity index 91%
rename from dev-python/asyncmy/asyncmy-0.2.5.ebuild
rename to dev-python/asyncmy/asyncmy-0.2.8.ebuild
index 0523fa2c6..139ab0cca 100644
--- a/dev-python/asyncmy/asyncmy-0.2.5.ebuild
+++ b/dev-python/asyncmy/asyncmy-0.2.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -62,9 +62,10 @@ python_test() {
 	epytest "${TEST_S}"
 }
 
-src_install() {
-	distutils-r1_src_install
+python_install() {
+	distutils-r1_python_install
 	find "${ED}"/usr/lib -name '*.md' -delete || die
+	find "${ED}"/usr/lib -name LICENSE -delete || die
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncmy/
@ 2023-06-02 16:39 Anna Vyalkova
  0 siblings, 0 replies; 9+ messages in thread
From: Anna Vyalkova @ 2023-06-02 16:39 UTC (permalink / raw
  To: gentoo-commits

commit:     c59115df375067955afb540bd010a954a406da88
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Jun  2 16:39:17 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Jun  2 16:39:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c59115df

dev-python/asyncmy: set DISTUTILS_EXT=1

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/asyncmy/asyncmy-0.2.8.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/asyncmy/asyncmy-0.2.8.ebuild b/dev-python/asyncmy/asyncmy-0.2.8.ebuild
index 139ab0cca..8ab2f2f42 100644
--- a/dev-python/asyncmy/asyncmy-0.2.8.ebuild
+++ b/dev-python/asyncmy/asyncmy-0.2.8.ebuild
@@ -6,6 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{10..11} )
 PYTHON_REQ_USE="ssl"
 DISTUTILS_USE_PEP517=poetry
+DISTUTILS_EXT=1
 inherit databases distutils-r1 optfeature
 
 DESCRIPTION="A fast asyncio MySQL driver"


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncmy/
@ 2023-06-02 16:40 Anna Vyalkova
  0 siblings, 0 replies; 9+ messages in thread
From: Anna Vyalkova @ 2023-06-02 16:40 UTC (permalink / raw
  To: gentoo-commits

commit:     98a150fe3ff6ca34dfa4ac4e13455bffc01ea57f
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Jun  2 16:40:25 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Jun  2 16:40:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=98a150fe

dev-python/asyncmy: typo

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/asyncmy/asyncmy-0.2.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/asyncmy/asyncmy-0.2.8.ebuild b/dev-python/asyncmy/asyncmy-0.2.8.ebuild
index 8ab2f2f42..39638e879 100644
--- a/dev-python/asyncmy/asyncmy-0.2.8.ebuild
+++ b/dev-python/asyncmy/asyncmy-0.2.8.ebuild
@@ -70,5 +70,5 @@ python_install() {
 }
 
 pkg_postinst() {
-	optfeature "sha256_password and caching_sha2_password auth methods" dev-python/cryprography
+	optfeature "sha256_password and caching_sha2_password auth methods" dev-python/cryptography
 }


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncmy/
@ 2024-01-22 17:52 Anna Vyalkova
  0 siblings, 0 replies; 9+ messages in thread
From: Anna Vyalkova @ 2024-01-22 17:52 UTC (permalink / raw
  To: gentoo-commits

commit:     cdecb4c74a5280fb6d5c6864373520bd3bb717c4
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Jan 22 17:36:42 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Jan 22 17:51:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cdecb4c7

dev-python/asyncmy: sync with databases.eclass

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/asyncmy/Manifest             | 1 -
 dev-python/asyncmy/asyncmy-0.2.8.ebuild | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/asyncmy/Manifest b/dev-python/asyncmy/Manifest
index 4889241c9f..dcd24947ef 100644
--- a/dev-python/asyncmy/Manifest
+++ b/dev-python/asyncmy/Manifest
@@ -1,2 +1 @@
-DIST asyncmy-0.2.7.gh.tar.gz 141090 BLAKE2B a16aa12dd68d7e7af36f854b0c05e03870c09087b85cd4154df30b2353fa1e6863def03e07873211594b5dce726b0ea18ceb796503cec83e62ebda9276498a40 SHA512 570add3f83088ed970305af26b17b639aed1954872f52310a4c24a588ce705481203ad5f0e82084d9d6a24a34913bc396b279c57c4b7b715ff2ef4840bc619c9
 DIST asyncmy-0.2.8.gh.tar.gz 141544 BLAKE2B 12b18165706da58cf44a2df70e23c20084baf9f4464ca5aa419f7c824fee241963ae1d3c56d6fb098c804916fb09db6e3fda75376b42c5d83bf913f6b07e7e25 SHA512 949c643f79ce8d614bab664c563ed0a79fed1b30e4229d823a3dd2a1c6f01e37df52f7ccde5cadb663cad6474835ad4039fc8f5c314ae4196d1265e537063512

diff --git a/dev-python/asyncmy/asyncmy-0.2.8.ebuild b/dev-python/asyncmy/asyncmy-0.2.8.ebuild
index 39638e8792..00a50fedf5 100644
--- a/dev-python/asyncmy/asyncmy-0.2.8.ebuild
+++ b/dev-python/asyncmy/asyncmy-0.2.8.ebuild
@@ -25,8 +25,8 @@ BDEPEND="
 	dev-python/cython[${PYTHON_USEDEP}]
 	dev-python/setuptools[${PYTHON_USEDEP}]
 	test? (
+		${DATABASES_DEPEND[mysql]}
 		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-		$(emysql --get-depend)
 	)
 "
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncmy/
@ 2024-01-22 17:52 Anna Vyalkova
  0 siblings, 0 replies; 9+ messages in thread
From: Anna Vyalkova @ 2024-01-22 17:52 UTC (permalink / raw
  To: gentoo-commits

commit:     d78798e25889ec63da072705034ebe6027be384f
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Jan 22 17:34:02 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Jan 22 17:51:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d78798e2

dev-python/asyncmy: drop 0.2.7

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/asyncmy/asyncmy-0.2.7.ebuild | 73 ---------------------------------
 1 file changed, 73 deletions(-)

diff --git a/dev-python/asyncmy/asyncmy-0.2.7.ebuild b/dev-python/asyncmy/asyncmy-0.2.7.ebuild
deleted file mode 100644
index 139ab0cca2..0000000000
--- a/dev-python/asyncmy/asyncmy-0.2.7.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-PYTHON_REQ_USE="ssl"
-DISTUTILS_USE_PEP517=poetry
-inherit databases distutils-r1 optfeature
-
-DESCRIPTION="A fast asyncio MySQL driver"
-HOMEPAGE="
-	https://pypi.org/project/asyncmy/
-	https://github.com/long2ice/asyncmy
-"
-SRC_URI="https://github.com/long2ice/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
-TEST_S="${S}_test"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-BDEPEND="
-	dev-python/cython[${PYTHON_USEDEP}]
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	test? (
-		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-		$(emysql --get-depend)
-	)
-"
-
-distutils_enable_tests pytest
-
-src_unpack() {
-	default
-
-	cp -a "${S}" "${TEST_S}" || die
-	rm -r "${TEST_S}"/asyncmy || die
-}
-
-src_test() {
-	emysql --start
-	local sockfile=$(emysql --get-sockfile)
-
-	local myargs=(
-		--user=root
-		--socket="${sockfile}"
-		--silent
-		--execute="ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';"
-	)
-
-	ebegin "Changing database password"
-	mysql "${myargs[@]}"
-	eend $? || emysql --die "Changing database password failed"
-
-	distutils-r1_src_test
-	emysql --stop
-}
-
-python_test() {
-	cd "${T}" || die
-	epytest "${TEST_S}"
-}
-
-python_install() {
-	distutils-r1_python_install
-	find "${ED}"/usr/lib -name '*.md' -delete || die
-	find "${ED}"/usr/lib -name LICENSE -delete || die
-}
-
-pkg_postinst() {
-	optfeature "sha256_password and caching_sha2_password auth methods" dev-python/cryprography
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncmy/
@ 2024-05-14  0:14 Julien Roy
  0 siblings, 0 replies; 9+ messages in thread
From: Julien Roy @ 2024-05-14  0:14 UTC (permalink / raw
  To: gentoo-commits

commit:     903cc8e4be7e9ce7ca00532c5e4ce2d036fad4bb
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon May 13 23:44:47 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon May 13 23:44:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=903cc8e4

dev-python/asyncmy: enable py3.12

Bug: https://bugs.gentoo.org/921776
Closes: https://bugs.gentoo.org/931368
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-python/asyncmy/asyncmy-0.2.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/asyncmy/asyncmy-0.2.8.ebuild b/dev-python/asyncmy/asyncmy-0.2.8.ebuild
index 00a50fedf5..de742a792c 100644
--- a/dev-python/asyncmy/asyncmy-0.2.8.ebuild
+++ b/dev-python/asyncmy/asyncmy-0.2.8.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 PYTHON_REQ_USE="ssl"
 DISTUTILS_USE_PEP517=poetry
 DISTUTILS_EXT=1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-05-14  0:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-05 14:41 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncmy/ Anna Vyalkova
  -- strict thread matches above, loose matches on Subject: below --
2022-12-02  8:51 Anna Vyalkova
2023-02-25 23:27 Anna Vyalkova
2023-06-02  9:47 Anna Vyalkova
2023-06-02 16:39 Anna Vyalkova
2023-06-02 16:40 Anna Vyalkova
2024-01-22 17:52 Anna Vyalkova
2024-01-22 17:52 Anna Vyalkova
2024-05-14  0:14 Julien Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox