* [gentoo-commits] repo/proj/guru:master commit in: dev-python/databases/
@ 2020-03-24 16:37 Michał Górny
0 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2020-03-24 16:37 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: Michał Górny <mgorny <AT> gentoo <DOT> org>
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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/databases/
@ 2020-03-24 16:37 Michał Górny
0 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2020-03-24 16:37 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: Michał Górny <mgorny <AT> gentoo <DOT> org>
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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/databases/
@ 2020-05-01 15:39 Andrew Ammerlaan
0 siblings, 0 replies; 11+ messages in thread
From: Andrew Ammerlaan @ 2020-05-01 15:39 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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/databases/
@ 2020-05-02 10:00 Andrew Ammerlaan
0 siblings, 0 replies; 11+ 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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/databases/
2020-09-24 12:50 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2020-09-24 13:01 ` Andrew Ammerlaan
0 siblings, 0 replies; 11+ messages in thread
From: Andrew Ammerlaan @ 2020-09-24 13:01 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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/databases/
2020-09-24 12:50 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2020-09-24 13:01 ` Andrew Ammerlaan
0 siblings, 0 replies; 11+ messages in thread
From: Andrew Ammerlaan @ 2020-09-24 13:01 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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/databases/
@ 2020-12-18 16:26 Andrew Ammerlaan
0 siblings, 0 replies; 11+ messages in thread
From: Andrew Ammerlaan @ 2020-12-18 16:26 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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/databases/
@ 2021-05-26 13:42 Andrew Ammerlaan
0 siblings, 0 replies; 11+ messages in thread
From: Andrew Ammerlaan @ 2021-05-26 13:42 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: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/databases/
@ 2021-06-09 3:39 Theo Anderson
0 siblings, 0 replies; 11+ messages in thread
From: Theo Anderson @ 2021-06-09 3:39 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: Theo Anderson <telans <AT> posteo <DOT> de>
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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/databases/
@ 2022-05-12 9:14 Andrew Ammerlaan
0 siblings, 0 replies; 11+ 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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/databases/
2022-07-03 11:40 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2022-07-03 11:40 ` Andrew Ammerlaan
0 siblings, 0 replies; 11+ 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] 11+ messages in thread
end of thread, other threads:[~2022-07-03 11:40 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-26 13:42 [gentoo-commits] repo/proj/guru:master commit in: dev-python/databases/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2022-07-03 11:40 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-07-03 11:40 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2022-05-12 9:14 Andrew Ammerlaan
2021-06-09 3:39 Theo Anderson
2020-12-18 16:26 Andrew Ammerlaan
2020-09-24 12:50 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-09-24 13:01 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-09-24 12:50 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-09-24 13:01 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-05-02 10:00 Andrew Ammerlaan
2020-05-01 15:39 Andrew Ammerlaan
2020-03-24 16:37 Michał Górny
2020-03-24 16:37 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox