[arch-commits] Commit in python-urllib3/repos/extra-any (4 files)

Felix Yan felixonmars at gemini.archlinux.org
Fri Aug 12 17:52:15 UTC 2022


    Date: Friday, August 12, 2022 @ 17:52:15
  Author: felixonmars
Revision: 452634

archrelease: copy trunk to extra-any

Added:
  python-urllib3/repos/extra-any/LICENSE
    (from rev 452633, python-urllib3/trunk/LICENSE)
  python-urllib3/repos/extra-any/PKGBUILD
    (from rev 452633, python-urllib3/trunk/PKGBUILD)
Deleted:
  python-urllib3/repos/extra-any/LICENSE
  python-urllib3/repos/extra-any/PKGBUILD

----------+
 LICENSE  |   64 +++++++++++++++++-----------------
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 2 files changed, 88 insertions(+), 88 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2022-08-12 17:51:56 UTC (rev 452633)
+++ LICENSE	2022-08-12 17:52:15 UTC (rev 452634)
@@ -1,32 +0,0 @@
-Note from the ArchLinux Packager:
-The urllib3 source doesn't come with a license file.  Its homepage
-does provide a link to the text of the MIT license, so I copied
-the following text to a file when building the package.
-
-------CUT------
-Open Source Initiative OSI - The MIT License:Licensing
-
-
-[OSI Approved License]
-
-The MIT License
-
-Copyright (c) <year> <copyright holders>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.

Copied: python-urllib3/repos/extra-any/LICENSE (from rev 452633, python-urllib3/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2022-08-12 17:52:15 UTC (rev 452634)
@@ -0,0 +1,32 @@
+Note from the ArchLinux Packager:
+The urllib3 source doesn't come with a license file.  Its homepage
+does provide a link to the text of the MIT license, so I copied
+the following text to a file when building the package.
+
+------CUT------
+Open Source Initiative OSI - The MIT License:Licensing
+
+
+[OSI Approved License]
+
+The MIT License
+
+Copyright (c) <year> <copyright holders>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-12 17:51:56 UTC (rev 452633)
+++ PKGBUILD	2022-08-12 17:52:15 UTC (rev 452634)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Patrice Peterson <runiq at archlinux dot us>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-# Contributor: BorgHunter <borghunter at gmail dot com>
-
-pkgbase=python-urllib3
-pkgname=(python-urllib3 python-urllib3-doc)
-pkgver=1.26.10
-pkgrel=1
-pkgdesc="HTTP library with thread-safe connection pooling and file post support"
-arch=("any")
-url="https://github.com/urllib3/urllib3"
-license=("MIT")
-makedepends=('python-setuptools' 'python-sphinx' 'python-ndg-httpsclient'
-             'python-pyasn1' 'python-pyopenssl'
-             'python-pysocks' 'python-mock'
-             'python-brotli' 'python-sphinx-furo')
-checkdepends=('python-pytest-runner' 'python-tornado' 'python-nose' 'python-psutil' 'python-trustme'
-              'python-gcp-devrel-py-tools' 'python-flaky' 'python-dateutil')
-source=("https://github.com/urllib3/urllib3/archive/$pkgver/$pkgbase-$pkgver.tar.gz")
-sha512sums=('27b5bba51ccceefe2228de054c588a3e554dd2c0a0285e4c1bded41b30a870507a57a4cb4a0e21b11409bb74e7f31499478a87cc91cec8cc252390aafb15d586')
-
-build() {
-  cd urllib3-$pkgver
-  python setup.py build
-
-  cd docs
-  make html
-}
-
-check() {
-  cd urllib3-$pkgver
-  # TODO: investigate test_respect_retry_after_header_sleep
-  python setup.py pytest --addopts "--deselect test/test_retry.py::TestRetry::test_respect_retry_after_header_sleep --deselect test/test_retry_deprecated.py::TestRetry::test_respect_retry_after_header_sleep"
-}
-
-package_python-urllib3() {
-  depends=('python')
-  optdepends=('python-pysocks: SOCKS support'
-              'python-brotli: Brotli support'
-              'python-pyopenssl: security support'
-              'python-idna: security support')
-
-  cd urllib3-$pkgver
-  python setup.py install --root="$pkgdir"
-  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-package_python-urllib3-doc() {
-  pkgdesc="urllib3 Documentation"
-
-  cd urllib3-$pkgver/docs
-  install -d "$pkgdir"/usr/share/doc
-  cp -r _build/html "$pkgdir"/usr/share/doc/python-urllib3
-  install -Dm644 ../LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-urllib3/repos/extra-any/PKGBUILD (from rev 452633, python-urllib3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-12 17:52:15 UTC (rev 452634)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Patrice Peterson <runiq at archlinux dot us>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: BorgHunter <borghunter at gmail dot com>
+
+pkgbase=python-urllib3
+pkgname=(python-urllib3 python-urllib3-doc)
+pkgver=1.26.11
+pkgrel=1
+pkgdesc="HTTP library with thread-safe connection pooling and file post support"
+arch=("any")
+url="https://github.com/urllib3/urllib3"
+license=("MIT")
+makedepends=('python-setuptools' 'python-sphinx' 'python-ndg-httpsclient'
+             'python-pyasn1' 'python-pyopenssl'
+             'python-pysocks' 'python-mock'
+             'python-brotli' 'python-sphinx-furo')
+checkdepends=('python-pytest-runner' 'python-tornado' 'python-nose' 'python-psutil' 'python-trustme'
+              'python-gcp-devrel-py-tools' 'python-flaky' 'python-dateutil')
+source=("https://github.com/urllib3/urllib3/archive/$pkgver/$pkgbase-$pkgver.tar.gz")
+sha512sums=('10d98a45ee909ac48b1cd2fd3cec0a0e8b14c64b600347105973d70aaecdf8df982cb8473bfe0d7bfdcafaa73c6074e46821962d0d6d0ecb70d7f1fadde7962b')
+
+build() {
+  cd urllib3-$pkgver
+  python setup.py build
+
+  cd docs
+  make html
+}
+
+check() {
+  cd urllib3-$pkgver
+  # TODO: investigate test_respect_retry_after_header_sleep
+  python setup.py pytest --addopts "--deselect test/test_retry.py::TestRetry::test_respect_retry_after_header_sleep --deselect test/test_retry_deprecated.py::TestRetry::test_respect_retry_after_header_sleep"
+}
+
+package_python-urllib3() {
+  depends=('python')
+  optdepends=('python-pysocks: SOCKS support'
+              'python-brotli: Brotli support'
+              'python-pyopenssl: security support'
+              'python-idna: security support')
+
+  cd urllib3-$pkgver
+  python setup.py install --root="$pkgdir"
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+package_python-urllib3-doc() {
+  pkgdesc="urllib3 Documentation"
+
+  cd urllib3-$pkgver/docs
+  install -d "$pkgdir"/usr/share/doc
+  cp -r _build/html "$pkgdir"/usr/share/doc/python-urllib3
+  install -Dm644 ../LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list