27 lines
816 B
Text
27 lines
816 B
Text
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
_pkgname=css-parser
|
|
pkgname='py3-css-parser'
|
|
pkgver=1.0.4
|
|
pkgrel=2
|
|
pkgdesc="A CSS Cascading Style Sheets library for Python"
|
|
arch='noarch'
|
|
url="https://github.com/ebook-utils/${_pkgname}"
|
|
license='LGPL'
|
|
makedepends='py3-setuptools'
|
|
source="$pkgname-$pkgver.tar.gz::${url}/archive/v${pkgver}.tar.gz"
|
|
options="!check"
|
|
|
|
build() {
|
|
cd "${srcdir}"/${_pkgname}-${pkgver}
|
|
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/${_pkgname}-${pkgver}
|
|
python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
|
}
|
|
|
|
sha512sums="b4a2ce4e37cdd30e07f439b9be59f7660d4952e2bccfc6751f87319675fc83f4489d8c12a852b9355a43d5c37f7bf06262642205efaa0062582092af868397de py3-css-parser-1.0.4.tar.gz"
|