blob: f74da4d97bb8e348f2ba9ff633c695c6e978c36f (
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.6
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=('9ee87473701a87ba658e31c53ee567a4e62b80f0e7bdbc2cdd21cccdfb15f50a')
build()
{
cd "${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package()
{
cd "${_name}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|