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

Reply via email to