[arch-commits] Commit in python-pytest-httpbin/repos/community-any (4 files)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Mar 11 22:05:03 UTC 2022
Date: Friday, March 11, 2022 @ 22:05:03
Author: felixonmars
Revision: 1148822
archrelease: copy trunk to community-any
Added:
python-pytest-httpbin/repos/community-any/LICENSE
(from rev 1148821, python-pytest-httpbin/trunk/LICENSE)
python-pytest-httpbin/repos/community-any/PKGBUILD
(from rev 1148821, python-pytest-httpbin/trunk/PKGBUILD)
Deleted:
python-pytest-httpbin/repos/community-any/LICENSE
python-pytest-httpbin/repos/community-any/PKGBUILD
----------+
LICENSE | 18 +++++++--------
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
2 files changed, 44 insertions(+), 44 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2022-03-11 22:04:52 UTC (rev 1148821)
+++ LICENSE 2022-03-11 22:05:03 UTC (rev 1148822)
@@ -1,9 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014-2015 Kevin McCarthy
-
-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.
\ No newline at end of file
Copied: python-pytest-httpbin/repos/community-any/LICENSE (from rev 1148821, python-pytest-httpbin/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2022-03-11 22:05:03 UTC (rev 1148822)
@@ -0,0 +1,9 @@
+The MIT License (MIT)
+
+Copyright (c) 2014-2015 Kevin McCarthy
+
+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.
\ No newline at end of file
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-11 22:04:52 UTC (rev 1148821)
+++ PKGBUILD 2022-03-11 22:05:03 UTC (rev 1148822)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-httpbin
-pkgver=1.0.1
-pkgrel=1
-pkgdesc='A py.test fixture for httpbining code'
-arch=('any')
-license=('MIT')
-url='https://github.com/kevin1024/pytest-httpbin'
-depends=('python-pytest' 'python-six' 'httpbin')
-checkdepends=('python-requests')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/kevin1024/pytest-httpbin/archive/v$pkgver.tar.gz"
- LICENSE)
-sha512sums=('3a11073d85478e7b748cfae5a7f639b2cf6ebc396ebb9972f39ead3d869ab1abaf0afa90f113e2393652ed08621716e54c9c5dcb41c59ff67341f7b28445544d'
- '949cb93164ce92e0a5acc184cca2da5580e31def2d153771ebfa386030fa2da65bcd48670780096d2cefe3e631dc755fc3024ae417f2d1bb3333bd85a39baf22')
-
-build() {
- cd pytest-httpbin-$pkgver
- python setup.py build
-}
-
-check() {
- # Hack entry points by installing it
- # https://github.com/kevin1024/pytest-httpbin/issues/64
-
- cd pytest-httpbin-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest --deselect tests/test_server.py::test_redirect_location_is_https_for_secure_server
-}
-
-package() {
- cd pytest-httpbin-$pkgver
- python setup.py install --root="$pkgdir"/ --optimize=1
- install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-pytest-httpbin/repos/community-any/PKGBUILD (from rev 1148821, python-pytest-httpbin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-11 22:05:03 UTC (rev 1148822)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-httpbin
+pkgver=1.0.2
+pkgrel=1
+pkgdesc='A py.test fixture for httpbining code'
+arch=('any')
+license=('MIT')
+url='https://github.com/kevin1024/pytest-httpbin'
+depends=('python-pytest' 'python-six' 'httpbin')
+checkdepends=('python-requests')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kevin1024/pytest-httpbin/archive/v$pkgver.tar.gz"
+ LICENSE)
+sha512sums=('b4adac1c37506391d83f7772814b4a9ce5134cc6834d8758e71d39610f8b29e57e72b11b2233be51e41b2c36bc305d40fc4b260a7f83d10390f4e940df8aa366'
+ '949cb93164ce92e0a5acc184cca2da5580e31def2d153771ebfa386030fa2da65bcd48670780096d2cefe3e631dc755fc3024ae417f2d1bb3333bd85a39baf22')
+
+build() {
+ cd pytest-httpbin-$pkgver
+ python setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+ # https://github.com/kevin1024/pytest-httpbin/issues/64
+
+ cd pytest-httpbin-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest --deselect tests/test_server.py::test_redirect_location_is_https_for_secure_server
+}
+
+package() {
+ cd pytest-httpbin-$pkgver
+ python setup.py install --root="$pkgdir"/ --optimize=1
+ install -D -m644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list