python-pymssql

MEDIUM
maintainer a821 0 votes scanned 2026-08-23 13:20:29.873780
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: Butui Hu <hot123tea123@gmail.com>
2
3_pkgname=pymssql
4pkgname=python-pymssql
5pkgver=2.3.13
6pkgrel=1
7pkgdesc='DB-API (PEP-249) interface to Microsoft SQL Server'
8arch=('x86_64')
9url='https://github.com/pymssql/pymssql'
10license=('LGPL-2.1-or-later')
11depends=(
12 freetds
13 glibc
14)
15makedepends=(
16 cython
17 python-build
18 python-installer
19 python-setuptools
20 python-setuptools-scm
21 python-tomli
22 python-wheel
23)
24checkdepends=(
25 python-gevent
26 python-psutil
27 python-pytest
28 python-pytest-timeout
29 python-sqlalchemy
30)
31source=("${_pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
32sha512sums=('53bcf3f04c00bfac60935af12331e08a5adc59e1eaab12083304f49799a925e99f944436ce4cff606c562fee842c93e4a824f46c97513f2efc6196be82184023')
33
34build() {
35 cd "${_pkgname}-${pkgver}"
36 python -m build --wheel --no-isolation -x
37}
38
39check() {
40 local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
41 cd "${_pkgname}-${pkgver}"
42 PYTHONPATH="${PWD}/build/lib.linux-${CARCH}-cpython-${python_version}" pytest -v
43}
44
45package() {
46 cd "${_pkgname}-${pkgver}"
47 python -m installer --destdir="${pkgdir}" dist/*.whl
48}
49# vim:set ts=2 sw=2 et:
50

Scan history

Scanned at (UTC)SeverityRules
2026-08-23 13:20:29 Medium 1
2026-06-19 22:34:54 Clean 0

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion