Date: Wednesday, November 28, 2018 @ 20:09:18 Author: dvzrv Revision: 410467
archrelease: copy trunk to community-any Added: python-nose-progressive/repos/community-any/LICENSE (from rev 410466, python-nose-progressive/trunk/LICENSE) python-nose-progressive/repos/community-any/PKGBUILD (from rev 410466, python-nose-progressive/trunk/PKGBUILD) Deleted: python-nose-progressive/repos/community-any/LICENSE python-nose-progressive/repos/community-any/PKGBUILD ----------+ LICENSE | 40 +++++++++++++++---------------- PKGBUILD | 78 ++++++++++++++++++++++++++++--------------------------------- 2 files changed, 57 insertions(+), 61 deletions(-) Deleted: LICENSE =================================================================== --- LICENSE 2018-11-28 20:09:12 UTC (rev 410466) +++ LICENSE 2018-11-28 20:09:18 UTC (rev 410467) @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2011 Erik Rose - -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-nose-progressive/repos/community-any/LICENSE (from rev 410466, python-nose-progressive/trunk/LICENSE) =================================================================== --- LICENSE (rev 0) +++ LICENSE 2018-11-28 20:09:18 UTC (rev 410467) @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2011 Erik Rose + +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 2018-11-28 20:09:12 UTC (rev 410466) +++ PKGBUILD 2018-11-28 20:09:18 UTC (rev 410467) @@ -1,41 +0,0 @@ -# Maintainer: David Runge <d...@sleepmap.de> -_name=nose-progressive -pkgname=python-nose-progressive -pkgver=1.5.1 -pkgrel=3 -pkgdesc="Give your tests a progress bar and smarter tracebacks in 3 lines" -arch=('any') -url="https://github.com/erikrose/nose-progressive" -license=('MIT') -depends=('python-blessings' 'python-nose' 'python-setuptools') -# LICENSE missing in pypi source: https://github.com/erikrose/nose-progressive/issues/89 -source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz" - "https://raw.githubusercontent.com/erikrose/nose-progressive/master/LICENSE") -sha512sums=('75e10c21b734dbf66842c8c0f2514db27a4c5e1fcf893371072836c5b1c6cda9ad2ac12d847387a730982934397492c238b9d471dcd4cf584a9a43896b5ced17' - '263b406ff153e82c95fce08921a4b6dc0f627b374b2051a35490d37df8bdbf8269a04b3c11c84d8a16e19f7d60759711a30472032d4fe8f4942e0790f1d69d1e') - -prepare() { - mv -v "${_name}-$pkgver" "$pkgname-$pkgver" -} - -build() { - cd "$pkgname-$pkgver" - python setup.py build -} - -# tests broken: https://github.com/erikrose/nose-progressive/issues/90 -#check() { -# cd "$pkgname-$pkgver" -# export PYTHONPATH=build:${PYTHONPATH} -# nosetests noseprogressive -#} - -package() { - cd "$pkgname-$pkgver" - python setup.py install --skip-build \ - --optimize=1 \ - --prefix=/usr \ - --root="${pkgdir}" - install -vDm 644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" -} Copied: python-nose-progressive/repos/community-any/PKGBUILD (from rev 410466, python-nose-progressive/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-11-28 20:09:18 UTC (rev 410467) @@ -0,0 +1,37 @@ +# Maintainer: David Runge <d...@sleepmap.de> +_name=nose-progressive +pkgname=python-nose-progressive +pkgver=1.5.2 +pkgrel=1 +pkgdesc="Give your tests a progress bar and smarter tracebacks in 3 lines" +arch=('any') +url="https://github.com/erikrose/nose-progressive" +license=('MIT') +depends=('python-blessings' 'python-nose' 'python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha512sums=('59abe0e5f060149046aa4e9b8ca622af1eb65db3b69631b5c6230c31ee9641f9f7b9bba7ed50709f5243c04a9bbf36fd5901601e3d93e9b68867fc37357b649e') + +prepare() { + mv -v "${_name}-$pkgver" "$pkgname-$pkgver" +} + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +check() { + cd "$pkgname-$pkgver" + export PYTHONPATH=build/lib:${PYTHONPATH} + nosetests noseprogressive || warning "Known failing test: https://github.com/erikrose/nose-progressive/issues/90" +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --skip-build \ + --optimize=1 \ + --prefix=/usr \ + --root="${pkgdir}" + install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" +}