blob: a835b9f7687845fb4ad511c158c184734da9e4da (
plain)
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: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=py3-pysocks
pkgver=1.6.8
pkgrel=0
pkgdesc="Python Socks module"
url="https://github.com/Anorov/PySocks"
arch="noarch"
license="BSD"
depends="python3"
makedepends="python3-dev"
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"
|