diff options
author | Tim Biermann <tbier@posteo.de> | 2021-06-14 19:51:46 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-06-14 19:51:46 +0000 |
commit | 19753ce4838184580580e26dd0d232c1bb3d9dfe (patch) | |
tree | 1c4c67264640782aff07ef5a93a21f0f3b14b36e /python3-cachecontrol/Pkgfile | |
parent | 3fdbc7326d7d384b8c693891aa8d16cc44e82168 (diff) | |
download | contrib-19753ce4838184580580e26dd0d232c1bb3d9dfe.tar.gz contrib-19753ce4838184580580e26dd0d232c1bb3d9dfe.tar.xz |
python3-cachecontrol: initial commit, version 0.12.6
Diffstat (limited to 'python3-cachecontrol/Pkgfile')
-rw-r--r-- | python3-cachecontrol/Pkgfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/python3-cachecontrol/Pkgfile b/python3-cachecontrol/Pkgfile new file mode 100644 index 000000000..460e34869 --- /dev/null +++ b/python3-cachecontrol/Pkgfile @@ -0,0 +1,19 @@ +# Description: httplib2 caching for requests +# URL: https://github.com/ionrock/cachecontrol +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: python3-msgpack python3-requests +# Optional: python3-lockfile + +name=python3-cachecontrol +version=0.12.6 +release=1 +source=(https://github.com/ionrock/cachecontrol/archive/v$version/$name-$version.tar.gz + 0001-Remove-unnecessary-console-script.patch) + +build() { + cd cachecontrol-$version + /usr/bin/python3 setup.py build + /usr/bin/python3 setup.py install --prefix=/usr \ + --root=$PKG \ + --skip-build +} |