pentoo-overlay/dev-python/peewee-async/peewee-async-0.8.1.ebuild
2023-11-30 11:14:42 +08:00

28 lines
711 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Asynchronous interface for peewee ORM powered by asyncio."
HOMEPAGE="https://github.com/05bit/peewee-async"
#SRC_URI="https://github.com/05bit/peewee-async/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="postgres"
RDEPEND=">=dev-python/peewee-3.15.5[${PYTHON_USEDEP}]
postgres? ( dev-python/aiopg[${PYTHON_USEDEP}] )
"
#FIXME:
# mysql dev-python/aiomysql
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"