diff --git a/dev-python/aiosqlite/Manifest b/dev-python/aiosqlite/Manifest new file mode 100644 index 0000000..b402796 --- /dev/null +++ b/dev-python/aiosqlite/Manifest @@ -0,0 +1 @@ +DIST aiosqlite-0.15.0.tar.gz 24363 BLAKE2B eb22c1c3f21d00b72d63c9e684b92808de03f3516c31f83e1b54a64a3900301d012fcb66969b80a49a60bcea0805600b59ddd9272e504dca14cf018bf43dd7eb SHA512 8f23caa28b3f7659cea0c6f7c2d1e3eeee0d278ae2ba26e2e3290eb7de7c037581718b98745bd69fd1aa058aa2c263ecf7130ca9cc007b023d6b4b3ae0ee4b5a diff --git a/dev-python/aiosqlite/aiosqlite-0.15.0.ebuild b/dev-python/aiosqlite/aiosqlite-0.15.0.ebuild new file mode 100644 index 0000000..a726dfc --- /dev/null +++ b/dev-python/aiosqlite/aiosqlite-0.15.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_8 ) +DISTUTILS_USE_SETUPTOOLS="bdepend" + +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 -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/aiohttp-3.5.0[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + >=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +DOCS=( CHANGELOG.md README.md ) + +python_test() { + py.test -v tests || die "Tests failed under ${EPYTHON}" +} diff --git a/dev-python/aiosqlite/metadata.xml b/dev-python/aiosqlite/metadata.xml new file mode 100644 index 0000000..d312e97 --- /dev/null +++ b/dev-python/aiosqlite/metadata.xml @@ -0,0 +1,12 @@ + + + + + zmedico@gentoo.org + Zac Medico + + + aiohttp_jinja2 + aio-libs/aiohttp-jinja2 + +