Date: Wednesday, October 26, 2022 @ 13:31:45
Author: felixonmars
Revision: 1335698
archrelease: copy trunk to community-any
Added:
python-requests-toolbelt/repos/community-any/PKGBUILD
(from rev 1335695, python-requests-toolbelt/trunk/PKGBUILD)
Deleted:
python-requests-toolbelt/repos/community-any/PKGBUILD
----------+
PKGBUILD | 65 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 31 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-26 13:31:41 UTC (rev 1335697)
+++ PKGBUILD 2022-10-26 13:31:45 UTC (rev 1335698)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
-
-pkgname=python-requests-toolbelt
-pkgver=0.10.0
-pkgrel=1
-pkgdesc="A toolbelt of useful classes and functions to be used with
python-requests."
-arch=('any')
-url="https://github.com/requests/toolbelt"
-license=('Apache')
-depends=('python-requests')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-betamax' 'python-ndg-httpsclient'
'python-pyopenssl')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/requests/toolbelt/archive/$pkgver.tar.gz")
-sha512sums=('f5c16881ad7abf4fa6df76208ed1916856acbf2d86634384198511527912ef739048588eef9a629da24c80124c904b51b1bbb5fa03329bf353e3522b222dab58')
-
-build() {
- cd toolbelt-$pkgver
- python setup.py 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
-}
-
-package() {
- cd toolbelt-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-requests-toolbelt/repos/community-any/PKGBUILD (from rev
1335695, python-requests-toolbelt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-26 13:31:45 UTC (rev 1335698)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
+
+pkgname=python-requests-toolbelt
+pkgver=0.10.1
+pkgrel=1
+pkgdesc="A toolbelt of useful classes and functions to be used with
python-requests."
+arch=('any')
+url="https://github.com/requests/toolbelt"
+license=('Apache')
+depends=('python-requests')
+makedepends=('python-setuptools')
+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=('ad6dfe3329c8be5a4521d223d25ec303201e706b34199c084efd0a30b8bc8cfb3382e80a502dc25bd5f7e5b2774a119d2255c49408979aaec45e221f412a7b52')
+
+build() {
+ cd toolbelt-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd toolbelt-$pkgver
+ pytest
+}
+
+package() {
+ cd toolbelt-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}