diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-02-25 18:57:03 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-02-26 14:25:40 +0000 |
commit | 8d303475e8d5555cc998726603ce05d641394310 (patch) | |
tree | 8675d227604c8a11f17a0fb9ca5db8cfd1ca5be0 /dev-python/pymssql | |
parent | dev-python/rpy: Bump to 3.4.2 (diff) | |
download | gentoo-8d303475e8d5555cc998726603ce05d641394310.tar.gz gentoo-8d303475e8d5555cc998726603ce05d641394310.tar.bz2 gentoo-8d303475e8d5555cc998726603ce05d641394310.zip |
dev-python/pymssql: Bump to 2.1.5
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/pymssql')
-rw-r--r-- | dev-python/pymssql/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pymssql/pymssql-2.1.5.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/pymssql/Manifest b/dev-python/pymssql/Manifest index c217ab5304a5..1178559ead7a 100644 --- a/dev-python/pymssql/Manifest +++ b/dev-python/pymssql/Manifest @@ -1 +1,2 @@ DIST pymssql-2.1.3.tar.gz 897987 BLAKE2B e105dd8d5dbbad5de566b9179f799ad66eb420f60464e8061470b1abb6ecf38f35ad7992ded40f2cd62c76a8e04255eb647e30df5c9bc4059334a1d5d4677e73 SHA512 a659cb8f077ddbe5e8de0b9b118d8bcc0c87128c0be4ff14343983e7029594e63ba6fb8a88992dc1f058df3c1ebbbd69cf371bf95a0918954cd0cec14c1cb5cb +DIST pymssql-2.1.5.tar.gz 167928 BLAKE2B c94fc29fa9d83627dbee05095a7c0d6e4e2d42ac34b0e6801bbc757d89728aee409c98519d6e8bfe8d5009f06f88bd23a3e62c050f2c964cb7139bdd3185a0b5 SHA512 7cc7336d4c2fcb7c3958fb3127801e3505fd93259d1aaef40a67941ef5aa519e285cdb04fd378c9712f29b0f8a25ce1747a4a8dc21ec57b004c9f0ceb8f5afab diff --git a/dev-python/pymssql/pymssql-2.1.5.ebuild b/dev-python/pymssql/pymssql-2.1.5.ebuild new file mode 100644 index 000000000000..fcb950bf93ae --- /dev/null +++ b/dev-python/pymssql/pymssql-2.1.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +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" +IUSE="test" + +# tests need a running instance of freetds +RESTRICT="test" + +RDEPEND=">=dev-db/freetds-0.63[mssql]" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + )" + +PATCHES=( "${FILESDIR}"/${PN}-2.1.3-remove-setuptools_git.patch ) + +python_test() { + py.test -v || die "Tests fail with ${EPYTHON}" +} |