Files
guru/dev-python/aiomysql/aiomysql-0.0.20.ebuild
Andrew Ammerlaan b8d428b0c6 dev-python/aiomysql: Restrict tests
test suite appears very broken or something else is very wrong here
restricting tests until someone figures out what is going on here

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2020-03-18 17:49:42 +01:00

41 lines
977 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,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