mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
removed community/python-cairosvg
This commit is contained in:
parent
0760471079
commit
6c9ac52d36
1 changed files with 0 additions and 43 deletions
|
@ -1,43 +0,0 @@
|
||||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
||||||
# Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org>
|
|
||||||
|
|
||||||
# remove when bumped upstream
|
|
||||||
|
|
||||||
pkgname=python-cairosvg
|
|
||||||
_pkgname=CairoSVG
|
|
||||||
pkgver=2.4.2
|
|
||||||
pkgrel=3.1
|
|
||||||
pkgdesc='SVG converter based on Cairo. It can export SVG files to PDF, PostScript and PNG files'
|
|
||||||
arch=('any')
|
|
||||||
url='https://cairosvg.org'
|
|
||||||
license=('LGPL3')
|
|
||||||
depends=('python' 'python-setuptools' 'python-cairocffi' 'python-pillow' 'python-cssselect2' 'python-defusedxml' 'python-tinycss2')
|
|
||||||
checkdepends=('python-pytest-runner' 'python-pytest-cov' 'python-pytest-flake8' 'python-pytest-isort')
|
|
||||||
replaces=('cairosvg')
|
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/Kozea/CairoSVG/archive/$pkgver.tar.gz")
|
|
||||||
sha512sums=('b491e8aae0ebec55ad27a55d083954f715d668ca74eccc18d19ad53072143f7a05a11d979884464422a1bc0d90e9bed7a57e6a2df620a80134bb4b894124151a')
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd $_pkgname-$pkgver
|
|
||||||
|
|
||||||
cp -r cairosvg test_non_regression/cairosvg_reference/
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd $_pkgname-$pkgver
|
|
||||||
|
|
||||||
python setup.py build
|
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
|
||||||
cd $_pkgname-$pkgver
|
|
||||||
|
|
||||||
python setup.py pytest
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd $_pkgname-$pkgver
|
|
||||||
|
|
||||||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue