aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-pysocks/APKBUILD
blob: 02cb30838c36b5c321c9987df39331f7841b48d6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                    
        




                                       
                                        


















                                                                                                                                                                   
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=py3-pysocks
pkgver=1.6.8
pkgrel=1
pkgdesc="Python Socks module"
url="https://github.com/Anorov/PySocks"
arch="noarch"
license="BSD"
depends="python3"
makedepends="python3-dev py3-setuptools"
source="https://pypi.io/packages/source/P/PySocks/PySocks-$pkgver.tar.gz"
builddir="$srcdir/PySocks-$pkgver"

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

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

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

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