blob: d3d6729a3ca48e5ecd053d4fb614b836fda8a0fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_7 )
inherit distutils-r1
DESCRIPTION="aiomysql is a library for accessing a MySQL database from the asyncio"
HOMEPAGE="
https://aiomysql.readthedocs.io/en/latest/
https://github.com/aio-libs/aiomysql
"
SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test"
RDEPEND=">=dev-python/pymysql-0.9.0[${PYTHON_USEDEP}]"
DEPEND="test? (
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/docker-py[${PYTHON_USEDEP}]
dev-python/flake8[${PYTHON_USEDEP}]
dev-python/sqlalchemy[${PYTHON_USEDEP}]
dev-python/uvloop[${PYTHON_USEDEP}] )"
python_prepare_all() {
# fails: lots of AttributeError
rm tests/conftest.py || die
distutils-r1_python_prepare_all
}
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinxcontrib-asyncio
|