[arch-commits] Commit in python-pytest-httpbin/repos/community-any (4 files)
Felix Yan
felixonmars at archlinux.org
Thu Feb 13 09:00:35 UTC 2020
Date: Thursday, February 13, 2020 @ 09:00:34
Author: felixonmars
Revision: 569914
archrelease: copy trunk to community-any
Added:
python-pytest-httpbin/repos/community-any/LICENSE
(from rev 569912, python-pytest-httpbin/trunk/LICENSE)
python-pytest-httpbin/repos/community-any/PKGBUILD
(from rev 569912, python-pytest-httpbin/trunk/PKGBUILD)
Deleted:
python-pytest-httpbin/repos/community-any/LICENSE
python-pytest-httpbin/repos/community-any/PKGBUILD
----------+
LICENSE | 18 +++++------
PKGBUILD | 93 ++++++++++++++++++++++---------------------------------------
2 files changed, 43 insertions(+), 68 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2020-02-13 09:00:33 UTC (rev 569913)
+++ LICENSE 2020-02-13 09:00:34 UTC (rev 569914)
@@ -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 569912, python-pytest-httpbin/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2020-02-13 09:00:34 UTC (rev 569914)
@@ -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 2020-02-13 09:00:33 UTC (rev 569913)
+++ PKGBUILD 2020-02-13 09:00:34 UTC (rev 569914)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-httpbin
-pkgname=('python-pytest-httpbin' 'python2-pytest-httpbin')
-pkgver=1.0.0
-pkgrel=3
-pkgdesc='A py.test fixture for httpbining code'
-arch=('any')
-license=('MIT')
-url='https://github.com/kevin1024/pytest-httpbin'
-makedepends=('python-pytest' 'python2-pytest' 'python-six' 'python2-six' 'httpbin' 'python2-httpbin')
-checkdepends=('python-requests' 'python2-requests' 'python-pytest-runner' 'python2-pytest-runner'
- 'python2-ipaddress')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/kevin1024/pytest-httpbin/archive/v$pkgver.tar.gz"
- LICENSE)
-sha512sums=('2794134cc005cb969752e0c1119459d3f1e106f679942880a6b9ff507f2ee31c8ac4146a9c01b9a920368ea516443954b1b7044f7b1c270fe251f7d36adf7661'
- '949cb93164ce92e0a5acc184cca2da5580e31def2d153771ebfa386030fa2da65bcd48670780096d2cefe3e631dc755fc3024ae417f2d1bb3333bd85a39baf22')
-
-prepare() {
- cp -a pytest-httpbin-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/pytest-httpbin-$pkgver
- python setup.py build
-
- cd "$srcdir"/pytest-httpbin-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd "$srcdir"/pytest-httpbin-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" python setup.py pytest
-
- cd "$srcdir"/pytest-httpbin-$pkgver-py2
- python2 setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" python2 setup.py pytest
-}
-
-package_python-pytest-httpbin() {
- depends=('python-pytest' 'python-six' 'httpbin')
-
- cd pytest-httpbin-$pkgver
- python setup.py install --root="$pkgdir"/ --optimize=1
- install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pytest-httpbin() {
- depends=('python2-pytest' 'python2-six' 'python2-httpbin')
-
- cd pytest-httpbin-$pkgver-py2
- python2 setup.py install --root="$pkgdir"/ --optimize=1
- install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pytest-httpbin/repos/community-any/PKGBUILD (from rev 569912, python-pytest-httpbin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-13 09:00:34 UTC (rev 569914)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-httpbin
+pkgver=1.0.0
+pkgrel=4
+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=('2794134cc005cb969752e0c1119459d3f1e106f679942880a6b9ff507f2ee31c8ac4146a9c01b9a920368ea516443954b1b7044f7b1c270fe251f7d36adf7661'
+ '949cb93164ce92e0a5acc184cca2da5580e31def2d153771ebfa386030fa2da65bcd48670780096d2cefe3e631dc755fc3024ae417f2d1bb3333bd85a39baf22')
+
+build() {
+ cd pytest-httpbin-$pkgver
+ python setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd pytest-httpbin-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" python -m pytest
+}
+
+package() {
+ cd pytest-httpbin-$pkgver
+ python setup.py install --root="$pkgdir"/ --optimize=1
+ install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list