python-django-lts
LOW
maintainer dmig
0 votes
scanned 2026-11-06 12:12:41.156139
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: Angel Velasquez <angvp@archlinux.org>
2
# Maintainer: Dan McGee <dan@archlinux.org>
3
# Contributor: Shahar Weiss <sweiss4@gmx.net>
4
5
pkgname=python-django-lts
6
pkgver=5.2.19
7
pkgrel=2
8
pkgdesc="A high-level Python web framework, long-term support release"
9
provides=("python-django=$pkgver")
10
conflicts=('python-django')
11
replaces=('python-django')
12
arch=('any')
13
license=('BSD-3-Clause')
14
url="https://www.djangoproject.com/"
15
makedepends=('python-installer')
16
depends=('python>=3.10' 'python-sqlparse>=0.3.1' 'python-asgiref>=3.8.1')
17
# TODO: package and add python-pymemcache https://docs.djangoproject.com/en/dev/topics/cache/
18
optdepends=('python-psycopg: for PostgreSQL backend'
19
'python-psycopg2: for PostgreSQL backend'
20
'python-argon2-cffi: for Argon2 password hashing support')
21
_wheel="django-$pkgver-py3-none-any.whl"
22
_distinfo="django-$pkgver.dist-info"
23
source=("https://files.pythonhosted.org/packages/py3/d/django/$_wheel"
24
"django-$pkgver-bash-completion::https://raw.githubusercontent.com/django/django/$pkgver/extras/django_bash_completion")
25
noextract=("$_wheel")
26
sha256sums=('5965d974a5218a2b68a11dd1276434707f23886525c23f0598eccedaf4f4ca00'
27
'7e8e23ce8be3c9f7e82900ddcf7938aa202c4fe42e87374f09ed25f9ba2013cf')
28
29
prepare() {
30
bsdtar -xf "$srcdir/$_wheel" -C "$srcdir" "$_distinfo/licenses"
31
}
32
33
package() {
34
python -m installer --destdir="$pkgdir" "$srcdir/$_wheel"
35
36
ln -s django-admin "$pkgdir"/usr/bin/django-admin3
37
install -Dm644 "$srcdir/django-$pkgver-bash-completion" \
38
"$pkgdir"/usr/share/bash-completion/completions/django-admin.py
39
ln -s django-admin.py \
40
"$pkgdir"/usr/share/bash-completion/completions/django-admin
41
ln -s django-admin.py \
42
"$pkgdir"/usr/share/bash-completion/completions/manage.py
43
44
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
45
"$srcdir/$_distinfo/licenses/"{LICENSE,LICENSE.python,AUTHORS}
46
}
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-06 12:12:41 | Low | 1 |