| author | Felix Yan
<felixonmars@archlinux.org> 2022-10-26 13:31:29 UTC |
| committer | Felix Yan
<felixonmars@archlinux.org> 2022-10-26 13:31:29 UTC |
| parent | 8aaf05a88111375461720ab16339ba2842f7128e |
| PKGBUILD | +5 | -8 |
diff --git a/PKGBUILD b/PKGBUILD index 80bbb30..50c6774 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: eolianoe <eolianoe At GoogleMAIL DoT com> pkgname=python-requests-toolbelt -pkgver=0.10.0 +pkgver=0.10.1 pkgrel=1 pkgdesc="A toolbelt of useful classes and functions to be used with python-requests." arch=('any') @@ -10,9 +10,10 @@ url="https://github.com/requests/toolbelt" license=('Apache') depends=('python-requests') makedepends=('python-setuptools') -checkdepends=('python-pytest' 'python-betamax' 'python-ndg-httpsclient' 'python-pyopenssl') +checkdepends=('python-pytest' 'python-betamax' 'python-ndg-httpsclient' 'python-pyopenssl' + 'python-trustme') source=("$pkgname-$pkgver.tar.gz::https://github.com/requests/toolbelt/archive/$pkgver.tar.gz") -sha512sums=('f5c16881ad7abf4fa6df76208ed1916856acbf2d86634384198511527912ef739048588eef9a629da24c80124c904b51b1bbb5fa03329bf353e3522b222dab58') +sha512sums=('ad6dfe3329c8be5a4521d223d25ec303201e706b34199c084efd0a30b8bc8cfb3382e80a502dc25bd5f7e5b2774a119d2255c49408979aaec45e221f412a7b52') build() { cd toolbelt-$pkgver @@ -21,11 +22,7 @@ build() { check() { cd toolbelt-$pkgver - pytest --deselect tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_no_content_length_header \ - --deselect tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_read_file \ - --deselect tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_file_from_url_wrapper \ - --deselect tests/test_x509_adapter.py::TestX509Adapter::test_x509_der \ - --deselect tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem + pytest } package() {