blob: aaefdb9472c5807b1ea06155736b98baa30e8165 (
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
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=1.7.1
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/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/PySocks-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="cef4a5ce8c67fb485644696a23bf68a721db47f3211212de2d4431eaf9ebd26077dd5a06f6dfa7fde2dcb9d7c1ed551facd014e999929cb4d7b504972c464016 PySocks-1.7.1.tar.gz"
|