blob: 9bfa906e2832419ebf902c8f525ab0ba0a62012b (
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
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer : Kr1ss $(tr +- .@ <<<'<kr1ss+x-yandex+com>')
pkgname=python-httpx-socks
_name="${pkgname#python-}"
epoch=1
pkgver=0.7.3
pkgrel=1
pkgdesc='HTTP/SOCKS-proxy transports for httpx'
arch=('any')
url="https://pypi.org/project/$_name"
license=('Apache')
makedepends=('python-setuptools')
depends=('python' 'python-python-socks' 'python-httpcore>=0.14' 'python-httpcore<0.15'
'python-httpx>=0.21' 'python-httpx<0.23')
optdepends=('python-async-timeout' 'python-trio' 'python-curio')
source=("$_name-$pkgver.tgz::https://github.com/romis2012/$_name/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('545cb123939c4be992e51d7bb6a7631941c83466f36836dc440b8a2ca7f351a8')
build() {
cd "$_name-$pkgver"
python setup.py build
}
package() {
cd "$_name-$pkgver"
PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --prefix=/usr --skip-build
install -Dm644 README.md -t"$pkgdir/usr/share/doc/$pkgname/"
}
# vim: ts=2 sw=2 et ft=PKGBUILD:
|