David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
python-cachecontrol


Commits:
e9ec2231 by David Runge at 2024-02-06T18:38:01+01:00
upgpkg: 1:0.14.0-1

Update pkgdesc with upstream data.
Simplify source entry by reusing url.
Remove unneded comments.

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,28 @@
+pkgbase = python-cachecontrol
+       pkgdesc = Port of the caching algorithms in httplib2 for use with 
requests session object
+       pkgver = 0.14.0
+       pkgrel = 1
+       epoch = 1
+       url = https://github.com/ionrock/cachecontrol
+       arch = any
+       license = Apache-2.0
+       checkdepends = python-cherrypy
+       checkdepends = python-mock
+       checkdepends = python-pytest
+       checkdepends = python-redis
+       makedepends = python-build
+       makedepends = python-flit-core
+       makedepends = python-installer
+       makedepends = python-wheel
+       depends = python
+       depends = python-filelock
+       depends = python-msgpack
+       depends = python-requests
+       depends = python-urllib3
+       optdepends = python-lockfile: for filecache
+       optdepends = python-redis: for redis cache
+       source = 
cachecontrol-0.14.0.tar.gz::https://github.com/ionrock/cachecontrol/archive/refs/tags/v0.14.0.tar.gz
+       sha256sums = 
159f4341e015d11b16de5b9f86e207cff753d6080642671f4cd09717e34a12a0
+       b2sums = 
352b417512dd2858ba5d43c72116a6930037adc6fc70f66efbee9c1e4e81c296bf9ebf0e862834311afaff0c66d9bbfc16a35dfe978fdf759e07e993d49a0a71
+
+pkgname = python-cachecontrol


=====================================
PKGBUILD
=====================================
@@ -3,13 +3,13 @@
 
 _name=cachecontrol
 pkgname=python-cachecontrol
-pkgver=0.13.1
+pkgver=0.14.0
 pkgrel=1
 epoch=1
-pkgdesc="httplib2 caching for requests"
+pkgdesc="Port of the caching algorithms in httplib2 for use with requests 
session object"
 arch=(any)
-url="https://github.com/ionrock/${_name}";
-license=(Apache)
+url="https://github.com/ionrock/cachecontrol";
+license=(Apache-2.0)
 depends=(
   python
   python-filelock
@@ -32,11 +32,9 @@ optdepends=(
   'python-lockfile: for filecache'
   'python-redis: for redis cache'
 )
-# not tests in dist tarball on pypi.org: 
https://github.com/ionrock/cachecontrol/issues/281
-# 
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-source=($_name-$pkgver.tar.gz::https://github.com/ionrock/$_name/archive/refs/tags/v$pkgver.tar.gz)
-sha256sums=('d385996b1874b7a12b34bf4735bd1df6cec3abed83252e0fc7095c9bfb5f7e0a')
-b2sums=('67179719c224aaee52b3b61a128caadd25b26137e8ee6bbd77f36074f8d8889bf27a56a6bfe41ad376361b4055c49be046f46b964cd6a0cff3b670c9d8e5af9d')
+source=($_name-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz)
+sha256sums=('159f4341e015d11b16de5b9f86e207cff753d6080642671f4cd09717e34a12a0')
+b2sums=('352b417512dd2858ba5d43c72116a6930037adc6fc70f66efbee9c1e4e81c296bf9ebf0e862834311afaff0c66d9bbfc16a35dfe978fdf759e07e993d49a0a71')
 
 build() {
   cd $_name-$pkgver



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-cachecontrol/-/commit/e9ec2231481556adb3ce739f6357ef740f9354f4

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-cachecontrol/-/commit/e9ec2231481556adb3ce739f6357ef740f9354f4
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to