[arch-commits] Commit in python-cheroot/repos/community-staging-any (8 files)

Thore Bödecker foxxx0 at archlinux.org
Mon Nov 16 09:09:05 UTC 2020


    Date: Monday, November 16, 2020 @ 09:09:04
  Author: foxxx0
Revision: 755169

archrelease: copy trunk to community-staging-any

Added:
  python-cheroot/repos/community-staging-any/LICENSE
    (from rev 755168, python-cheroot/trunk/LICENSE)
  python-cheroot/repos/community-staging-any/PKGBUILD
    (from rev 755168, python-cheroot/trunk/PKGBUILD)
  python-cheroot/repos/community-staging-any/disable-broken-testmon-stuff.patch
    (from rev 755168, python-cheroot/trunk/disable-broken-testmon-stuff.patch)
  python-cheroot/repos/community-staging-any/disable-broken-tests.patch
    (from rev 755168, python-cheroot/trunk/disable-broken-tests.patch)
Deleted:
  python-cheroot/repos/community-staging-any/LICENSE
  python-cheroot/repos/community-staging-any/PKGBUILD
  python-cheroot/repos/community-staging-any/disable-broken-testmon-stuff.patch
  python-cheroot/repos/community-staging-any/disable-broken-tests.patch

------------------------------------+
 LICENSE                            |   14 +-
 PKGBUILD                           |  186 +++++++++++++++++------------------
 disable-broken-testmon-stuff.patch |   96 +++++++++---------
 disable-broken-tests.patch         |   22 ++--
 4 files changed, 159 insertions(+), 159 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2020-11-16 09:08:59 UTC (rev 755168)
+++ LICENSE	2020-11-16 09:09:04 UTC (rev 755169)
@@ -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-staging-any/LICENSE (from rev 755168, python-cheroot/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2020-11-16 09:09:04 UTC (rev 755169)
@@ -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	2020-11-16 09:08:59 UTC (rev 755168)
+++ PKGBUILD	2020-11-16 09:09:04 UTC (rev 755169)
@@ -1,93 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at 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=8.4.5
-pkgrel=5
-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'
-  'python-jaraco' 'git')
-checkdepends=('python-pytest' 'python-pytest-xdist'
-              'python-requests' 'python-pyopenssl' 'python-trustme'
-              'python2-pytest' 'python2-pytest-xdist'
-              'python2-requests' 'python2-pyopenssl')
-source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz"
-        "LICENSE"
-        "disable-broken-tests.patch"
-        "disable-broken-testmon-stuff.patch")
-sha512sums=('2e8c84a67e24772dfeea7fbb397807e6553912d32392c393ec85181ccb381b1f4d3e38cc2366710a5c789869cbc6d15a79bd1b20b6d3845e5c08496b4f4b0e9e'
-            '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944'
-            '488766eeb0ce4e1c95e1848a4d89aeb190317c634b2894dcc696cb4af64bae748554154ea76cc34cf0b666d507c42e631d0e8759a6ed7669fe49bf7f8ef5b9a9'
-            '67d81874da0f0dca04356155f849908e187c2cf8c268f477c4a3d30c767cc485bc33c6358507f97477a2f630df44deb3f39dbd9a6c38bb28c7cd222bb556226d')
-
-prepare() {
-  cd "${srcdir}/${_pkgbase}-${pkgver}"
-  patch -p1 -N -i "${srcdir}/disable-broken-tests.patch"
-  patch -p1 -N -i "${srcdir}/disable-broken-testmon-stuff.patch"
-  # don't use python-coverage
-  sed -i '/^    --cov/d' pytest.ini
-
-  # 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 doesn't really provide any meaningful results for downstream packaging
-  # TODO: properly run the tests with distro packages
-
-  cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
-  # tox doesn't really provide any meaningful results for downstream packaging
-  # TODO: properly run the tests with distro packages
-}
-
-package_python-cheroot() {
-  depends=('python-six' 'python-jaraco')
-
-  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' 'python2-selectors2')
-
-  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-staging-any/PKGBUILD (from rev 755168, python-cheroot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-16 09:09:04 UTC (rev 755169)
@@ -0,0 +1,93 @@
+# Maintainer: Thore Bödecker <foxxx0 at 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=8.4.7
+pkgrel=2
+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'
+  'python-jaraco' 'git')
+checkdepends=('python-pytest' 'python-pytest-xdist'
+              'python-requests' 'python-pyopenssl' 'python-trustme'
+              'python2-pytest' 'python2-pytest-xdist'
+              'python2-requests' 'python2-pyopenssl')
+source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz"
+        "LICENSE"
+        "disable-broken-tests.patch"
+        "disable-broken-testmon-stuff.patch")
+sha512sums=('53702ae6a88418ea50b1115ab70c4bd357529af6010d9a1f986058a428b02f4711b33ef92c4d0e09def56cbccc59a9ebc5d71e7076517d78174132723871fe03'
+            '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944'
+            '488766eeb0ce4e1c95e1848a4d89aeb190317c634b2894dcc696cb4af64bae748554154ea76cc34cf0b666d507c42e631d0e8759a6ed7669fe49bf7f8ef5b9a9'
+            '67d81874da0f0dca04356155f849908e187c2cf8c268f477c4a3d30c767cc485bc33c6358507f97477a2f630df44deb3f39dbd9a6c38bb28c7cd222bb556226d')
+
+prepare() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  patch -p1 -N -i "${srcdir}/disable-broken-tests.patch"
+  patch -p1 -N -i "${srcdir}/disable-broken-testmon-stuff.patch"
+  # don't use python-coverage
+  sed -i '/^    --cov/d' pytest.ini
+
+  # 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 doesn't really provide any meaningful results for downstream packaging
+  # TODO: properly run the tests with distro packages
+
+  cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
+  # tox doesn't really provide any meaningful results for downstream packaging
+  # TODO: properly run the tests with distro packages
+}
+
+package_python-cheroot() {
+  depends=('python-six' 'python-jaraco')
+
+  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' 'python2-selectors2')
+
+  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: disable-broken-testmon-stuff.patch
===================================================================
--- disable-broken-testmon-stuff.patch	2020-11-16 09:08:59 UTC (rev 755168)
+++ disable-broken-testmon-stuff.patch	2020-11-16 09:09:04 UTC (rev 755169)
@@ -1,48 +0,0 @@
-diff -upr a/cheroot.egg-info/requires.txt b/cheroot.egg-info/requires.txt
---- a/cheroot.egg-info/requires.txt	2020-07-13 16:44:02.000000000 +0200
-+++ b/cheroot.egg-info/requires.txt	2020-07-13 18:54:35.707376340 +0200
-@@ -18,7 +18,6 @@ sphinxcontrib-spelling>=4.3.0
- pytest>=4.6.6
- pytest-mock>=1.11.0
- pytest-sugar>=0.9.3
--pytest-testmon<1.0.0
- pytest-watch==4.2.0
- pytest-xdist>=1.28.0
- jaraco.text>=3.1
-diff -upr a/pytest.ini b/pytest.ini
---- a/pytest.ini	2020-07-13 16:43:42.000000000 +0200
-+++ b/pytest.ini	2020-07-13 18:55:10.148315625 +0200
-@@ -3,10 +3,6 @@ addopts =
-     # `pytest-xdist`:
-     --numprocesses=auto
- 
--    # `pytest-mon`:
--    # useful for live testing with `pytest-watch` during development:
--    --testmon
--
-     # show 10 slowest invocations:
-     --durations=10
- 
-diff -upr a/setup.cfg b/setup.cfg
---- a/setup.cfg	2020-07-13 16:44:03.000000000 +0200
-+++ b/setup.cfg	2020-07-13 18:54:42.334223734 +0200
-@@ -79,7 +79,6 @@ testing =
- 	pytest>=4.6.6
- 	pytest-mock>=1.11.0
- 	pytest-sugar>=0.9.3
--	pytest-testmon<1.0.0
- 	pytest-watch==4.2.0
- 	pytest-xdist>=1.28.0
- 	
-diff -upr a/tox.ini b/tox.ini
---- a/tox.ini	2020-07-13 16:43:42.000000000 +0200
-+++ b/tox.ini	2020-07-13 18:54:52.601170405 +0200
-@@ -10,7 +10,7 @@ deps =
-     pip>=19.1
-     wheel
- commands =
--    pytest --testmon-off {posargs}
-+    pytest {posargs}
-     codecov -f coverage.xml -X gcov
- usedevelop = True
- extras = testing

Copied: python-cheroot/repos/community-staging-any/disable-broken-testmon-stuff.patch (from rev 755168, python-cheroot/trunk/disable-broken-testmon-stuff.patch)
===================================================================
--- disable-broken-testmon-stuff.patch	                        (rev 0)
+++ disable-broken-testmon-stuff.patch	2020-11-16 09:09:04 UTC (rev 755169)
@@ -0,0 +1,48 @@
+diff -upr a/cheroot.egg-info/requires.txt b/cheroot.egg-info/requires.txt
+--- a/cheroot.egg-info/requires.txt	2020-07-13 16:44:02.000000000 +0200
++++ b/cheroot.egg-info/requires.txt	2020-07-13 18:54:35.707376340 +0200
+@@ -18,7 +18,6 @@ sphinxcontrib-spelling>=4.3.0
+ pytest>=4.6.6
+ pytest-mock>=1.11.0
+ pytest-sugar>=0.9.3
+-pytest-testmon<1.0.0
+ pytest-watch==4.2.0
+ pytest-xdist>=1.28.0
+ jaraco.text>=3.1
+diff -upr a/pytest.ini b/pytest.ini
+--- a/pytest.ini	2020-07-13 16:43:42.000000000 +0200
++++ b/pytest.ini	2020-07-13 18:55:10.148315625 +0200
+@@ -3,10 +3,6 @@ addopts =
+     # `pytest-xdist`:
+     --numprocesses=auto
+ 
+-    # `pytest-mon`:
+-    # useful for live testing with `pytest-watch` during development:
+-    --testmon
+-
+     # show 10 slowest invocations:
+     --durations=10
+ 
+diff -upr a/setup.cfg b/setup.cfg
+--- a/setup.cfg	2020-07-13 16:44:03.000000000 +0200
++++ b/setup.cfg	2020-07-13 18:54:42.334223734 +0200
+@@ -79,7 +79,6 @@ testing =
+ 	pytest>=4.6.6
+ 	pytest-mock>=1.11.0
+ 	pytest-sugar>=0.9.3
+-	pytest-testmon<1.0.0
+ 	pytest-watch==4.2.0
+ 	pytest-xdist>=1.28.0
+ 	
+diff -upr a/tox.ini b/tox.ini
+--- a/tox.ini	2020-07-13 16:43:42.000000000 +0200
++++ b/tox.ini	2020-07-13 18:54:52.601170405 +0200
+@@ -10,7 +10,7 @@ deps =
+     pip>=19.1
+     wheel
+ commands =
+-    pytest --testmon-off {posargs}
++    pytest {posargs}
+     codecov -f coverage.xml -X gcov
+ usedevelop = True
+ extras = testing

Deleted: disable-broken-tests.patch
===================================================================
--- disable-broken-tests.patch	2020-11-16 09:08:59 UTC (rev 755168)
+++ disable-broken-tests.patch	2020-11-16 09:09:04 UTC (rev 755169)
@@ -1,11 +0,0 @@
-diff -upr a/cheroot/test/test_ssl.py b/cheroot/test/test_ssl.py
---- a/cheroot/test/test_ssl.py	2020-07-13 16:43:42.000000000 +0200
-+++ b/cheroot/test/test_ssl.py	2020-07-13 18:53:44.015966639 +0200
-@@ -212,7 +212,6 @@ def test_ssl_adapters(
- @pytest.mark.parametrize(
-     'adapter_type',
-     (
--        'builtin',
-         'pyopenssl',
-     ),
- )

Copied: python-cheroot/repos/community-staging-any/disable-broken-tests.patch (from rev 755168, python-cheroot/trunk/disable-broken-tests.patch)
===================================================================
--- disable-broken-tests.patch	                        (rev 0)
+++ disable-broken-tests.patch	2020-11-16 09:09:04 UTC (rev 755169)
@@ -0,0 +1,11 @@
+diff -upr a/cheroot/test/test_ssl.py b/cheroot/test/test_ssl.py
+--- a/cheroot/test/test_ssl.py	2020-07-13 16:43:42.000000000 +0200
++++ b/cheroot/test/test_ssl.py	2020-07-13 18:53:44.015966639 +0200
+@@ -212,7 +212,6 @@ def test_ssl_adapters(
+ @pytest.mark.parametrize(
+     'adapter_type',
+     (
+-        'builtin',
+         'pyopenssl',
+     ),
+ )



More information about the arch-commits mailing list