[arch-commits] Commit in python-pytest-httpbin/repos (3 files)
Date: Tuesday, November 10, 2020 @ 04:08:33 Author: foutrelis Revision: 748513 archrelease: copy trunk to community-staging-any Added: python-pytest-httpbin/repos/community-staging-any/ python-pytest-httpbin/repos/community-staging-any/LICENSE (from rev 748512, python-pytest-httpbin/trunk/LICENSE) python-pytest-httpbin/repos/community-staging-any/PKGBUILD (from rev 748512, python-pytest-httpbin/trunk/PKGBUILD) --+ LICENSE |9 + PKGBUILD | 34 ++ 2 files changed, 43 insertions(+) Copied: python-pytest-httpbin/repos/community-staging-any/LICENSE (from rev 748512, python-pytest-httpbin/trunk/LICENSE) === --- community-staging-any/LICENSE (rev 0) +++ community-staging-any/LICENSE 2020-11-10 04:08:33 UTC (rev 748513) @@ -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 Copied: python-pytest-httpbin/repos/community-staging-any/PKGBUILD (from rev 748512, python-pytest-httpbin/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-11-10 04:08:33 UTC (rev 748513) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan + +pkgname=python-pytest-httpbin +pkgver=1.0.0 +pkgrel=5 +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' + '949cb93164ce92e0a5acc184cca2da5580e31def2d153771ebfa386030fa2da65bcd48670780096d2cefe3e631dc755fc3024ae417f2d1bbbd85a39baf22') + +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.9/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 +}
[arch-commits] Commit in python-pytest-httpbin/repos (3 files)
Date: Saturday, October 26, 2019 @ 20:27:15 Author: felixonmars Revision: 520537 archrelease: copy trunk to community-staging-any Added: python-pytest-httpbin/repos/community-staging-any/ python-pytest-httpbin/repos/community-staging-any/LICENSE (from rev 520535, python-pytest-httpbin/trunk/LICENSE) python-pytest-httpbin/repos/community-staging-any/PKGBUILD (from rev 520535, python-pytest-httpbin/trunk/PKGBUILD) --+ LICENSE |9 + PKGBUILD | 59 +++ 2 files changed, 68 insertions(+) Copied: python-pytest-httpbin/repos/community-staging-any/LICENSE (from rev 520535, python-pytest-httpbin/trunk/LICENSE) === --- community-staging-any/LICENSE (rev 0) +++ community-staging-any/LICENSE 2019-10-26 20:27:15 UTC (rev 520537) @@ -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 Copied: python-pytest-httpbin/repos/community-staging-any/PKGBUILD (from rev 520535, python-pytest-httpbin/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-10-26 20:27:15 UTC (rev 520537) @@ -0,0 +1,59 @@ +# Maintainer: Felix Yan + +pkgbase=python-pytest-httpbin +pkgname=('python-pytest-httpbin' 'python2-pytest-httpbin') +pkgver=1.0.0 +pkgrel=2 +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' + '949cb93164ce92e0a5acc184cca2da5580e31def2d153771ebfa386030fa2da65bcd48670780096d2cefe3e631dc755fc3024ae417f2d1bbbd85a39baf22') + +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:
[arch-commits] Commit in python-pytest-httpbin/repos (3 files)
Date: Tuesday, February 12, 2019 @ 10:08:47 Author: felixonmars Revision: 431865 archrelease: copy trunk to community-testing-any Added: python-pytest-httpbin/repos/community-testing-any/ python-pytest-httpbin/repos/community-testing-any/LICENSE (from rev 431864, python-pytest-httpbin/trunk/LICENSE) python-pytest-httpbin/repos/community-testing-any/PKGBUILD (from rev 431864, python-pytest-httpbin/trunk/PKGBUILD) --+ LICENSE |9 + PKGBUILD | 59 +++ 2 files changed, 68 insertions(+) Copied: python-pytest-httpbin/repos/community-testing-any/LICENSE (from rev 431864, python-pytest-httpbin/trunk/LICENSE) === --- community-testing-any/LICENSE (rev 0) +++ community-testing-any/LICENSE 2019-02-12 10:08:47 UTC (rev 431865) @@ -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 Copied: python-pytest-httpbin/repos/community-testing-any/PKGBUILD (from rev 431864, python-pytest-httpbin/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2019-02-12 10:08:47 UTC (rev 431865) @@ -0,0 +1,59 @@ +# Maintainer: Felix Yan + +pkgbase=python-pytest-httpbin +pkgname=('python-pytest-httpbin' 'python2-pytest-httpbin') +pkgver=1.0.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-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' + '949cb93164ce92e0a5acc184cca2da5580e31def2d153771ebfa386030fa2da65bcd48670780096d2cefe3e631dc755fc3024ae417f2d1bbbd85a39baf22') + +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.7/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:
[arch-commits] Commit in python-pytest-httpbin/repos (3 files)
Date: Wednesday, July 18, 2018 @ 04:31:43 Author: eschwartz Revision: 361715 archrelease: copy trunk to community-staging-any Added: python-pytest-httpbin/repos/community-staging-any/ python-pytest-httpbin/repos/community-staging-any/LICENSE (from rev 361714, python-pytest-httpbin/trunk/LICENSE) python-pytest-httpbin/repos/community-staging-any/PKGBUILD (from rev 361714, python-pytest-httpbin/trunk/PKGBUILD) --+ LICENSE |9 PKGBUILD | 63 + 2 files changed, 72 insertions(+) Copied: python-pytest-httpbin/repos/community-staging-any/LICENSE (from rev 361714, python-pytest-httpbin/trunk/LICENSE) === --- community-staging-any/LICENSE (rev 0) +++ community-staging-any/LICENSE 2018-07-18 04:31:43 UTC (rev 361715) @@ -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 Copied: python-pytest-httpbin/repos/community-staging-any/PKGBUILD (from rev 361714, python-pytest-httpbin/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-18 04:31:43 UTC (rev 361715) @@ -0,0 +1,63 @@ +# $Id: PKGBUILD 145298 2015-10-30 10:35:09Z fyan $ +# Maintainer: Felix Yan + +pkgbase=python-pytest-httpbin +pkgname=('python-pytest-httpbin' 'python2-pytest-httpbin') +pkgver=0.3.0 +pkgrel=2 +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') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/kevin1024/pytest-httpbin/archive/v$pkgver.tar.gz; + "https://github.com/kevin1024/pytest-httpbin/pull/50/commits/65068a2632e51701d8dc97fc2e6d29086749b79a.patch; +LICENSE) +sha512sums=('fdfd6ac9350151544852908f9a165ad4cde9135ffc86bdda8b2ecae21d3850ae20720b3fa150086e9501ac6138def5c63e05c7caf73be82c866220fab82de89a' + 'cbc6a0135704372e948e16040679337cedc34f388189f2c1652ef94b74012eb5f1a0d94ae91f0cf4a1a9a4156f46b0956707cd5f33aca102bcd88b2d01207930' + '949cb93164ce92e0a5acc184cca2da5580e31def2d153771ebfa386030fa2da65bcd48670780096d2cefe3e631dc755fc3024ae417f2d1bbbd85a39baf22') + +prepare() { + # https://github.com/kevin1024/pytest-httpbin/issues/49 + patch -p1 -d pytest-httpbin-$pkgver < 65068a2632e51701d8dc97fc2e6d29086749b79a.patch + 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.7/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
[arch-commits] Commit in python-pytest-httpbin/repos (3 files)
Date: Sunday, December 25, 2016 @ 02:33:40 Author: felixonmars Revision: 201792 archrelease: copy trunk to community-staging-any Added: python-pytest-httpbin/repos/community-staging-any/ python-pytest-httpbin/repos/community-staging-any/LICENSE (from rev 201791, python-pytest-httpbin/trunk/LICENSE) python-pytest-httpbin/repos/community-staging-any/PKGBUILD (from rev 201791, python-pytest-httpbin/trunk/PKGBUILD) --+ LICENSE |9 PKGBUILD | 62 + 2 files changed, 71 insertions(+) Copied: python-pytest-httpbin/repos/community-staging-any/LICENSE (from rev 201791, python-pytest-httpbin/trunk/LICENSE) === --- community-staging-any/LICENSE (rev 0) +++ community-staging-any/LICENSE 2016-12-25 02:33:40 UTC (rev 201792) @@ -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 Copied: python-pytest-httpbin/repos/community-staging-any/PKGBUILD (from rev 201791, python-pytest-httpbin/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2016-12-25 02:33:40 UTC (rev 201792) @@ -0,0 +1,62 @@ +# $Id: PKGBUILD 145298 2015-10-30 10:35:09Z fyan $ +# Maintainer: Felix Yan+ +pkgbase=python-pytest-httpbin +pkgname=('python-pytest-httpbin' 'python2-pytest-httpbin') +_commit=e4ffbae0a44895ae8ddfdffdebd1b5e062d1d743 +pkgver=0.2.3 +pkgrel=2 +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:
[arch-commits] Commit in python-pytest-httpbin/repos (3 files)
Date: Wednesday, December 16, 2015 @ 03:31:20 Author: fyan Revision: 153395 archrelease: copy trunk to community-any Added: python-pytest-httpbin/repos/community-any/ python-pytest-httpbin/repos/community-any/LICENSE (from rev 153394, python-pytest-httpbin/trunk/LICENSE) python-pytest-httpbin/repos/community-any/PKGBUILD (from rev 153394, python-pytest-httpbin/trunk/PKGBUILD) --+ LICENSE |9 PKGBUILD | 62 + 2 files changed, 71 insertions(+) Copied: python-pytest-httpbin/repos/community-any/LICENSE (from rev 153394, python-pytest-httpbin/trunk/LICENSE) === --- community-any/LICENSE (rev 0) +++ community-any/LICENSE 2015-12-16 02:31:20 UTC (rev 153395) @@ -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 Copied: python-pytest-httpbin/repos/community-any/PKGBUILD (from rev 153394, python-pytest-httpbin/trunk/PKGBUILD) === --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2015-12-16 02:31:20 UTC (rev 153395) @@ -0,0 +1,62 @@ +# $Id: PKGBUILD 145298 2015-10-30 10:35:09Z fyan $ +# Maintainer: Felix Yan+ +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: