python-affine
MEDIUM
maintainer javilolyolo
10 votes
scanned 2026-10-19 01:23:43.518710
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: Kyle Manna <kyle[at]kylemanna[d0t]com>
2
_pkgname=affine
3
pkgname=python-${_pkgname}
4
pkgver=2.4.0
5
pkgrel=1
6
pkgdesc="Python package for matrices describing affine transformation of the plane"
7
url='https://github.com/rasterio/affine'
8
makedepends=('python-build'
9
'python-installer'
10
'python-wheel'
11
'python-flit-core'
12
)
13
depends=('python')
14
optdepends=()
15
license=('BSD')
16
arch=('any')
17
source=("https://pypi.python.org/packages/source/a/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
18
sha256sums=('a24d818d6a836c131976d22f8c27b8d3ca32d0af64c1d8d29deb7bafa4da1eea')
19
20
build() {
21
cd "$srcdir/${_pkgname}-$pkgver"
22
python -m build --wheel --no-isolation
23
}
24
25
package() {
26
cd "$srcdir/${_pkgname}-$pkgver"
27
28
python -m installer --destdir="$pkgdir" dist/*.whl
29
30
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
31
32
# https://wiki.archlinux.org/index.php/Python_package_guidelines
33
local site_packages=$(python -c 'import site; print(site.getsitepackages()[0])')
34
rm -rf "${pkgdir}${site_packages}/test"
35
}
36
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-19 01:23:43 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |