aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pysocks/APKBUILD
blob: 00146e7dd8fc45e6c757967252ef90d754979017 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=py3-pysocks
pkgver=1.7.1
pkgrel=1
pkgdesc="Python Socks module"
url="https://github.com/Anorov/PySocks"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://pypi.io/packages/source/P/PySocks/PySocks-$pkgver.tar.gz"
builddir="$srcdir/PySocks-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="cef4a5ce8c67fb485644696a23bf68a721db47f3211212de2d4431eaf9ebd26077dd5a06f6dfa7fde2dcb9d7c1ed551facd014e999929cb4d7b504972c464016  PySocks-1.7.1.tar.gz"