public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
@ 2020-03-18 19:13 Andrew Ammerlaan
  0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2020-03-18 19:13 UTC (permalink / raw
  To: gentoo-commits

commit:     5e51e6394f902af5039ba0730bc40d164e16345b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Mar 18 18:56:15 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Mar 18 19:12:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e51e639

dev-python/databases: enable docs

also made attempt to fix tests
but looks like we need to download something
see ebuild for comments

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/databases/Manifest               |  2 +-
 dev-python/databases/databases-0.3.0.ebuild | 60 +++++++++++++++++++++--------
 2 files changed, 45 insertions(+), 17 deletions(-)

diff --git a/dev-python/databases/Manifest b/dev-python/databases/Manifest
index 18f0f24..00a039d 100644
--- a/dev-python/databases/Manifest
+++ b/dev-python/databases/Manifest
@@ -1 +1 @@
-DIST 0.3.0.tar.gz 23741 BLAKE2B 7bd8bb90fea8d86409b060ed8d5bf54b7fcbdcea4b6e8bae5a447d85f392cb5b49951da082f87e71d2cf6918284556121d0ef602a1ca91f4d21f630019457b84 SHA512 8857d376f3a11a3c0ff28e810d9f79dde726762a4d36995ae95110ac66ed9304dd4e96c11ec897e11c95db0312f3da749ae0f5eb8fd6a4a6550d8429b61b6339
+DIST databases-0.3.0.tar.gz 23741 BLAKE2B 7bd8bb90fea8d86409b060ed8d5bf54b7fcbdcea4b6e8bae5a447d85f392cb5b49951da082f87e71d2cf6918284556121d0ef602a1ca91f4d21f630019457b84 SHA512 8857d376f3a11a3c0ff28e810d9f79dde726762a4d36995ae95110ac66ed9304dd4e96c11ec897e11c95db0312f3da749ae0f5eb8fd6a4a6550d8429b61b6339

diff --git a/dev-python/databases/databases-0.3.0.ebuild b/dev-python/databases/databases-0.3.0.ebuild
index f4faf73..bcf028f 100644
--- a/dev-python/databases/databases-0.3.0.ebuild
+++ b/dev-python/databases/databases-0.3.0.ebuild
@@ -3,45 +3,73 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python3_6 )
 
 inherit distutils-r1 eutils
 
 DESCRIPTION="Async database support for Python."
 HOMEPAGE="
-    https://www.encode.io/databases/
-    https://github.com/encode/databases
+	https://www.encode.io/databases/
+	https://github.com/encode/databases
 "
-# SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"  # 0.3.0 is missing for now so using github temporary
-SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz"
+SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+IUSE="doc"
+REQUIRED_USE="x86? ( !doc )"
+
+# Requires 'TEST_DATABASE_URLS' to be set
+# but to what, there is no documentation on this
+# besides this looks like it requires internet so it will fail anyway
+# To fix this, the whole 'TEST_DATABASE_URLS' stuff should probably be commented out
+# or we download whatever 'TEST_DATABASE_URLS' is supposed to point at and the variable
+# to that local directory
+RESTRICT="test"
+
 RDEPEND=">=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}]
-         $(python_gen_cond_dep 'dev-python/aiocontextvars[${PYTHON_USEDEP}]' 'python3_6')"
+	$(python_gen_cond_dep 'dev-python/aiocontextvars[${PYTHON_USEDEP}]' 'python3_6')"
+
+BDEPEND="doc? ( !x86? (
+	dev-python/mkdocs
+	dev-python/mkdocs-material ) )"
 
 # autoflake, codecov also required for tests?
