python-rnanorm
LOW
maintainer Smoolak
0 votes
scanned 2026-11-01 20:01:18.389276
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Smoolak <smoolak@gmail.com>
2
3
pkgname=python-rnanorm
4
pkgver=2.2.0
5
pkgrel=1
6
pkgdesc='Common RNA-seq normalization methods'
7
arch=(any)
8
url=https://github.com/genialis/RNAnorm
9
license=(Apache-2.0)
10
depends=('python' 'python-click' 'python-numpy' 'python-pandas' 'python-scipy' 'python-scikit-learn>=1.6.0' 'python-pandera')
11
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-setuptools-scm' 'python-wheel')
12
checkdepends=('python-pytest')
13
_commit=abea2c187634465038900b64ac74715a35d871c1
14
source=("$pkgname-$pkgver.tar.gz::$url/archive/$_commit.tar.gz")
15
sha256sums=('38176d0e7d7f9b59357f882d276d0182acd596dfaaf54176b58d416b501a50eb')
16
17
prepare() {
18
cd "RNAnorm-$_commit"
19
# Trial current Arch Python with the complete upstream suite.
20
# Upstream currently caps Python below 3.14 without a runtime API guard.
21
sed -i 's/>=3.9, <3.14/>=3.9, <3.15/' pyproject.toml
22
}
23
24
build() {
25
cd "RNAnorm-$_commit"
26
SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver" python -m build --wheel --no-isolation
27
}
28
29
check() {
30
python -m venv --system-site-packages --without-pip "$srcdir/check-env"
31
"$srcdir/check-env/bin/python" -m installer "RNAnorm-$_commit"/dist/*.whl
32
PATH="$srcdir/check-env/bin:$PATH" MPLBACKEND=Agg "$srcdir/check-env/bin/python" -I -m pytest --import-mode=importlib -v \
33
"RNAnorm-$_commit/tests" --junitxml="$srcdir/pytest-results.xml"
34
}
35
36
package() {
37
cd "RNAnorm-$_commit"
38
python -m installer --destdir="$pkgdir" dist/*.whl
39
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
40
}
41
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 20:01:18 | Low | 1 |