python-rnanorm

LOW
maintainer Smoolak 0 votes scanned 2026-11-01 20:01:18.389276
View on AUR
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
3pkgname=python-rnanorm
4pkgver=2.2.0
5pkgrel=1
6pkgdesc='Common RNA-seq normalization methods'
7arch=(any)
8url=https://github.com/genialis/RNAnorm
9license=(Apache-2.0)
10depends=('python' 'python-click' 'python-numpy' 'python-pandas' 'python-scipy' 'python-scikit-learn>=1.6.0' 'python-pandera')
11makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-setuptools-scm' 'python-wheel')
12checkdepends=('python-pytest')
13_commit=abea2c187634465038900b64ac74715a35d871c1
14source=("$pkgname-$pkgver.tar.gz::$url/archive/$_commit.tar.gz")
15sha256sums=('38176d0e7d7f9b59357f882d276d0182acd596dfaaf54176b58d416b501a50eb')
16
17prepare() {
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
24build() {
25 cd "RNAnorm-$_commit"
26 SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver" python -m build --wheel --no-isolation
27}
28
29check() {
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
36package() {
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)SeverityRules
2026-11-01 20:01:18 Low 1

Report a package

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

0 / 4000
Your suggestion