[arch-commits] Commit in python-pytest-httpbin/repos/community-any (4 files)
Felix Yan
felixonmars at archlinux.org
Wed Nov 9 08:56:21 UTC 2016
Date: Wednesday, November 9, 2016 @ 08:56:19
Author: felixonmars
Revision: 195195
archrelease: copy trunk to community-any
Added:
python-pytest-httpbin/repos/community-any/LICENSE
(from rev 195194, python-pytest-httpbin/trunk/LICENSE)
python-pytest-httpbin/repos/community-any/PKGBUILD
(from rev 195194, python-pytest-httpbin/trunk/PKGBUILD)
Deleted:
python-pytest-httpbin/repos/community-any/LICENSE
python-pytest-httpbin/repos/community-any/PKGBUILD
----------+
LICENSE | 18 ++++----
PKGBUILD | 124 ++++++++++++++++++++++++++++++-------------------------------
2 files changed, 71 insertions(+), 71 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2016-11-09 08:56:04 UTC (rev 195194)
+++ LICENSE 2016-11-09 08:56:19 UTC (rev 195195)
@@ -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 195194, python-pytest-httpbin/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2016-11-09 08:56:19 UTC (rev 195195)
@@ -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 2016-11-09 08:56:04 UTC (rev 195194)
+++ PKGBUILD 2016-11-09 08:56:19 UTC (rev 195195)
@@ -1,62 +0,0 @@
-# $Id: PKGBUILD 145298 2015-10-30 10:35:09Z fyan $
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-httpbin
-pkgname=('python-pytest-httpbin' 'python2-pytest-httpbin')
-_pypiname=pytest-httpbin
-pkgver=0.2.0
-pkgrel=1
-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-flask' 'python2-flask'
- 'python-decorator' 'python2-decorator' 'python-six' 'python2-six'
- 'httpbin' 'python2-httpbin' 'git')
-checkdepends=('python-requests' 'python2-requests' 'python-pytest-runner' 'python2-pytest-runner')
-source=("git+https://github.com/kevin1024/pytest-httpbin.git#tag=v$pkgver"
- LICENSE)
-md5sums=('SKIP'
- '784ac13962be640b76df58e023712ddd')
-
-prepare() {
- cp -a "${srcdir}/${_pypiname}"{,-py2}
-}
-
-build() {
- cd "$srcdir/$_pypiname"
- python setup.py build
-
- cd "$srcdir/$_pypiname-py2"
- python2 setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd "$srcdir/$_pypiname"
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH" python setup.py ptr
-
- cd "$srcdir/$_pypiname-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 ptr
-}
-
-package_python-pytest-httpbin() {
- depends=('python-pytest' 'python-flask' 'python-decorator' 'python-six' 'httpbin')
-
- cd "$srcdir/$_pypiname"
- 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-flask' 'python2-decorator' 'python2-six' 'python2-httpbin')
-
- cd "$srcdir/$_pypiname-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 195194, python-pytest-httpbin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-11-09 08:56:19 UTC (rev 195195)
@@ -0,0 +1,62 @@
+# $Id: PKGBUILD 145298 2015-10-30 10:35:09Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-httpbin
+pkgname=('python-pytest-httpbin' 'python2-pytest-httpbin')
+_commit=e4ffbae0a44895ae8ddfdffdebd1b5e062d1d743
+pkgver=0.2.3
+pkgrel=1
+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-flask' 'python2-flask'
+ 'python-decorator' 'python2-decorator' 'python-six' 'python2-six'
+ 'httpbin' 'python2-httpbin' 'git')
+checkdepends=('python-requests' 'python2-requests' 'python-pytest-runner' 'python2-pytest-runner')
+source=("git+https://github.com/kevin1024/pytest-httpbin.git#commit=$_commit"
+ LICENSE)
+md5sums=('SKIP'
+ '784ac13962be640b76df58e023712ddd')
+
+prepare() {
+ cp -a pytest-httpbin{,-py2}
+}
+
+build() {
+ cd "$srcdir"/pytest-httpbin
+ python setup.py build
+
+ cd "$srcdir"/pytest-httpbin-py2
+ python2 setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd "$srcdir"/pytest-httpbin
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH" python setup.py ptr
+
+ cd "$srcdir"/pytest-httpbin-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 ptr
+}
+
+package_python-pytest-httpbin() {
+ depends=('python-pytest' 'python-flask' 'python-decorator' 'python-six' 'httpbin')
+
+ cd pytest-httpbin
+ 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-flask' 'python2-decorator' 'python2-six' 'python2-httpbin')
+
+ cd pytest-httpbin-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:
More information about the arch-commits
mailing list