python-arc4

MEDIUM
maintainer leonidlednev 1 votes scanned 2026-10-21 15:32:06.139547
View on AUR
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: Leonid Lednev <leonidledn at gmail dot com>
2# Contributor: GI_Jack <GI_Jack@hackermail.com>
3# Contributor: dreieck (https://aur.archlinux.org/account/dreieck)
4pkgname=python-arc4
5pkgver=0.5.0
6pkgrel=2
7pkgdesc="A small and insanely fast ARCFOUR (RC4) cipher implementation for Python"
8arch=('aarch64' 'armv7h' 'i686' 'x86_64')
9url="https://github.com/manicmaniac/arc4"
10license=("MIT")
11depends=(
12 'glibc'
13 'python>=3.7'
14)
15makedepends=(
16 'git'
17 'python-build'
18 'python-installer'
19 'python-wheel'
20 'python-setuptools'
21)
22source=("git+$url#tag=$pkgver")
23b2sums=('733b54a0806dd6e1cf5e1b736568f6150c1cffda1cbb5edf51f1469dcdc9109beb2a04aca23c9ddfd4cbd64fe8013482341fc5b5cf6ac78f304323332aba6203')
24
25prepare() {
26 git -C arc4 clean -dfx
27}
28
29build() {
30 cd arc4
31 python -m build -wnx
32}
33
34check() {
35 cd arc4
36 python -m venv .venv --system-site-packages
37 .venv/bin/python -m installer dist/*.whl
38 .venv/bin/python -P -m unittest
39}
40
41package() {
42 cd arc4
43 python -m installer -d "$pkgdir" dist/*.whl
44 install -Dm0644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
45 install -Dm0644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
46}
47
48# vim: ts=2 sw=2 et:
49

Changes since previous scan

--- PKGBUILD @ 2026-10-12 00:18
+++ PKGBUILD @ 2026-10-21 15:32
@@ -1,114 +1,49 @@
-# Maintainer: GI_Jack <GI_Jack@hackermail.com>
+# Maintainer: Leonid Lednev <leonidledn at gmail dot com>
+# Contributor: GI_Jack <GI_Jack@hackermail.com>
# Contributor: dreieck (https://aur.archlinux.org/account/dreieck)
-
-_pyname="arc4"
-_projectname="${_pyname}"
-_pkgname="python-${_projectname}"
-pkgname="${_pkgname}"
-pkgver=0.4.0
-pkgrel=1
-pkgdesc="A small and insanely fast ARCFOUR (RC4) cipher implementation for Python."
-arch=(
- 'aarch64'
- 'armv6h'
- 'armv7h'
- 'armv8h'
- 'i686'
- 'x86_64'
-)
-_gitprotocol='git+https'
-_githost='github.com'
-_gituser='manicmaniac'
-_giturl="${_githost}/${_gituser}/${_projectname}.git"
-url="https://${_githost}/${_gituser}/${_projectname}"
-license=("custom: MIT")
+pkgname=python-arc4
+pkgver=0.5.0
+pkgrel=2
+pkgdesc="A small and insanely fast ARCFOUR (RC4) cipher implementation for Python"
+arch=('aarch64' 'armv7h' 'i686' 'x86_64')
+url="https://github.com/manicmaniac/arc4"
+license=("MIT")
depends=(
'glibc'
'python>=3.7'
)
makedepends=(
- 'cython'
'git'
'python-build'
'python-installer'
'python-wheel'
'python-setuptools'
- 'python-mock'
- 'python-sphinx'
)
-provides=("${_pkgname}-git=${pkgver}")
-conflicts=("${_pkgname}-git")
-
-source=(
- "${_pkgname}::${_gitprotocol}://${_giturl}#tag=${pkgver}"
-)
-sha256sums=(
- 'SKIP'
-)
+source=("git+$url#tag=$pkgver")
+b2sums=('733b54a0806dd6e1cf5e1b736568f6150c1cffda1cbb5edf51f1469dcdc9109beb2a04aca23c9ddfd4cbd64fe8013482341fc5b5cf6ac78f304323332aba6203')
prepare() {
- cd "${srcdir}/${_pkgname}"
-
- git log > "${srcdir}/git.log"
+ git -C arc4 clean -dfx
}
build() {
- cd "${srcdir}/${_pkgname}"
+ cd arc4
+ python -m build -wnx
+}
- printf '%s\n' " --> building ..."
- python -m build --wheel --no-isolation
-
- printf '%s\n' " --> making documentation ..."
- cd docs
- make man
- make text
- make html
- make qthelp
- gzip -9 _build/man/*
+check() {
+ cd arc4
+ python -m venv .venv --system-site-packages
+ .venv/bin/python -m installer dist/*.whl
+ .venv/bin/python -P -m unittest
}
package() {
- cd "${srcdir}/${_pkgname}"
-
- printf '%s\n' " --> installing ..."
- python -m installer --destdir="$pkgdir" --compile-bytecode=2 dist/*.whl
-
- _docfiles=(
- "${srcdir}/git.log"
- README.rst
- )
- _docdirs=(
- docs/_build/html
- docs/_build/qthelp
- docs/_build/text
- )
- _manfiles=(
- docs/_build/man/arc4.1.gz
- )
- _infofiles=()
- _licensefiles=(
- LICENSE
- )
- printf '%s\n' " --> installing documentation ..."
- for _docfile in "${_docfiles[@]}"; do
- install -D -v -m644 "${_docfile}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docfile}")"
- done
- for _docdir in "${_docdirs[@]}"; do
- cp -rv "${_docdir}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docdir}")"
- done
- for _manfile in "${_manfiles[@]}"; do
- _section="$(basename "${_manfile}" .gz | sed -E -e 's|^.*\.([^.]*)$|\1|')"
- install -D -v -m644 "${_manfile}" "${pkgdir}/usr/share/man/man${_section}/$(basename "${_manfile}")"
- done
- for _infofile in "${_infofiles[@]}"; do
- install -D -v -m644 "${_infofile}" "${pkgdir}/usr/share/info/$(basename "${_infofile}")"
- done
- printf '%s\n' " --> installing license ..."
- for _licensefile in "${_licensefiles[@]}"; do
- install -D -v -m644 "${_licensefile}" "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")"
- ln -svr "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_licensefile}")"
- done
+ cd arc4
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm0644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+ install -Dm0644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
}
+# vim: ts=2 sw=2 et:
-

Scan history

Scanned at (UTC)SeverityRules
2026-10-21 15:32:06 Medium 1
2026-10-12 00:18:51 Clean 2
2026-10-11 02:16:32 Medium 1
2026-10-11 00:26:05 Clean 2
2026-10-10 22:16:18 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

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

0 / 4000
Your suggestion