-DEPEND="test? ( dev-python/black[${PYTHON_USEDEP}]
-                dev-python/isort[${PYTHON_USEDEP}]
-                dev-python/mypy[${PYTHON_USEDEP}]
-                dev-python/starlette[${PYTHON_USEDEP}]
-                dev-python/pytest-cov[${PYTHON_USEDEP}]
-                dev-python/requests[${PYTHON_USEDEP}] )"
+DEPEND="test? (
+	dev-python/aiomysql[${PYTHON_USEDEP}]
+	dev-python/aiopg[${PYTHON_USEDEP}]
+	dev-python/aiosqlite[${PYTHON_USEDEP}]
+	dev-python/asyncpg[${PYTHON_USEDEP}]
+	dev-python/black[${PYTHON_USEDEP}]
+	dev-python/isort[${PYTHON_USEDEP}]
+	dev-python/mypy[${PYTHON_USEDEP}]
+	dev-python/psycopg[${PYTHON_USEDEP}]
+	dev-python/pymysql[${PYTHON_USEDEP}]
+	dev-python/starlette[${PYTHON_USEDEP}]
+	dev-python/requests[${PYTHON_USEDEP}] )"
 
 python_prepare_all() {
-    # do not install LICENSE to /usr/
+	# do not install LICENSE to /usr/
 	sed -i -e '/data_files/d' setup.py || die
 
-    distutils-r1_python_prepare_all
+	distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+	default
+	if use doc; then
+		mkdocs build || die "failed to make docs"
+		HTML_DOCS="site"
+	fi
 }
 
 pkg_postinst() {
-    optfeature "postgresql support" dev-python/asyncpg dev-python/psycopg
+	optfeature "postgresql support" dev-python/asyncpg dev-python/psycopg
 	optfeature "mysql support" dev-python/aiomysql dev-python/pymysql
 	optfeature "sqlite support" dev-python/aiosqlite
-    optfeature "postgresql+aiopg support" dev-python/aiopg
+	optfeature "postgresql+aiopg support" dev-python/aiopg
 }
 
 distutils_enable_tests pytest


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
@ 2020-03-19 19:07 Andrew Ammerlaan
  0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2020-03-19 19:07 UTC (permalink / raw
  To: gentoo-commits

commit:     74ac05451d6c2682a6172d8fab8f6243d74d2efe
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Mar 19 19:04:45 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar 19 19:04:45 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=74ac0545

dev-python/databases: enable docs for x86 as well

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/databases/databases-0.3.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-python/databases/databases-0.3.0.ebuild b/dev-python/databases/databases-0.3.0.ebuild
index bcf028f..78a950c 100644
--- a/dev-python/databases/databases-0.3.0.ebuild
+++ b/dev-python/databases/databases-0.3.0.ebuild
@@ -19,7 +19,6 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 IUSE="doc"
-REQUIRED_USE="x86? ( !doc )"
 
 # Requires 'TEST_DATABASE_URLS' to be set
 # but to what, there is no documentation on this
@@ -32,9 +31,9 @@ RESTRICT="test"
 RDEPEND=">=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}]
 	$(python_gen_cond_dep 'dev-python/aiocontextvars[${PYTHON_USEDEP}]' 'python3_6')"
 
-BDEPEND="doc? ( !x86? (
+BDEPEND="doc? (
 	dev-python/mkdocs
-	dev-python/mkdocs-material ) )"
+	dev-python/mkdocs-material )"
 
 # autoflake, codecov also required for tests?
 DEPEND="test? (


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
  2020-05-01 15:39 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2020-05-01 15:36 ` Andrew Ammerlaan
  0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2020-05-01 15:36 UTC (permalink / raw
  To: gentoo-commits

commit:     90f70947af4033cae7a4cb6e324457c6111cc803
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri May  1 15:34:24 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri May  1 15:34:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=90f70947

dev-python/databases: version bump

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/databases/Manifest                                           | 2 +-
 dev-python/databases/{databases-0.3.0.ebuild => databases-0.3.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/databases/Manifest b/dev-python/databases/Manifest
index 00a039d..00f67a2 100644
--- a/dev-python/databases/Manifest
+++ b/dev-python/databases/Manifest
@@ -1 +1 @@
-DIST databases-0.3.0.tar.gz 23741 BLAKE2B 7bd8bb90fea8d86409b060ed8d5bf54b7fcbdcea4b6e8bae5a447d85f392cb5b49951da082f87e71d2cf6918284556121d0ef602a1ca91f4d21f630019457b84 SHA512 8857d376f3a11a3c0ff28e810d9f79dde726762a4d36995ae95110ac66ed9304dd4e96c11ec897e11c95db0312f3da749ae0f5eb8fd6a4a6550d8429b61b6339
+DIST databases-0.3.1.tar.gz 23956 BLAKE2B 14460db0ea3219daeb9ad07cc342ae7690146af60f76e801c2446f61d67990b27110769e202c22999c04aed1ee951f6bbe2a70ffdc4efa6ecffa76af606b211b SHA512 f6c638f88fab94b046cb164c5ceaa9233a7404c5d3871eb536545c6acaabd3a70fd59edf9a2698bdf789a88fda0f081530732c7060f672ebebc4af29e2e7e735

diff --git a/dev-python/databases/databases-0.3.0.ebuild b/dev-python/databases/databases-0.3.1.ebuild
similarity index 100%
rename from dev-python/databases/databases-0.3.0.ebuild
rename to dev-python/databases/databases-0.3.1.ebuild


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
  2020-05-02 10:00 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2020-05-02 10:00 ` Andrew Ammerlaan
  0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2020-05-02 10:00 UTC (permalink / raw
  To: gentoo-commits

commit:     f7b2dd163ab62475ca30b90f3803121d81213602
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat May  2 09:53:41 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat May  2 09:53:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7b2dd16

dev-python/databases: version bump

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/databases/Manifest                       |  2 +-
 ...atabases-0.3.1.ebuild => databases-0.3.2.ebuild} | 21 ++++++---------------
 2 files changed, 7 insertions(+), 16 deletions(-)

diff --git a/dev-python/databases/Manifest b/dev-python/databases/Manifest
index 00f67a2..a5d3cd6 100644
--- a/dev-python/databases/Manifest
+++ b/dev-python/databases/Manifest
@@ -1 +1 @@
-DIST databases-0.3.1.tar.gz 23956 BLAKE2B 14460db0ea3219daeb9ad07cc342ae7690146af60f76e801c2446f61d67990b27110769e202c22999c04aed1ee951f6bbe2a70ffdc4efa6ecffa76af606b211b SHA512 f6c638f88fab94b046cb164c5ceaa9233a7404c5d3871eb536545c6acaabd3a70fd59edf9a2698bdf789a88fda0f081530732c7060f672ebebc4af29e2e7e735
+DIST databases-0.3.2.tar.gz 24257 BLAKE2B 83d2f35462e4da27e8a4c219dc991de1ae2356cdb1a730d61a52448a2fdbd156df8f685bfa2ae2e61f2b4c4b83143badd25c925cbeb3ab669be47ee217f33ebf SHA512 dc5894e240709ac2f71eca816c1fed745478811bf2c5c2faca5aec7f115af5a15d9acd684816d09d94ff7cd2d4450eca14ff5874cf5ec5d62261f19a6439ba0c

