Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
ba56cb59
Commit
ba56cb59
authored
2 years ago
by
alice
Browse files
Options
Downloads
Patches
Plain Diff
community/py3-cairosvg: actually fix the build
sigh python deps
https://github.com/tholo/pytest-flake8/pull/88
parent
b8a105a3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/py3-cairosvg/APKBUILD
+11
-4
11 additions, 4 deletions
community/py3-cairosvg/APKBUILD
community/py3-cairosvg/remove-useless-testdeps.patch
+0
-43
0 additions, 43 deletions
community/py3-cairosvg/remove-useless-testdeps.patch
with
11 additions
and
47 deletions
community/py3-cairosvg/APKBUILD
+
11
−
4
View file @
ba56cb59
...
...
@@ -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/
...
...
@@ -39,5 +47,4 @@ package() {
sha512sums
=
"
070fbb549614401a7d8290497b0eb7702330ee264c5f625cd1e7aac4aea7d71ee7d2d8899297212e1a3c11c93903b191c0c699336d9000796318b11f4e075576 CairoSVG-2.5.2.tar.gz
272fafa3e7f772e28dc89d2a7ed91c81aee75a2249d8c84cc39014986d905d6ff6a050dd12e1a8c6c607ff550fea0cf95eb063065dff27d034ae251e3b9e5cf6 remove-useless-testdeps.patch
"
This diff is collapsed.
Click to expand it.
community/py3-cairosvg/remove-useless-testdeps.patch
deleted
100644 → 0
+
0
−
43
View file @
b8a105a3
having isort present fails the tests
diff --git a/setup.cfg b/setup.cfg
index a18eda7..85e33b3 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -50,9 +50,6 @@
install_requires =
pillow
tinycss2
tests_require =
- pytest-cov
- pytest-flake8
- pytest-isort
pytest-runner
python_requires = >= 3.5
@@ -69,9 +66,6 @@
doc =
sphinx_rtd_theme
test =
pytest-runner
- pytest-cov
- pytest-flake8
- pytest-isort
[bdist_wheel]
python-tag = py3
@@ -81,8 +75,6 @@
test = pytest
[tool:pytest]
addopts =
- --flake8
- --isort
--ignore=test_regression/cairosvg_reference
norecursedirs =
build
--- a/CairoSVG-2.5.2/CairoSVG.egg-info/requires.txt
+++ b/CairoSVG-2.5.2/CairoSVG.egg-info/requires.txt
@@ -10,6 +10,3 @@
[test]
pytest-runner
-pytest-cov
-pytest-flake8
-pytest-isort
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment