mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-02 23:31:34 +01:00
31 lines
884 B
Plaintext
31 lines
884 B
Plaintext
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=cssmin
|
|
pkgver=0.2.0
|
|
pkgrel=4
|
|
pkgdesc="A Python port of the YUI CSS compression algorithm"
|
|
options="!check" # no tests provided by the upstream
|
|
url="https://github.com/zacharyvoase/cssmin"
|
|
arch="noarch"
|
|
license="BSD-3-Clause AND MIT"
|
|
depends="python3"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/c/cssmin/cssmin-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
|
|
sha512sums="
|
|
9422152578bf28cf7c3eb063c1f0dd3604a3d8fa73cd81cde09ae297ab27669126c230ef40a2e8c37083c1e781ab977554f9012e60979fe431ceb83d43452a9d cssmin-0.2.0.tar.gz
|
|
"
|