guru/dev-python/pyodbc/pyodbc-4.0.32.ebuild
Alessandro Barbieri 8d76124b5b
dev-python/pyodbc: restrict test
Closes: https://bugs.gentoo.org/817200
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-03-26 16:16:37 +01:00

29 lines
593 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} ) # pypy3 https://github.com/mkleehammer/pyodbc/issues/915
inherit distutils-r1
DESCRIPTION="Python ODBC library"
HOMEPAGE="
https://github.com/mkleehammer/pyodbc
https://pypi.org/project/pyodbc/
"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="mssql"
RDEPEND="
>=dev-db/unixODBC-2.3.0
mssql? ( >=dev-db/freetds-0.64[odbc] )
"
DEPEND="${RDEPEND}"
RESTRICT="test" # need running databases