Skip to content

Commit

Permalink
community/py3-cairosvg: actually fix the build
Browse files Browse the repository at this point in the history
sigh python deps
tholo/pytest-flake8#88
  • Loading branch information
nekopsykose committed Oct 27, 2022
1 parent b8a105a commit ba56cb5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 47 deletions.
15 changes: 11 additions & 4 deletions community/py3-cairosvg/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,22 @@ depends="
python3 py3-tinycss2 py3-cssselect2 py3-defusedxml py3-cairocffi
py3-webencodings
"
checkdepends="py3-pytest py3-pillow py3-pytest-runner"
checkdepends="
py3-pillow
py3-pytest
py3-pytest-cov
py3-pytest-flake8
py3-pytest-isort
py3-pytest-runner
"
makedepends="python3-dev py3-setuptools cairo-dev py3-pytest-runner"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz
remove-useless-testdeps.patch"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/CairoSVG-$pkgver
replaces="py-cairosvg" # Backwards compat
provides="py-cairosvg=$pkgver-r$pkgrel" # Backwards compat
# current version of pytest-flake8 breaks with flake8 so they can't run
options="!check"

prepare() {
mkdir test_non_regression/cairosvg_reference/
Expand All @@ -39,5 +47,4 @@ package() {

sha512sums="
070fbb549614401a7d8290497b0eb7702330ee264c5f625cd1e7aac4aea7d71ee7d2d8899297212e1a3c11c93903b191c0c699336d9000796318b11f4e075576 CairoSVG-2.5.2.tar.gz
272fafa3e7f772e28dc89d2a7ed91c81aee75a2249d8c84cc39014986d905d6ff6a050dd12e1a8c6c607ff550fea0cf95eb063065dff27d034ae251e3b9e5cf6 remove-useless-testdeps.patch
"
43 changes: 0 additions & 43 deletions community/py3-cairosvg/remove-useless-testdeps.patch

This file was deleted.

0 comments on commit ba56cb5

Please sign in to comment.