Date: Wednesday, September 4, 2019 @ 08:51:20 Author: foxxx0 Revision: 508004
archrelease: copy trunk to community-any Added: python-cheroot/repos/community-any/LICENSE (from rev 508003, python-cheroot/trunk/LICENSE) python-cheroot/repos/community-any/PKGBUILD (from rev 508003, python-cheroot/trunk/PKGBUILD) python-cheroot/repos/community-any/cheroot-fix-setup-python3.patch (from rev 508003, python-cheroot/trunk/cheroot-fix-setup-python3.patch) python-cheroot/repos/community-any/disable-broken-tests.patch (from rev 508003, python-cheroot/trunk/disable-broken-tests.patch) Deleted: python-cheroot/repos/community-any/LICENSE python-cheroot/repos/community-any/PKGBUILD python-cheroot/repos/community-any/cheroot-fix-setup-python3.patch python-cheroot/repos/community-any/disable-broken-tests.patch ---------------------------------+ LICENSE | 14 +-- PKGBUILD | 172 +++++++++++++++++++------------------- cheroot-fix-setup-python3.patch | 20 ++-- disable-broken-tests.patch | 20 ++-- 4 files changed, 113 insertions(+), 113 deletions(-) Deleted: LICENSE =================================================================== --- LICENSE 2019-09-04 08:51:15 UTC (rev 508003) +++ LICENSE 2019-09-04 08:51:20 UTC (rev 508004) @@ -1,7 +0,0 @@ -Copyright Jason R. Coombs - -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-cheroot/repos/community-any/LICENSE (from rev 508003, python-cheroot/trunk/LICENSE) =================================================================== --- LICENSE (rev 0) +++ LICENSE 2019-09-04 08:51:20 UTC (rev 508004) @@ -0,0 +1,7 @@ +Copyright Jason R. Coombs + +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 2019-09-04 08:51:15 UTC (rev 508003) +++ PKGBUILD 2019-09-04 08:51:20 UTC (rev 508004) @@ -1,86 +0,0 @@ -# Maintainer: Thore Bödecker <fox...@archlinux.org> -# Contributor: wangjiezhe <wangjiezhe AT yandex DOT com> - -pkgbase='python-cheroot' -_pkgbase="${pkgbase//python-/}" -pkgname=('python-cheroot' 'python2-cheroot') -pkgdesc="Highly-optimized, pure-python HTTP server" -pkgver=6.5.6 -pkgrel=1 -arch=('any') -url="https://github.com/cherrypy/cheroot" -license=('MIT') -makedepends=('python-six' 'python2-six' 'python-setuptools-scm' - 'python2-setuptools-scm' 'python2-backports.functools_lru_cache' - 'python2-backports.unittest_mock' 'tree' 'python-tox' 'python2-tox') -source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz" - "LICENSE" - "cheroot-fix-setup-python3.patch" - "disable-broken-tests.patch") -sha512sums=('6796940e9a3f09fcdbf8c75a820222619dd7388012f294396e425d7d535b3a1a8962e9c206d2951b58c8ec04d921b57e54fca70e8775adf9ec219834cada0e8c' - '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944' - 'f303770c9f8565755230c2e957c444f2c69aea711abd8efc3d916688a31fe187d996e250eeba43e692e87d558831d4708fc712e2c653519d7ea42efba7d3e832' - 'ee08317c027a36461a89642e47edd5f9706796dbd6c273bbda3a37da5b1578701f861b09f23957636de5e72f38c312ad07caf0216408ec5d543feea7130839ba') - -prepare() { - cd "${srcdir}/${_pkgbase}-${pkgver}" - patch -p1 -N -i "${srcdir}/cheroot-fix-setup-python3.patch" - - cd "${srcdir}/${_pkgbase}-${pkgver}" - patch -p1 -N -i "${srcdir}/disable-broken-tests.patch" - - # git-archive support is not needed since we use PyPI tarballs - sed -i '/setuptools_scm_git_archive/d' setup.cfg - - cp -r "${srcdir}/${_pkgbase}-${pkgver}" "${srcdir}/${_pkgbase}-${pkgver}-py2" -} - -build() { - # setuptools wont find version from git tag - export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}" - - cd "${srcdir}/${_pkgbase}-${pkgver}" - python setup.py build - - cd "${srcdir}/${_pkgbase}-${pkgver}-py2" - python2 setup.py build -} - -check() { - cd "${srcdir}/${_pkgbase}-${pkgver}" - tox - - cd "${srcdir}/${_pkgbase}-${pkgver}-py2" - tox2 -} - -package_python-cheroot() { - depends=('python-six') - - cd "${srcdir}/${_pkgbase}-${pkgver}" - python setup.py install --root="$pkgdir/" --optimize=1 - - # the author has promised to include a LICENSE file in future releases: - # https://github.com/jaraco/skeleton/issues/1 - # for now the LICENSE file has been taken from: - # https://github.com/jaraco/skeleton/blob/skeleton/LICENSE - install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -package_python2-cheroot() { - depends=('python2-six' 'python2-backports.functools_lru_cache' - 'python2-backports.unittest_mock') - - cd "${srcdir}/${_pkgbase}-${pkgver}-py2" - python2 setup.py install --root="$pkgdir/" --optimize=1 - - # the author has promised to include a LICENSE file in future releases: - # https://github.com/jaraco/skeleton/issues/1 - # for now the LICENSE file has been taken from: - # https://github.com/jaraco/skeleton/blob/skeleton/LICENSE - install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - mv "${pkgdir}/usr/bin/cheroot" "${pkgdir}/usr/bin/cheroot2" -} - -# vim:set ts=2 sw=2 et: Copied: python-cheroot/repos/community-any/PKGBUILD (from rev 508003, python-cheroot/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-09-04 08:51:20 UTC (rev 508004) @@ -0,0 +1,86 @@ +# Maintainer: Thore Bödecker <fox...@archlinux.org> +# Contributor: wangjiezhe <wangjiezhe AT yandex DOT com> + +pkgbase='python-cheroot' +_pkgbase="${pkgbase//python-/}" +pkgname=('python-cheroot' 'python2-cheroot') +pkgdesc="Highly-optimized, pure-python HTTP server" +pkgver=6.5.7 +pkgrel=1 +arch=('any') +url="https://github.com/cherrypy/cheroot" +license=('MIT') +makedepends=('python-six' 'python2-six' 'python-setuptools-scm' + 'python2-setuptools-scm' 'python2-backports.functools_lru_cache' + 'python2-backports.unittest_mock' 'tree' 'python-tox' 'python2-tox') +source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz" + "LICENSE" + "cheroot-fix-setup-python3.patch" + "disable-broken-tests.patch") +sha512sums=('0800c3033c10bd74b56ee2b9026e6c2690a1e3ed64ca4a90db562b50340345bc8e251eeec5792761ff0e84839f7da65f4b1c8ac4eefa3bf63a8803386f33f943' + '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944' + 'f303770c9f8565755230c2e957c444f2c69aea711abd8efc3d916688a31fe187d996e250eeba43e692e87d558831d4708fc712e2c653519d7ea42efba7d3e832' + 'ee08317c027a36461a89642e47edd5f9706796dbd6c273bbda3a37da5b1578701f861b09f23957636de5e72f38c312ad07caf0216408ec5d543feea7130839ba') + +prepare() { + cd "${srcdir}/${_pkgbase}-${pkgver}" + patch -p1 -N -i "${srcdir}/cheroot-fix-setup-python3.patch" + + cd "${srcdir}/${_pkgbase}-${pkgver}" + patch -p1 -N -i "${srcdir}/disable-broken-tests.patch" + + # git-archive support is not needed since we use PyPI tarballs + sed -i '/setuptools_scm_git_archive/d' setup.cfg + + cp -r "${srcdir}/${_pkgbase}-${pkgver}" "${srcdir}/${_pkgbase}-${pkgver}-py2" +} + +build() { + # setuptools wont find version from git tag + export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}" + + cd "${srcdir}/${_pkgbase}-${pkgver}" + python setup.py build + + cd "${srcdir}/${_pkgbase}-${pkgver}-py2" + python2 setup.py build +} + +check() { + cd "${srcdir}/${_pkgbase}-${pkgver}" + tox + + cd "${srcdir}/${_pkgbase}-${pkgver}-py2" + tox2 +} + +package_python-cheroot() { + depends=('python-six') + + cd "${srcdir}/${_pkgbase}-${pkgver}" + python setup.py install --root="$pkgdir/" --optimize=1 + + # the author has promised to include a LICENSE file in future releases: + # https://github.com/jaraco/skeleton/issues/1 + # for now the LICENSE file has been taken from: + # https://github.com/jaraco/skeleton/blob/skeleton/LICENSE + install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +package_python2-cheroot() { + depends=('python2-six' 'python2-backports.functools_lru_cache' + 'python2-backports.unittest_mock') + + cd "${srcdir}/${_pkgbase}-${pkgver}-py2" + python2 setup.py install --root="$pkgdir/" --optimize=1 + + # the author has promised to include a LICENSE file in future releases: + # https://github.com/jaraco/skeleton/issues/1 + # for now the LICENSE file has been taken from: + # https://github.com/jaraco/skeleton/blob/skeleton/LICENSE + install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + mv "${pkgdir}/usr/bin/cheroot" "${pkgdir}/usr/bin/cheroot2" +} + +# vim:set ts=2 sw=2 et: Deleted: cheroot-fix-setup-python3.patch =================================================================== --- cheroot-fix-setup-python3.patch 2019-09-04 08:51:15 UTC (rev 508003) +++ cheroot-fix-setup-python3.patch 2019-09-04 08:51:20 UTC (rev 508004) @@ -1,10 +0,0 @@ ---- a/setup.cfg 2018-12-27 20:35:11.000000000 +0100 -+++ b/setup.cfg 2019-01-02 10:19:34.658391238 +0100 -@@ -57,7 +57,7 @@ setup_requires = - setuptools_scm>=1.15.0 - setuptools_scm_git_archive>=1.0 - install_requires = -- backports.functools_lru_cache -+ backports.functools_lru_cache; python_version<"3.4.0" - six>=1.11.0 - more_itertools>=2.6 Copied: python-cheroot/repos/community-any/cheroot-fix-setup-python3.patch (from rev 508003, python-cheroot/trunk/cheroot-fix-setup-python3.patch) =================================================================== --- cheroot-fix-setup-python3.patch (rev 0) +++ cheroot-fix-setup-python3.patch 2019-09-04 08:51:20 UTC (rev 508004) @@ -0,0 +1,10 @@ +--- a/setup.cfg 2018-12-27 20:35:11.000000000 +0100 ++++ b/setup.cfg 2019-01-02 10:19:34.658391238 +0100 +@@ -57,7 +57,7 @@ setup_requires = + setuptools_scm>=1.15.0 + setuptools_scm_git_archive>=1.0 + install_requires = +- backports.functools_lru_cache ++ backports.functools_lru_cache; python_version<"3.4.0" + six>=1.11.0 + more_itertools>=2.6 Deleted: disable-broken-tests.patch =================================================================== --- disable-broken-tests.patch 2019-09-04 08:51:15 UTC (rev 508003) +++ disable-broken-tests.patch 2019-09-04 08:51:20 UTC (rev 508004) @@ -1,10 +0,0 @@ ---- cheroot-6.5.5/cheroot/test/test_ssl.py 2019-06-03 13:16:07.000000000 +0200 -+++ b/cheroot/test/test_ssl.py 2019-06-03 13:55:56.147157113 +0200 -@@ -206,7 +206,6 @@ def test_ssl_adapters( - @pytest.mark.parametrize( - 'adapter_type', - ( -- 'builtin', - 'pyopenssl', - ), - ) Copied: python-cheroot/repos/community-any/disable-broken-tests.patch (from rev 508003, python-cheroot/trunk/disable-broken-tests.patch) =================================================================== --- disable-broken-tests.patch (rev 0) +++ disable-broken-tests.patch 2019-09-04 08:51:20 UTC (rev 508004) @@ -0,0 +1,10 @@ +--- cheroot-6.5.5/cheroot/test/test_ssl.py 2019-06-03 13:16:07.000000000 +0200 ++++ b/cheroot/test/test_ssl.py 2019-06-03 13:55:56.147157113 +0200 +@@ -206,7 +206,6 @@ def test_ssl_adapters( + @pytest.mark.parametrize( + 'adapter_type', + ( +- 'builtin', + 'pyopenssl', + ), + )