diff --git a/dev-python/databases/databases-0.3.1.ebuild b/dev-python/databases/databases-0.3.2.ebuild
similarity index 89%
rename from dev-python/databases/databases-0.3.1.ebuild
rename to dev-python/databases/databases-0.3.2.ebuild
index 78a950c..c87977f 100644
--- a/dev-python/databases/databases-0.3.1.ebuild
+++ b/dev-python/databases/databases-0.3.2.ebuild
@@ -5,7 +5,10 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_6 )
 
-inherit distutils-r1 eutils
+DOCBUILDER="mkdocs"
+DOCDEPEND="dev-python/mkdocs-material"
+
+inherit distutils-r1 docs eutils
 
 DESCRIPTION="Async database support for Python."
 HOMEPAGE="
@@ -31,10 +34,6 @@ RESTRICT="test"
 RDEPEND=">=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}]
 	$(python_gen_cond_dep 'dev-python/aiocontextvars[${PYTHON_USEDEP}]' 'python3_6')"
 
-BDEPEND="doc? (
-	dev-python/mkdocs
-	dev-python/mkdocs-material )"
-
 # autoflake, codecov also required for tests?
 DEPEND="test? (
 	dev-python/aiomysql[${PYTHON_USEDEP}]
@@ -49,6 +48,8 @@ DEPEND="test? (
 	dev-python/starlette[${PYTHON_USEDEP}]
 	dev-python/requests[${PYTHON_USEDEP}] )"
 
