Skip to content
Snippets Groups Projects
Unverified Commit e47e9bb2 authored by alice's avatar alice
Browse files

community/py3-rjsmin: new aport

parent d699fe23
No related branches found
No related tags found
1 merge request!39304[3.16] main/expat: security upgrade to 2.4.9
# Maintainer: psykose <alice@ayaya.dev>
pkgname=py3-rjsmin
pkgver=1.2.1
pkgrel=0
pkgdesc="Fast javascript minifier for Python"
url="https://github.com/ndparker/rjsmin/tags"
arch="all"
license="Apache-2.0"
depends="python3"
makedepends="python3-dev py3-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/ndparker/rjsmin/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/rjsmin-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$(echo build/lib.linux*)" \
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
4488986ed3e8e5b6f86daa8fefb1ae843ea511cad28ccb3b21cc528f2bb43111c7e9959dade06ba5ef5441c9bf158eac25de0fc75bac0ed1cd830e2ba6896056 py3-rjsmin-1.2.1.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment