Skip to content
Snippets Groups Projects
Commit 0ea9dc58 authored by Felix Yan's avatar Felix Yan
Browse files

upgpkg: 0.10.1-1

parent 8aaf05a8
No related branches found
Tags 0.10.1-1
No related merge requests found
......@@ -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() {
......
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