pentoo-overlay/dev-python/peewee-async/peewee-async-0.9.1.ebuild
2023-12-03 10:39:53 +08:00

29 lines
783 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
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}]
>=dev-python/importlib-metadata-6.7.0[${PYTHON_USEDEP}]
postgres? ( dev-python/aiopg[${PYTHON_USEDEP}] )
"
#FIXME:
# mysql dev-python/aiomysql
# mysql = ["aiomysql", "cryptography"]
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"