# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=py3-socksio pkgver=1.0.0 pkgrel=2 pkgdesc="Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5" url="https://pypi.org/project/socksio/" license="MIT" arch="noarch" depends="python3" makedepends="py3-setuptools" checkdepends="py3-pytest py3-pytest-cov" subpackages="$pkgname-doc $pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/s/socksio/socksio-$pkgver.tar.gz" builddir="$srcdir/socksio-$pkgver" build() { python3 setup.py build } check() { PYTHONPATH="$PWD/build/lib" pytest } package() { python3 setup.py install --root="$pkgdir" --skip-build install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } sha512sums=" 89bce7294555e2623df68e99352c27b83af38a4fcc4e3b86c8826c9c4bf545eeaf0a6328b000cfe1d286fa442c756c4579b4887cff03bc9e559cd66414a7ac6f py3-socksio-1.0.0.tar.gz "