mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -04:00
Closes: https://bugs.gentoo.org/817200 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
29 lines
593 B
Bash
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
|