gentoo/dev-python/aiosqlite/aiosqlite-0.17.0.ebuild

30 lines
654 B
Bash
Raw Normal View History

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_9 )
DISTUTILS_USE_SETUPTOOLS="no"
inherit distutils-r1
DESCRIPTION="asyncio bridge to the standard sqlite3 module"
HOMEPAGE="https://github.com/jreese/aiosqlite"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# lacks dev-python/aiounittest
RESTRICT="test"
DOCS=( CHANGELOG.md README.rst )
PATCHES=(
# https://github.com/omnilib/aiosqlite/commit/a157e0b7d126daeeda4e5b7dcf2b6cb9cf9ac274
"${FILESDIR}/${P}-typing.patch"
)
distutils_enable_sphinx docs