mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
25 lines
814 B
Text
25 lines
814 B
Text
# Contributor: Francesco Colista <francesco.colista@gmail.com>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py-cssutils
|
|
_pkgname=cssutils
|
|
pkgver=1.0.2
|
|
pkgrel=0
|
|
pkgdesc="A CSS Cascading Style Sheets library for Python"
|
|
url="http://cthedot.de/cssutils/"
|
|
arch="noarch"
|
|
license="LGPL3+"
|
|
makedepends="python2-dev py-setuptools"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python2 setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python2 setup.py install --root="${pkgdir}/" --optimize=1
|
|
}
|
|
|
|
sha512sums="4988893875a03923d3127e334654799e5c2ebcdc0a7f5b3fb5c9ab27d1b331caa5bf197161312a298531e0757843aa3259ceba5fa19947353eea24a5da53ceda cssutils-1.0.2.tar.gz"
|