summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2021-06-10 00:07:29 +0300
committerCaleb Maclennan2021-06-10 00:08:37 +0300
commit7abbf95bab20d7d29188837dfd2439fcff3e5781 (patch)
tree47c0ef9fe7e060e4557be0fa2977e6820b3a544a
parentdcba11e761b08bd58813fee4bf30359c555dd71e (diff)
downloadaur-7abbf95bab20d7d29188837dfd2439fcff3e5781.tar.gz
Move pytest to makedepends
Weirdly the upstream project requires this even when not running tests, but it is a build time not a run time dependency.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 86bc2e32376..e13e65c7396 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
pkgbase = python-weasyprint
pkgdesc = Convert web documents (HTML, CSS, SVG, ...) to PDF
pkgver = 52.5
- pkgrel = 3
+ pkgrel = 4
url = http://weasyprint.org
arch = any
license = BSD
+ makedepends = python-pytest-runner
makedepends = python-setuptools
depends = python
depends = python-cairo
@@ -15,7 +16,6 @@ pkgbase = python-weasyprint
depends = python-html5lib
depends = python-pillow
depends = python-pyphen
- depends = python-pytest-runner
depends = python-tinycss2
source = https://files.pythonhosted.org/packages/source/W/WeasyPrint/WeasyPrint-52.5.tar.gz
sha256sums = b37ea02d75ca04babd7becad7341426be332ae560d8f02d664bfa1e9afb18481
diff --git a/PKGBUILD b/PKGBUILD
index 117b2cfffe0..fb77e48a20e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,14 +4,14 @@
_pypi_name=WeasyPrint
pkgname=python-${_pypi_name,,}
pkgver=52.5
-pkgrel=3
+pkgrel=4
pkgdesc='Convert web documents (HTML, CSS, SVG, ...) to PDF'
license=('BSD')
arch=('any')
url='http://weasyprint.org'
-_py_deps=(cairo cairocffi cairosvg cffi cssselect2 html5lib pillow pyphen pytest-runner tinycss2)
+_py_deps=(cairo cairocffi cairosvg cffi cssselect2 html5lib pillow pyphen tinycss2)
depends=(python "${_py_deps[@]/#/python-}")
-makedepends=(python-setuptools)
+makedepends=(python-pytest-runner python-setuptools)
source=("https://files.pythonhosted.org/packages/source/${_pypi_name::1}/$_pypi_name/$_pypi_name-$pkgver.tar.gz")
sha256sums=('b37ea02d75ca04babd7becad7341426be332ae560d8f02d664bfa1e9afb18481')