Skip to content
Snippets Groups Projects
Commit 2609e828 authored by Duncan Bellamy's avatar Duncan Bellamy :speech_balloon:
Browse files

community/py3-cheroot: add py3-pypytools to checkdepends and delete patch

parent 304817ef
No related branches found
No related tags found
1 merge request!30862community/py3-pypytools: move from testing
......@@ -22,6 +22,7 @@ checkdepends="
py3-jaraco.context
py3-jaraco.text
py3-openssl
py3-pypytools
py3-pytest
py3-pytest-cov
py3-pytest-mock
......@@ -33,7 +34,6 @@ checkdepends="
subpackages="$pkgname-tests"
source="https://files.pythonhosted.org/packages/source/c/$_pyname/$_pyname-$pkgver.tar.gz
setuptools-git.patch
pypytools.patch
"
builddir="$srcdir/$_pyname-$pkgver"
......@@ -56,5 +56,4 @@ tests() {
sha512sums="
26e48c935fe32d4ce3cf6ae20b5b272416ca53bd8496527c2958ec2ebe87529c831f283ae900e13271b610e39531b682df0376935ecc3bcfcca11c299cd2a893 cheroot-8.6.0.tar.gz
7831aeeea0b6d1ed094c92eb697632395de903d5de170c37230db2b7d083041855473f8d50b93c1e2f630e0c411ccf5f909593b3160cb134339e9d3e21ed691c setuptools-git.patch
59fff274de6a3970db7a9531b04b4e55bd287bd0e1ef6cf6703d0b6e0cbba99ae279f836abe688e7e878531a6589c77a3aa2bddbb8461e43fa7b1bff3f4e5e1b pypytools.patch
"
test_server.py needs pypytools, which is not available on Alpine
--- a/cheroot/test/test_server.py
+++ b/cheroot/test/test_server.py
@@ -16,6 +16,7 @@
import requests_unixsocket
import six
+pypytest = pytest.importorskip("pypytools")
from pypytools.gc.custom import DefaultGc
from six.moves import queue, urllib
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment