[arch-commits] Commit in python-cherrypy/repos/community-any (4 files)
Thore Bödecker
foxxx0 at archlinux.org
Thu Mar 28 12:54:26 UTC 2019
Date: Thursday, March 28, 2019 @ 12:54:25
Author: foxxx0
Revision: 445273
archrelease: copy trunk to community-any
Added:
python-cherrypy/repos/community-any/PKGBUILD
(from rev 445272, python-cherrypy/trunk/PKGBUILD)
python-cherrypy/repos/community-any/disable-sessiontest-file_concurrency.patch
(from rev 445272, python-cherrypy/trunk/disable-sessiontest-file_concurrency.patch)
Deleted:
python-cherrypy/repos/community-any/PKGBUILD
python-cherrypy/repos/community-any/disable-sessiontest-file_concurrency.patch
--------------------------------------------+
PKGBUILD | 120 +++++++++++++--------------
disable-sessiontest-file_concurrency.patch | 20 ++--
2 files changed, 70 insertions(+), 70 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-28 12:54:21 UTC (rev 445272)
+++ PKGBUILD 2019-03-28 12:54:25 UTC (rev 445273)
@@ -1,60 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Laurent Soest <laurent.soest at gmail.com>
-# Contributor: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Kaiting Chen <kaitocracy at gmail.com>
-# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
-# Contributor: Armando M. Baratti <amblistas at ajato.com.br>
-# Contributor: Florian Richter <Florian_Richter at gmx.de>
-
-pkgname='python-cherrypy'
-_pkgname="${pkgname#python-}"
-pkgver=18.1.0
-pkgrel=1
-pkgdesc='A pythonic, object-oriented web development framework'
-arch=('any')
-url='https://cherrypy.org'
-license=('BSD')
-depends=('python' 'python-six' 'python-cheroot' 'python-portend' 'python-jaraco'
- 'python-more-itertools' 'python-zc.lockfile')
-makedepends=('python-setuptools' 'python-setuptools-scm' 'python-six'
- 'python-cheroot' 'python-portend' 'python-more-itertools' 'python-zc.lockfile')
-checkdepends=('python-tox')
-source=(
- "${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/v$pkgver.tar.gz"
- 'disable-sessiontest-file_concurrency.patch'
-)
-sha512sums=('a7268a66d541d538d2c958b5a1d0d3b9f97724f78ce4cd091a0190562ede0c20333bc1c56984457e6400c90a45a4ecd6d48037498f3c540375d89cc4c3ba28ce'
- 'e8abb7e3f8a064a0da529fcaf393dff305541bc273b539f3129b119d506be3be8cd67894dd4223e067b4dd8b55df8adc5d4feddb8d87188c9e528670c39e252f')
-
-prepare() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- # apply patch from the source array (should be a pacman feature)
- local filename
- for filename in "${source[@]}"; do
- if [[ "$filename" =~ \.patch$ ]]; then
- msg2 "Applying patch ${filename##*/}"
- patch -p1 -N -i "$srcdir/${filename##*/}"
- fi
- done
-}
-
-build() {
- # setuptools wont find version from git tag
- export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python ./setup.py build
-}
-
-check() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- tox
-}
-
-package() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
-
- python ./setup.py install --root="${pkgdir}" --optimize=1
-
- install -Dm644 LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
-}
Copied: python-cherrypy/repos/community-any/PKGBUILD (from rev 445272, python-cherrypy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-28 12:54:25 UTC (rev 445273)
@@ -0,0 +1,60 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Laurent Soest <laurent.soest at gmail.com>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
+# Contributor: Armando M. Baratti <amblistas at ajato.com.br>
+# Contributor: Florian Richter <Florian_Richter at gmx.de>
+
+pkgname='python-cherrypy'
+_pkgname="${pkgname#python-}"
+pkgver=18.1.1
+pkgrel=1
+pkgdesc='A pythonic, object-oriented web development framework'
+arch=('any')
+url='https://cherrypy.org'
+license=('BSD')
+depends=('python' 'python-six' 'python-cheroot' 'python-portend' 'python-jaraco'
+ 'python-more-itertools' 'python-zc.lockfile')
+makedepends=('python-setuptools' 'python-setuptools-scm' 'python-six'
+ 'python-cheroot' 'python-portend' 'python-more-itertools' 'python-zc.lockfile')
+checkdepends=('python-tox')
+source=(
+ "${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/v$pkgver.tar.gz"
+ 'disable-sessiontest-file_concurrency.patch'
+)
+sha512sums=('40ec5197063407a734a78ad9b5ebb6d27b7422fc3f55955ce68f50a8840e4c481f7e9d83e9c9dec6d18899957d6cd8882524ef9a2ccb1b56b9b17a7e9dea093e'
+ 'e8abb7e3f8a064a0da529fcaf393dff305541bc273b539f3129b119d506be3be8cd67894dd4223e067b4dd8b55df8adc5d4feddb8d87188c9e528670c39e252f')
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ # apply patch from the source array (should be a pacman feature)
+ local filename
+ for filename in "${source[@]}"; do
+ if [[ "$filename" =~ \.patch$ ]]; then
+ msg2 "Applying patch ${filename##*/}"
+ patch -p1 -N -i "$srcdir/${filename##*/}"
+ fi
+ done
+}
+
+build() {
+ # setuptools wont find version from git tag
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python ./setup.py build
+}
+
+check() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ tox
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ python ./setup.py install --root="${pkgdir}" --optimize=1
+
+ install -Dm644 LICENSE.md \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+}
Deleted: disable-sessiontest-file_concurrency.patch
===================================================================
--- disable-sessiontest-file_concurrency.patch 2019-03-28 12:54:21 UTC (rev 445272)
+++ disable-sessiontest-file_concurrency.patch 2019-03-28 12:54:25 UTC (rev 445273)
@@ -1,10 +0,0 @@
---- a/cherrypy/test/test_session.py 2018-12-09 17:55:39.000000000 +0100
-+++ b/cherrypy/test/test_session.py 2019-01-02 11:45:55.454146224 +0100
-@@ -238,6 +238,7 @@ class SessionTest(helper.CPWebCase):
-
- def test_2_File_Concurrency(self):
- self.getPage('/set_session_cls/cherrypy.lib.sessions.FileSession')
-+ pytest.skip('incosistent results (fails intermittently)')
- self._test_Concurrency()
-
- def _test_Concurrency(self):
Copied: python-cherrypy/repos/community-any/disable-sessiontest-file_concurrency.patch (from rev 445272, python-cherrypy/trunk/disable-sessiontest-file_concurrency.patch)
===================================================================
--- disable-sessiontest-file_concurrency.patch (rev 0)
+++ disable-sessiontest-file_concurrency.patch 2019-03-28 12:54:25 UTC (rev 445273)
@@ -0,0 +1,10 @@
+--- a/cherrypy/test/test_session.py 2018-12-09 17:55:39.000000000 +0100
++++ b/cherrypy/test/test_session.py 2019-01-02 11:45:55.454146224 +0100
+@@ -238,6 +238,7 @@ class SessionTest(helper.CPWebCase):
+
+ def test_2_File_Concurrency(self):
+ self.getPage('/set_session_cls/cherrypy.lib.sessions.FileSession')
++ pytest.skip('incosistent results (fails intermittently)')
+ self._test_Concurrency()
+
+ def _test_Concurrency(self):
More information about the arch-commits
mailing list