blob: eded650df02cc6f7861cea18410afb530f90b8f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Martins Mozeiko <martins.mozeiko@gmail.com>
pkgname=python-unzip-http
_name=${pkgname#python-}
pkgver=0.7
pkgrel=1
pkgdesc='Extract files from .zip files over http without downloading entire archive'
arch=('any')
url='https://github.com/saulpw/unzip-http'
license=('MIT')
depends=('python' 'python-urllib3')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("${_name}-${pkgver}.tar.gz::https://github.com/saulpw/unzip-http/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('7f834bd87c11d51c092f0ed8b3d0bb924d9f74d2970208cdf5366163aabc966a')
build()
{
cd "${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package()
{
cd "${_name}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|