# Description: Core proxy client (SOCKS4, SOCKS5, HTTP) functionality for Python
# URL: https://github.com/romis2012/python-socks
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-setuptools

name=python3-socks
version=2.3.0
release=1
source=(https://pypi.org/packages/source/p/python-socks/python-socks-$version.tar.gz)

build() {
  cd python-socks-$version

  /usr/bin/python3 setup.py build
  /usr/bin/python3 setup.py install --prefix=/usr \
    --root=$PKG \
    -O1 \
    --skip-build
}
