[arch-commits] Commit in python-cherrypy/trunk (2 files)
Thore Bödecker
foxxx0 at archlinux.org
Mon Sep 10 07:46:48 UTC 2018
Date: Monday, September 10, 2018 @ 07:46:47
Author: foxxx0
Revision: 378985
upgpkg: python-cherrypy 18.0.1-1
update to 18.0.1
Modified:
python-cherrypy/trunk/PKGBUILD
Deleted:
python-cherrypy/trunk/fix-legacy-contextlib2-import.patch
-------------------------------------+
PKGBUILD | 10 ++++------
fix-legacy-contextlib2-import.patch | 30 ------------------------------
2 files changed, 4 insertions(+), 36 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-10 06:40:01 UTC (rev 378984)
+++ PKGBUILD 2018-09-10 07:46:47 UTC (rev 378985)
@@ -8,8 +8,8 @@
pkgname='python-cherrypy'
_pkgname="${pkgname#python-}"
-pkgver=18.0.0
-pkgrel=2
+pkgver=18.0.1
+pkgrel=1
pkgdesc='A pythonic, object-oriented web development framework'
arch=('any')
url='https://cherrypy.org'
@@ -19,10 +19,8 @@
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"
- 'fix-legacy-contextlib2-import.patch')
-sha512sums=('4c1ace8107a436214372b029ba89417b74c82438d281be648abae9f4aa07cae5d9187c0d2ce212125a16ca8acc09b2b26812cd3319386b4be3aa27548cdfa06b'
- '8cd6910177c4057252c4ad7d049265f2528f808feb81e15e45e1a0f15f8f75f177059fdd98614de8a9e15ba5616f8feb394c06f6eb10bedbd2effac3104d76c7')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/v$pkgver.tar.gz")
+sha512sums=('325e68193697ddcd26534998af0899333c5869071ca5454d2ca93975ebda67904ee9ebe30f325d7fc49d6e137a16dadef8371f650d5286d80b6026c953b1cfd2')
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
Deleted: fix-legacy-contextlib2-import.patch
===================================================================
--- fix-legacy-contextlib2-import.patch 2018-09-10 06:40:01 UTC (rev 378984)
+++ fix-legacy-contextlib2-import.patch 2018-09-10 07:46:47 UTC (rev 378985)
@@ -1,30 +0,0 @@
---- a/cherrypy/lib/sessions.py 2018-09-02 01:11:12.000000000 +0200
-+++ b/cherrypy/lib/sessions.py 2018-09-04 15:24:32.137916798 +0200
-@@ -109,7 +109,7 @@ import binascii
-
- import six
- from six.moves import cPickle as pickle
--import contextlib2
-+import contextlib
-
- import zc.lockfile
-
-@@ -572,7 +572,7 @@ class FileSession(Session):
- def release_lock(self, path=None):
- """Release the lock on the currently-loaded session data."""
- self.lock.close()
-- with contextlib2.suppress(FileNotFoundError):
-+ with contextlib.suppress(FileNotFoundError):
- os.remove(self.lock._path)
- self.locked = False
-
---- a/setup.py 2018-09-02 01:11:12.000000000 +0200
-+++ b/setup.py 2018-09-04 15:24:42.964449629 +0200
-@@ -63,7 +63,6 @@ params = dict(
- 'portend>=2.1.1',
- 'more_itertools',
- 'zc.lockfile',
-- 'contextlib2',
- ],
- extras_require={
- 'docs': [
More information about the arch-commits
mailing list