Date: Thursday, June 7, 2018 @ 16:46:00 Author: eschwartz Revision: 341873
upgpkg: python-cachecontrol 0.12.5-1 upstream release Modified: python-cachecontrol/trunk/0001-Remove-unnecessary-console-script.patch python-cachecontrol/trunk/PKGBUILD ----------------------------------------------+ 0001-Remove-unnecessary-console-script.patch | 30 ++++++++++--------------- PKGBUILD | 8 +++--- 2 files changed, 17 insertions(+), 21 deletions(-) Modified: 0001-Remove-unnecessary-console-script.patch =================================================================== --- 0001-Remove-unnecessary-console-script.patch 2018-06-07 16:23:46 UTC (rev 341872) +++ 0001-Remove-unnecessary-console-script.patch 2018-06-07 16:46:00 UTC (rev 341873) @@ -1,30 +1,26 @@ -From 17d27a39b8542cb16cb18335ea490944bd63c54b Mon Sep 17 00:00:00 2001 +From 5949227996ba403eecaf6fb961c2f2a6aca4d3e2 Mon Sep 17 00:00:00 2001 From: Eli Schwartz <[email protected]> -Date: Wed, 16 May 2018 15:24:11 -0400 +Date: Thu, 7 Jun 2018 12:39:59 -0400 Subject: [PATCH] Remove unnecessary console script The purpose of this module is to cache things, not to test if they *can* be cached. This clutters up the $PATH. --- - setup.py | 5 ----- - 1 file changed, 5 deletions(-) + setup.py | 1 - + 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py -index 07f8b5c..79ca493 100644 +index 34f5f44..95e1741 100644 --- a/setup.py +++ b/setup.py -@@ -25,11 +25,6 @@ setup_params = dict( - 'filecache': ['lockfile>=0.9'], - 'redis': ['redis>=2.10.5'], - }, -- entry_points={ -- 'console_scripts': [ -- 'doesitcache = cachecontrol._cmd:main', -- ] -- }, +@@ -19,7 +19,6 @@ setup_params = dict( + long_description=long_description, + install_requires=["requests", "msgpack"], + extras_require={"filecache": ["lockfile>=0.9"], "redis": ["redis>=2.10.5"]}, +- entry_points={"console_scripts": ["doesitcache = cachecontrol._cmd:main"]}, + python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", classifiers=[ - 'Development Status :: 4 - Beta', - 'Environment :: Web Environment', + "Development Status :: 4 - Beta", -- -2.17.0 +2.17.1 Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-06-07 16:23:46 UTC (rev 341872) +++ PKGBUILD 2018-06-07 16:46:00 UTC (rev 341873) @@ -2,9 +2,9 @@ # Maintainer: Eli Schwartz <[email protected]> _pkgname=cachecontrol -pkgbase='python-cachecontrol' +pkgbase=python-cachecontrol pkgname=('python-cachecontrol' 'python2-cachecontrol') -pkgver=0.12.4 +pkgver=0.12.5 pkgrel=1 pkgdesc="httplib2 caching for requests" arch=('any') @@ -15,8 +15,8 @@ 'python2-mock' 'python2-pytest' 'python2-lockfile' 'python2-cherrypy') source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" "0001-Remove-unnecessary-console-script.patch") -sha256sums=('99face8fb57c6b4d2a9a9e35671a25f3522b359cc83477084f9e8a0a57d4e996' - '8aa781f3c25f0538a26614870c3feead4ba3f8ef0a9d1cff0a9abda8c300cea1') +sha256sums=('d3876bbd614968e0d82c95734b380fca648661416fb14dc1a50514256e521089' + 'a2c93d4852887152027140bdd54030d5363876b02e5eabee6a018d4e946a87b1') prepare() { cd "${srcdir}"/${_pkgname}-${pkgver}
