python-pymssql
MEDIUM
maintainer a821
0 votes
scanned 2026-08-23 13:20:29.873780
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
4
pkgname=python-pymssql
5
pkgver=2.3.13
6
pkgrel=1
7
pkgdesc='DB-API (PEP-249) interface to Microsoft SQL Server'
8
arch=('x86_64')
9
url='https://github.com/pymssql/pymssql'
10
license=('LGPL-2.1-or-later')
11
depends=(
12
freetds
13
glibc
14
)
15
makedepends=(
16
cython
17
python-build
18
python-installer
19
python-setuptools
20
python-setuptools-scm
21
python-tomli
22
python-wheel
23
)
24
checkdepends=(
25
python-gevent
26
python-psutil
27
python-pytest
28
python-pytest-timeout
29
python-sqlalchemy
30
)
31
source=("${_pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
32
sha512sums=('53bcf3f04c00bfac60935af12331e08a5adc59e1eaab12083304f49799a925e99f944436ce4cff606c562fee842c93e4a824f46c97513f2efc6196be82184023')
33
34
build() {
35
cd "${_pkgname}-${pkgver}"
36
python -m build --wheel --no-isolation -x
37
}
38
39
check() {
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
45
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-23 13:20:29 | Medium | 1 |
| 2026-06-19 22:34:54 | Clean | 0 |