+distutils_enable_tests pytest
+
 python_prepare_all() {
 	# do not install LICENSE to /usr/
 	sed -i -e '/data_files/d' setup.py || die
@@ -56,19 +57,9 @@ python_prepare_all() {
 	distutils-r1_python_prepare_all
 }
 
-python_compile_all() {
-	default
-	if use doc; then
-		mkdocs build || die "failed to make docs"
-		HTML_DOCS="site"
-	fi
-}
-
 pkg_postinst() {
 	optfeature "postgresql support" dev-python/asyncpg dev-python/psycopg
 	optfeature "mysql support" dev-python/aiomysql dev-python/pymysql
 	optfeature "sqlite support" dev-python/aiosqlite
 	optfeature "postgresql+aiopg support" dev-python/aiopg
 }
-
-distutils_enable_tests pytest


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
@ 2020-09-24 12:50 Andrew Ammerlaan
  0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2020-09-24 12:50 UTC (permalink / raw
  To: gentoo-commits

commit:     7083710f9a37e0737757bf2471a3bcefe9cd92c7
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Sep 24 12:42:41 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Sep 24 12:42:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7083710f

dev-python/databases: bump to py3.7

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/databases/databases-0.3.2.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/databases/databases-0.3.2.ebuild b/dev-python/databases/databases-0.3.2.ebuild
index c87977f1..8567e802 100644
--- a/dev-python/databases/databases-0.3.2.ebuild
+++ b/dev-python/databases/databases-0.3.2.ebuild
@@ -3,12 +3,12 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_7 )
 
 DOCBUILDER="mkdocs"
 DOCDEPEND="dev-python/mkdocs-material"
 
-inherit distutils-r1 docs eutils
+inherit distutils-r1 docs optfeature
 
 DESCRIPTION="Async database support for Python."
 HOMEPAGE="
@@ -40,13 +40,13 @@ DEPEND="test? (
 	dev-python/aiopg[${PYTHON_USEDEP}]
 	dev-python/aiosqlite[${PYTHON_USEDEP}]
 	dev-python/asyncpg[${PYTHON_USEDEP}]
-	dev-python/black[${PYTHON_USEDEP}]
 	dev-python/isort[${PYTHON_USEDEP}]
 	dev-python/mypy[${PYTHON_USEDEP}]
 	dev-python/psycopg[${PYTHON_USEDEP}]
 	dev-python/pymysql[${PYTHON_USEDEP}]
 	dev-python/starlette[${PYTHON_USEDEP}]
-	dev-python/requests[${PYTHON_USEDEP}] )"
+	dev-python/requests[${PYTHON_USEDEP}]
+)"
 
 distutils_enable_tests pytest
 


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
@ 2020-09-24 12:50 Andrew Ammerlaan
  0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2020-09-24 12:50 UTC (permalink / raw
  To: gentoo-commits

commit:     cb9985b457d0112ea69ef59ef50d111a6d2db959
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Sep 24 12:46:09 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Sep 24 12:46:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cb9985b4

dev-python/databases: drop conditional dep

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/databases/databases-0.3.2.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/databases/databases-0.3.2.ebuild b/dev-python/databases/databases-0.3.2.ebuild
index 8567e802..0cd3322e 100644
--- a/dev-python/databases/databases-0.3.2.ebuild
+++ b/dev-python/databases/databases-0.3.2.ebuild
@@ -31,8 +31,7 @@ IUSE="doc"
 # to that local directory
 RESTRICT="test"
 
-RDEPEND=">=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}]
-	$(python_gen_cond_dep 'dev-python/aiocontextvars[${PYTHON_USEDEP}]' 'python3_6')"
+RDEPEND=">=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}]"
 
 # autoflake, codecov also required for tests?
 DEPEND="test? (


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
  2020-12-18 16:26 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2020-12-18 15:52 ` Andrew Ammerlaan
  0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2020-12-18 15:52 UTC (permalink / raw
  To: gentoo-commits

commit:     2f4ba066c52aba555ba0b94da5fb40cbc3af5914
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Dec 18 15:52:46 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Dec 18 15:52:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f4ba066

dev-python/databases: version bump 0.4.1, add py3.8

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/databases/Manifest                                           | 2 +-
 dev-python/databases/{databases-0.3.2.ebuild => databases-0.4.1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/databases/Manifest b/dev-python/databases/Manifest
index a5d3cd67..7a97fb82 100644
--- a/dev-python/databases/Manifest
+++ b/dev-python/databases/Manifest
@@ -1 +1 @@
-DIST databases-0.3.2.tar.gz 24257 BLAKE2B 83d2f35462e4da27e8a4c219dc991de1ae2356cdb1a730d61a52448a2fdbd156df8f685bfa2ae2e61f2b4c4b83143badd25c925cbeb3ab669be47ee217f33ebf SHA512 dc5894e240709ac2f71eca816c1fed745478811bf2c5c2faca5aec7f115af5a15d9acd684816d09d94ff7cd2d4450eca14ff5874cf5ec5d62261f19a6439ba0c
+DIST databases-0.4.1.tar.gz 26359 BLAKE2B e1974e48560b186c4d9f017c3468ccfa425deef8aea6541c17076c1567036eabb16d3267178ca02b5f8e1aaf1cc4b5a0cce1431ed496b1852bb17a9d74b6705c SHA512 9df0bf1597015f120cef44fc270f353b75d712bcc9cc635b55d69892ba1f4ead9402230382a74caaefff75f4fac2d29e79d3014a8658404072e460c5a1d22ce1

diff --git a/dev-python/databases/databases-0.3.2.ebuild b/dev-python/databases/databases-0.4.1.ebuild
similarity index 98%
rename from dev-python/databases/databases-0.3.2.ebuild
rename to dev-python/databases/databases-0.4.1.ebuild
index 9eefda38..9b6766c2 100644
--- a/dev-python/databases/databases-0.3.2.ebuild
+++ b/dev-python/databases/databases-0.4.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_7 )
+PYTHON_COMPAT=( python3_{7,8} )
 
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="dev-python/mkdocs-material"


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
@ 2021-05-26  1:57 Anna Vyalkova
  0 siblings, 0 replies; 16+ messages in thread
From: Anna Vyalkova @ 2021-05-26  1:57 UTC (permalink / raw
  To: gentoo-commits

commit:     3fc4fdd1f5b1c382817d6e58de487c3f0f26adda
Author:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed May 26 01:28:14 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed May 26 01:57:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3fc4fdd1

dev-python/databases: add 0.4.3, drop 0.4.1

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

 dev-python/databases/Manifest                      |  2 +-
 ...tabases-0.4.1.ebuild => databases-0.4.3.ebuild} | 34 +++++++++++-----------
 2 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/dev-python/databases/Manifest b/dev-python/databases/Manifest
index 7a97fb822..ede27d281 100644
--- a/dev-python/databases/Manifest
+++ b/dev-python/databases/Manifest
@@ -1 +1 @@
-DIST databases-0.4.1.tar.gz 26359 BLAKE2B e1974e48560b186c4d9f017c3468ccfa425deef8aea6541c17076c1567036eabb16d3267178ca02b5f8e1aaf1cc4b5a0cce1431ed496b1852bb17a9d74b6705c SHA512 9df0bf1597015f120cef44fc270f353b75d712bcc9cc635b55d69892ba1f4ead9402230382a74caaefff75f4fac2d29e79d3014a8658404072e460c5a1d22ce1
+DIST databases-0.4.3.tar.gz 26517 BLAKE2B 38b9f86e42740a723f4022b225913e0e7a2c635eb34793fcbf62efa0917ddb6b7ee3b59cce7f4c8503aef31befb0caea3fb3e655617606296cb8ae1bb4cebfc7 SHA512 aa49f1a33edd3bf9ae7aa203dcef4941d1a1766c930cbe34405caf3dca0801bbca494ec39357591b6339977b86294d32a031bf2020f206436e7d19edc6a8e158

diff --git a/dev-python/databases/databases-0.4.1.ebuild b/dev-python/databases/databases-0.4.3.ebuild
similarity index 58%
rename from dev-python/databases/databases-0.4.1.ebuild
rename to dev-python/databases/databases-0.4.3.ebuild
index 99c8e4e2a..0330e7794 100644
--- a/dev-python/databases/databases-0.4.1.ebuild
+++ b/dev-python/databases/databases-0.4.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{8..9} )
 
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="dev-python/mkdocs-material"
@@ -21,28 +21,15 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-IUSE="doc"
+RDEPEND="<dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}]"
 
-# Requires 'TEST_DATABASE_URLS' to be set
-# but to what, there is no documentation on this
-# besides this looks like it requires internet so it will fail anyway
-# To fix this, the whole 'TEST_DATABASE_URLS' stuff should probably be commented out
-# or we download whatever 'TEST_DATABASE_URLS' is supposed to point at and the variable
-# to that local directory
-RESTRICT="test"
-
-RDEPEND=">=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}]"
-
-# autoflake, codecov also required for tests?
-DEPEND="test? (
-	dev-python/aiomysql[${PYTHON_USEDEP}]
+BDEPEND="test? (
 	dev-python/aiopg[${PYTHON_USEDEP}]
 	dev-python/aiosqlite[${PYTHON_USEDEP}]
 	dev-python/asyncpg[${PYTHON_USEDEP}]
 	dev-python/psycopg[${PYTHON_USEDEP}]
 	dev-python/pymysql[${PYTHON_USEDEP}]
 	dev-python/starlette[${PYTHON_USEDEP}]
-	dev-python/requests[${PYTHON_USEDEP}]
 )"
 
 distutils_enable_tests pytest
@@ -50,13 +37,26 @@ distutils_enable_tests pytest
 python_prepare_all() {
 	# do not install LICENSE to /usr/
 	sed -i -e '/data_files/d' setup.py || die
+	# fix tests
+	sed -i -e '/databases.backends.mysql/d' tests/test_connection_options.py || die
 
 	distutils-r1_python_prepare_all
 }
 
+python_test() {
+	TEST_DATABASE_URLS="" epytest \
+		--deselect tests/test_connection_options.py::test_mysql_pool_size \
+		--deselect tests/test_connection_options.py::test_mysql_explicit_pool_size \
+		--deselect tests/test_connection_options.py::test_mysql_ssl \
+		--deselect tests/test_connection_options.py::test_mysql_explicit_ssl \
+		--deselect tests/test_connection_options.py::test_mysql_pool_recycle \
+		--deselect tests/test_databases.py \
+		--deselect tests/test_integration.py::test_integration
+}
+
 pkg_postinst() {
 	optfeature "postgresql support" dev-python/asyncpg dev-python/psycopg
-	optfeature "mysql support" dev-python/aiomysql dev-python/pymysql
+	optfeature "mysql support" dev-python/pymysql
 	optfeature "sqlite support" dev-python/aiosqlite
 	optfeature "postgresql+aiopg support" dev-python/aiopg
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
@ 2021-06-08 19:21 Anna Vyalkova
  0 siblings, 0 replies; 16+ messages in thread
From: Anna Vyalkova @ 2021-06-08 19:21 UTC (permalink / raw
  To: gentoo-commits

commit:     4e241cbbd068dc4c52daa71f3e46812c603a7187
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Jun  8 14:23:21 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Jun  8 19:21:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e241cbb

dev-python/databases: add missing test dep

Closes: https://bugs.gentoo.org/792255
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/databases/databases-0.4.3.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/databases/databases-0.4.3.ebuild b/dev-python/databases/databases-0.4.3.ebuild
index 0330e7794..ac93c89e7 100644
--- a/dev-python/databases/databases-0.4.3.ebuild
+++ b/dev-python/databases/databases-0.4.3.ebuild
@@ -26,6 +26,7 @@ RDEPEND="<dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}]"
 BDEPEND="test? (
 	dev-python/aiopg[${PYTHON_USEDEP}]
 	dev-python/aiosqlite[${PYTHON_USEDEP}]
+	dev-python/async_timeout[${PYTHON_USEDEP}]
 	dev-python/asyncpg[${PYTHON_USEDEP}]
 	dev-python/psycopg[${PYTHON_USEDEP}]
 	dev-python/pymysql[${PYTHON_USEDEP}]


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
@ 2021-12-14  7:14 Anna Vyalkova
  0 siblings, 0 replies; 16+ messages in thread
From: Anna Vyalkova @ 2021-12-14  7:14 UTC (permalink / raw
  To: gentoo-commits

commit:     5eff5ec9cff2a945d27f9f65b8da46b8db32b9dc
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Dec 10 07:42:49 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Dec 14 07:02:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5eff5ec9

dev-python/databases: add 0.5.3

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

 dev-python/databases/Manifest               |  1 +
 dev-python/databases/databases-0.5.3.ebuild | 69 +++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/dev-python/databases/Manifest b/dev-python/databases/Manifest
index ede27d281..c0460b3aa 100644
--- a/dev-python/databases/Manifest
+++ b/dev-python/databases/Manifest
@@ -1 +1,2 @@
 DIST databases-0.4.3.tar.gz 26517 BLAKE2B 38b9f86e42740a723f4022b225913e0e7a2c635eb34793fcbf62efa0917ddb6b7ee3b59cce7f4c8503aef31befb0caea3fb3e655617606296cb8ae1bb4cebfc7 SHA512 aa49f1a33edd3bf9ae7aa203dcef4941d1a1766c930cbe34405caf3dca0801bbca494ec39357591b6339977b86294d32a031bf2020f206436e7d19edc6a8e158
+DIST databases-0.5.3.tar.gz 28342 BLAKE2B dcf8533a49b92a325bfda1440fd5bac3f9bd69751496c6fcdf72c422cc19c552a7458dc4ea0607a2a1ad9ade9afbb8cac00e178c29b6b11f7011bd4eae1f70a0 SHA512 bd0c4f1bf0f81e017ea55e41a6d4821ee17e0f995b600a50955fba68841443147dd234534b9c72d753b99785a5a08ac6e3d839894ec4760c602372cccbd4c1c0

diff --git a/dev-python/databases/databases-0.5.3.ebuild b/dev-python/databases/databases-0.5.3.ebuild
new file mode 100644
index 000000000..27e5cb603
--- /dev/null
+++ b/dev-python/databases/databases-0.5.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-material"
+
+inherit distutils-r1 docs optfeature
+
+DESCRIPTION="Async database support for Python."
+HOMEPAGE="
+	https://www.encode.io/databases/
+	https://github.com/encode/databases
+"
+SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	>=dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}]
+	<dev-python/sqlalchemy-1.5.0[${PYTHON_USEDEP}]
+"
+
+BDEPEND="test? (
+	dev-python/aiopg[${PYTHON_USEDEP}]
+	dev-python/aiosqlite[${PYTHON_USEDEP}]
+	dev-python/async_timeout[${PYTHON_USEDEP}]
+	dev-python/asyncpg[${PYTHON_USEDEP}]
+	dev-python/psycopg[${PYTHON_USEDEP}]
+	dev-python/pymysql[${PYTHON_USEDEP}]
+	dev-python/starlette[${PYTHON_USEDEP}]
+)"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+	tests/test_connection_options.py::test_mysql_pool_size
+	tests/test_connection_options.py::test_mysql_explicit_pool_size
+	tests/test_connection_options.py::test_mysql_ssl
+	tests/test_connection_options.py::test_mysql_explicit_ssl
+	tests/test_connection_options.py::test_mysql_pool_recycle
+	tests/test_databases.py
+	tests/test_integration.py::test_integration
+)
+
+python_prepare_all() {
+	# do not install LICENSE to /usr/
+	sed -i -e '/data_files/d' setup.py || die
+	# fix tests
+	sed -i -e '/databases.backends.mysql/d' tests/test_connection_options.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+python_test() {
+	TEST_DATABASE_URLS="" epytest
+}
+
+pkg_postinst() {
+	optfeature "postgresql support" dev-python/asyncpg dev-python/psycopg
+	optfeature "mysql support" dev-python/pymysql
+	optfeature "sqlite support" dev-python/aiosqlite
+	optfeature "postgresql+aiopg support" dev-python/aiopg
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
  2022-05-12  9:14 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2022-05-12  9:14 ` Andrew Ammerlaan
  0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2022-05-12  9:14 UTC (permalink / raw
  To: gentoo-commits

commit:     a5f92996cc1bb4f45c8f49a4c35588c7e24e8de6
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu May 12 09:13:00 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu May 12 09:13:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5f92996

dev-python/databases: drop 0.4.3

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/databases/Manifest               |  1 -
 dev-python/databases/databases-0.4.3.ebuild | 63 -----------------------------
 2 files changed, 64 deletions(-)

diff --git a/dev-python/databases/Manifest b/dev-python/databases/Manifest
index c0460b3aa..0debb7b5b 100644
--- a/dev-python/databases/Manifest
+++ b/dev-python/databases/Manifest
@@ -1,2 +1 @@
-DIST databases-0.4.3.tar.gz 26517 BLAKE2B 38b9f86e42740a723f4022b225913e0e7a2c635eb34793fcbf62efa0917ddb6b7ee3b59cce7f4c8503aef31befb0caea3fb3e655617606296cb8ae1bb4cebfc7 SHA512 aa49f1a33edd3bf9ae7aa203dcef4941d1a1766c930cbe34405caf3dca0801bbca494ec39357591b6339977b86294d32a031bf2020f206436e7d19edc6a8e158
 DIST databases-0.5.3.tar.gz 28342 BLAKE2B dcf8533a49b92a325bfda1440fd5bac3f9bd69751496c6fcdf72c422cc19c552a7458dc4ea0607a2a1ad9ade9afbb8cac00e178c29b6b11f7011bd4eae1f70a0 SHA512 bd0c4f1bf0f81e017ea55e41a6d4821ee17e0f995b600a50955fba68841443147dd234534b9c72d753b99785a5a08ac6e3d839894ec4760c602372cccbd4c1c0

diff --git a/dev-python/databases/databases-0.4.3.ebuild b/dev-python/databases/databases-0.4.3.ebuild
deleted file mode 100644
index ac93c89e7..000000000
--- a/dev-python/databases/databases-0.4.3.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="dev-python/mkdocs-material"
-
-inherit distutils-r1 docs optfeature
-
-DESCRIPTION="Async database support for Python."
-HOMEPAGE="
-	https://www.encode.io/databases/
-	https://github.com/encode/databases
-"
-SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="<dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}]"
-
-BDEPEND="test? (
-	dev-python/aiopg[${PYTHON_USEDEP}]
-	dev-python/aiosqlite[${PYTHON_USEDEP}]
-	dev-python/async_timeout[${PYTHON_USEDEP}]
-	dev-python/asyncpg[${PYTHON_USEDEP}]
-	dev-python/psycopg[${PYTHON_USEDEP}]
-	dev-python/pymysql[${PYTHON_USEDEP}]
-	dev-python/starlette[${PYTHON_USEDEP}]
-)"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-	# do not install LICENSE to /usr/
-	sed -i -e '/data_files/d' setup.py || die
-	# fix tests
-	sed -i -e '/databases.backends.mysql/d' tests/test_connection_options.py || die
-
-	distutils-r1_python_prepare_all
-}
-
-python_test() {
-	TEST_DATABASE_URLS="" epytest \
-		--deselect tests/test_connection_options.py::test_mysql_pool_size \
-		--deselect tests/test_connection_options.py::test_mysql_explicit_pool_size \
-		--deselect tests/test_connection_options.py::test_mysql_ssl \
-		--deselect tests/test_connection_options.py::test_mysql_explicit_ssl \
-		--deselect tests/test_connection_options.py::test_mysql_pool_recycle \
-		--deselect tests/test_databases.py \
-		--deselect tests/test_integration.py::test_integration
-}
-
-pkg_postinst() {
-	optfeature "postgresql support" dev-python/asyncpg dev-python/psycopg
-	optfeature "mysql support" dev-python/pymysql
-	optfeature "sqlite support" dev-python/aiosqlite
-	optfeature "postgresql+aiopg support" dev-python/aiopg
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
@ 2022-07-03 11:40 Andrew Ammerlaan
  0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2022-07-03 11:40 UTC (permalink / raw
  To: gentoo-commits

commit:     7e95416c5dee807277bb29d1799cbb6f70aa8ffc
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  3 11:40:31 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Jul  3 11:40:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7e95416c

dev-python/databases: async_timeout renamed

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

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

diff --git a/dev-python/databases/databases-0.5.3.ebuild b/dev-python/databases/databases-0.5.3.ebuild
index 27e5cb603..29ce25baf 100644
--- a/dev-python/databases/databases-0.5.3.ebuild
+++ b/dev-python/databases/databases-0.5.3.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
 BDEPEND="test? (
 	dev-python/aiopg[${PYTHON_USEDEP}]
 	dev-python/aiosqlite[${PYTHON_USEDEP}]
-	dev-python/async_timeout[${PYTHON_USEDEP}]
+	dev-python/async-timeout[${PYTHON_USEDEP}]
 	dev-python/asyncpg[${PYTHON_USEDEP}]
 	dev-python/psycopg[${PYTHON_USEDEP}]
 	dev-python/pymysql[${PYTHON_USEDEP}]


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
@ 2022-11-11 18:50 Anna Vyalkova
  0 siblings, 0 replies; 16+ messages in thread
From: Anna Vyalkova @ 2022-11-11 18:50 UTC (permalink / raw
  To: gentoo-commits

commit:     275b4d7c2016639d7d9efd5f02b290cd8854afe4
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Nov 11 18:49:47 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Nov 11 18:49:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=275b4d7c

dev-python/databases: add 0.6.1

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

 dev-python/databases/Manifest               |  1 +
 dev-python/databases/databases-0.6.1.ebuild | 96 +++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)

diff --git a/dev-python/databases/Manifest b/dev-python/databases/Manifest
index 0debb7b5b..cf88b7e63 100644
--- a/dev-python/databases/Manifest
+++ b/dev-python/databases/Manifest
@@ -1 +1,2 @@
 DIST databases-0.5.3.tar.gz 28342 BLAKE2B dcf8533a49b92a325bfda1440fd5bac3f9bd69751496c6fcdf72c422cc19c552a7458dc4ea0607a2a1ad9ade9afbb8cac00e178c29b6b11f7011bd4eae1f70a0 SHA512 bd0c4f1bf0f81e017ea55e41a6d4821ee17e0f995b600a50955fba68841443147dd234534b9c72d753b99785a5a08ac6e3d839894ec4760c602372cccbd4c1c0
+DIST databases-0.6.1.tar.gz 31487 BLAKE2B b325112c7bcab133d113e8f652d636f26fccff7ec4849868ef8b437ed1939d01819bce63f7962edab030c6b3a232c5908b28cefa20fae3be28a4db1662c64b34 SHA512 6573dbe9158963e8fc3a79ad32a2c17bac1c1a58fc436f2a8223f8c390b264e814a08c807f59e5c8c54f1769a804ead47f9b44622c363da0cc74528d87b1484e

diff --git a/dev-python/databases/databases-0.6.1.ebuild b/dev-python/databases/databases-0.6.1.ebuild
new file mode 100644
index 000000000..a5cdf2f3a
--- /dev/null
+++ b/dev-python/databases/databases-0.6.1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-material"
+
+inherit databases distutils-r1 docs optfeature
+
+DESCRIPTION="Async database support for Python"
+HOMEPAGE="
+	https://www.encode.io/databases/
+	https://github.com/encode/databases
+"
+SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="<=dev-python/sqlalchemy-1.4.41[${PYTHON_USEDEP}]"
+BDEPEND="test? (
+	dev-python/aiomysql[${PYTHON_USEDEP}]
+	dev-python/aiopg[${PYTHON_USEDEP}]
+	dev-python/aiosqlite[${PYTHON_USEDEP}]
+	dev-python/async-timeout[${PYTHON_USEDEP}]
+	dev-python/asyncmy[${PYTHON_USEDEP}]
+	dev-python/asyncpg[${PYTHON_USEDEP}]
+	dev-python/psycopg:2[${PYTHON_USEDEP}]
+	dev-python/pymysql[${PYTHON_USEDEP}]
+	dev-python/sqlalchemy[sqlite,${PYTHON_USEDEP}]
+	dev-python/starlette[${PYTHON_USEDEP}]
+)"
+
+distutils_enable_tests pytest
+
+EEPYTEST_DESELECT=(
+	tests/test_connection_options.py::test_mysql_pool_size
+	tests/test_connection_options.py::test_mysql_explicit_pool_size
+	tests/test_connection_options.py::test_mysql_ssl
+	tests/test_connection_options.py::test_mysql_explicit_ssl
+	tests/test_connection_options.py::test_mysql_pool_recycle
+	tests/test_databases.py
+	tests/test_integration.py::test_integration
+)
+
+python_prepare_all() {
+	# fix tests
+	#sed -i -e '/databases.backends.mysql/d' tests/test_connection_options.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+src_test() {
+	local databases=(
+		"sqlite:///testsuite"
+		"sqlite+aiosqlite:///testsuite"
+		"mysql://root@127.0.0.1:3333/testsuite"
+		"mysql+aiomysql://root@127.0.0.1:3333/testsuite"
+		"mysql+asyncmy://root@127.0.0.1:3333/testsuite"
+		"postgresql://postgres@127.0.0.1:65432/"
+		"postgresql+aiopg://postgres@127.0.0.1:65432/"
+		"postgresql+asyncpg://postgres@127.0.0.1:65432/"
+	)
+
+	local -x TEST_DATABASE_URLS=$(printf "%s," "${databases[@]}")
+	TEST_DATABASE_URLS=${TEST_DATABASE_URLS::-1}
+
+	emysql --start 3333
+	epostgres --start 65432
+
+	ebegin "Creating mysql database 'testsuite'"
+	mysql --user=root --socket=$(emysql --get-sockfile) --silent \
+		--execute="CREATE DATABASE testsuite;"
+	eend $? || emysql --die "Creating mysql database failed"
+
+	distutils-r1_src_test
+
+	emysql --stop
+	epostgres--stop
+}
+
+pkg_postinst() {
+	optfeature "fancy logs" dev-python/click
+	optfeature "mysql support" dev-python/pymysql
+	optfeature "mysql+aiomysql support" dev-python/aiomysql
+	optfeature "mysql+asyncmy support" dev-python/asyncmy
+	optfeature "postgresql support" dev-python/psycopg:2
+	optfeature "postgresql+asyncpg support" dev-python/asyncpg
+	optfeature "postgresql+aiopg support" dev-python/aiopg
+	optfeature "sqlite+aiosqlite support" dev-python/aiosqlite
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
@ 2022-11-11 18:55 Anna Vyalkova
  0 siblings, 0 replies; 16+ messages in thread
From: Anna Vyalkova @ 2022-11-11 18:55 UTC (permalink / raw
  To: gentoo-commits

commit:     85743e4ca8eb86ac8009aa55ad3e01674e308875
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Nov 11 18:50:36 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Nov 11 18:50:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85743e4c

dev-python/databases: add myself as a maintainer

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

 dev-python/databases/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-python/databases/metadata.xml b/dev-python/databases/metadata.xml
index a507be0a7..e0260e99f 100644
--- a/dev-python/databases/metadata.xml
+++ b/dev-python/databases/metadata.xml
@@ -6,4 +6,8 @@
         <email>piotr.staroszczyk@get24.org</email>
         <name>Piotr Staroszczyk</name>
     </maintainer>
+    <maintainer type="person">
+        <email>cyber+gentoo@sysrq.in</email>
+        <name>Anna</name>
+    </maintainer>
 </pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
@ 2022-11-17 15:38 Anna Vyalkova
  0 siblings, 0 replies; 16+ messages in thread
From: Anna Vyalkova @ 2022-11-17 15:38 UTC (permalink / raw
  To: gentoo-commits

commit:     147c18e92331f60e694ae9dacba06d0d0ba7deeb
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Nov 17 14:06:33 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Nov 17 14:06:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=147c18e9

dev-python/databases: add missing docs dep

Closes: https://bugs.gentoo.org/881613
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/databases/databases-0.6.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/databases/databases-0.6.1.ebuild b/dev-python/databases/databases-0.6.1.ebuild
index a5cdf2f3a..d65032845 100644
--- a/dev-python/databases/databases-0.6.1.ebuild
+++ b/dev-python/databases/databases-0.6.1.ebuild
@@ -3,12 +3,12 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..11} )
-DISTUTILS_USE_PEP517=setuptools
-
 DOCS_BUILDER="mkdocs"
+DOCS_AUTODOC=1
 DOCS_DEPEND="dev-python/mkdocs-material"
 
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
 inherit databases distutils-r1 docs optfeature
 
 DESCRIPTION="Async database support for Python"


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/
@ 2022-11-17 22:32 Henri Gasc
  0 siblings, 0 replies; 16+ messages in thread
From: Henri Gasc @ 2022-11-17 22:32 UTC (permalink / raw
  To: gentoo-commits

commit:     3b7879bb44ad0f21d1b4ad302adadb5b0eb7cb70
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Thu Nov 17 22:30:25 2022 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Thu Nov 17 22:30:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b7879bb

dev-python/databases: add github upstream metadata

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/databases/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-python/databases/metadata.xml b/dev-python/databases/metadata.xml
index e0260e99f..0d7a6f194 100644
--- a/dev-python/databases/metadata.xml
+++ b/dev-python/databases/metadata.xml
@@ -10,4 +10,7 @@
         <email>cyber+gentoo@sysrq.in</email>
         <name>Anna</name>
     </maintainer>
+    <upstream>
+        <remote-id type="github">encode/databases</remote-id>
+    </upstream>
 </pkgmetadata>


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

end of thread, other threads:[~2022-11-17 22:32 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-14  7:14 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/databases/ Anna Vyalkova
  -- strict thread matches above, loose matches on Subject: below --
2022-11-17 22:32 Henri Gasc
2022-11-17 15:38 Anna Vyalkova
2022-11-11 18:55 Anna Vyalkova
2022-11-11 18:50 Anna Vyalkova
2022-07-03 11:40 Andrew Ammerlaan
2022-05-12  9:14 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2022-05-12  9:14 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-06-08 19:21 Anna Vyalkova
2021-05-26  1:57 Anna Vyalkova
2020-12-18 16:26 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-12-18 15:52 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-09-24 12:50 Andrew Ammerlaan
2020-09-24 12:50 Andrew Ammerlaan
2020-05-02 10:00 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-05-02 10:00 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-05-01 15:39 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-05-01 15:36 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-19 19:07 Andrew Ammerlaan
2020-03-18 19:13 Andrew Ammerlaan

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