summaryrefslogtreecommitdiff
path: root/user/py3-pysocks/APKBUILD
blob: 39126c2b24256d4bf6875b2f1660ba4a71a139bb (plain) (blame)
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
# Contributor: zlg <zlg+adelie@zlg.space>
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-pysocks
_pkgname=PySocks
pkgver=1.6.8
pkgrel=0
pkgdesc="SOCKS client module for Python"
url="https://github.com/Anorov/PySocks"
arch="noarch"
options="!check" # relies on bundled x86_64 binary (3proxy), psutil, flake8
license="BSD-3-Clause"
depends="python3"
makedepends="python3-dev py3-atomicwrites py3-attrs py3-more-itertools
	py3-pluggy py3-py py3-pytest"
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/PySocks-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="9b544cf11464142a5f347cd5688b48422249363a425ccf3887117152f2f1969713674c4bba714242432ae85f3d62e03edeb9cb7b73ebd225ed3b47b3da6896d5  PySocks-1.6.8.tar.gz"