summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-12-21 22:42:20 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2021-12-21 22:43:33 +0200
commitdcf2416777698fa5188a33d29fe634616b599815 (patch)
treeaec14827e2843b949a31f0139f383a0e9a1ad0a2 /dev-python/pymssql
parentdev-python/pyamg: add 4.2.0 (diff)
downloadgentoo-dcf2416777698fa5188a33d29fe634616b599815.tar.gz
gentoo-dcf2416777698fa5188a33d29fe634616b599815.tar.bz2
gentoo-dcf2416777698fa5188a33d29fe634616b599815.zip
dev-python/pymssql: add 2.2.3
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/pymssql')
-rw-r--r--dev-python/pymssql/Manifest1
-rw-r--r--dev-python/pymssql/pymssql-2.2.3.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/pymssql/Manifest b/dev-python/pymssql/Manifest
index 3e2a7bacc5fd..ecb02c8ac9aa 100644
--- a/dev-python/pymssql/Manifest
+++ b/dev-python/pymssql/Manifest
@@ -1 +1,2 @@
DIST pymssql-2.2.1.tar.gz 170421 BLAKE2B 0bd57ffef97f6a557bf78056ed0f184c3b5de09fa031f80f1b7420486bb137ba1750c2ac63e89c0476a3b1808e08beb037b2d9c3fce89bce98a266626222b5c7 SHA512 d44fbe506d7daf3b5fc1dfa20b99814aa3ed025cf8e4e14097f53014bc21918e0969e15149fa93c39367a06567502be08bb673e30ebdf87d6fc2c30b01216b7c
+DIST pymssql-2.2.3.tar.gz 170134 BLAKE2B ed7d6d289b67c5ed76d737d4aec3a6731a94a2cc6bed445e526d62c4f7e9e26fe0e443846727895dd9fc396678d3ee99f021b2b365df14680817b8b8c130e5fa SHA512 10b9b976c7bfaa4c8433e08d256a580354181d41b08b1ced2648f8b4f864d1c83ee46a2d240f394d2c87cd4b494ccd51c0adf923e88de41c4cab30f2a0bae2d9
diff --git a/dev-python/pymssql/pymssql-2.2.3.ebuild b/dev-python/pymssql/pymssql-2.2.3.ebuild
new file mode 100644
index 000000000000..bcf4f031cbda
--- /dev/null
+++ b/dev-python/pymssql/pymssql-2.2.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Simple MSSQL python extension module"
+HOMEPAGE="https://www.pymssql.org/ https://pypi.org/project/pymssql/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+# tests need a running instance of freetds
+RESTRICT="test"
+
+RDEPEND=">=dev-db/freetds-0.63[mssql]"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ test? (
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]
+ )"
+
+PATCHES=(
+ # https://github.com/pymssql/pymssql/pull/708
+ "${FILESDIR}"/${PN}-2.2.1-clock_gettime.patch
+)
+
+distutils_enable_tests pytest
+
+src_configure() {
+ export LINK_FREETDS_STATICALLY=no
+}