summaryrefslogblamecommitdiff
path: root/user/py3-pysocks/APKBUILD
blob: b6ad62c26c87a23a0c0833bd814cf69a908945aa (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                         

                                         

                   

                      
            

                                        
                                       

                                                                           
                      


                                                                      
              
                                                                                              


                                  



                              


                                                               
                                                                                                                                                                   
# 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.0
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="cc08ecbf65b59b6c4d4a24e01490dba19d93f2deb2860a49c4fc5679a9ceaba1860f05faaf8e299cf195e184a844f11989595e5046b07e2b30f9f3c682950e52  PySocks-1.7.0.tar.gz"