# Maintainer: GI_Jack pkgname=python-asysocks _pkgname=asysocks pkgver=0.2.9 pkgrel=1 pkgdesc="Socks5/Socks4 client and server python library" url="https://pypi.org/project/asysocks" arch=('any') license=('MIT') depends=('python') makedepends=('python-build' 'python-installer' 'python-wheel') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") sha256sums=('ce0df112f7b210e8ac93cb3847fdfa2f2f491f9c43bd5b234b81592311ce959f') build() { cd "${_pkgname}-${pkgver}" python -m build --wheel --no-isolation } package() { cd "${_pkgname}-${pkgver}" python -m installer --destdir="${pkgdir}" dist/*.whl }