1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 02:05:16 +03:00
aports/community/py3-pysocks/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

31 lines
764 B
Text

# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=py3-pysocks
pkgver=1.7.1
pkgrel=4
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() {
export SETUPTOOLS_USE_DISTUTILS=stdlib
python3 setup.py build
}
check() {
python3 setup.py check
}
package() {
export SETUPTOOLS_USE_DISTUTILS=stdlib
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
cef4a5ce8c67fb485644696a23bf68a721db47f3211212de2d4431eaf9ebd26077dd5a06f6dfa7fde2dcb9d7c1ed551facd014e999929cb4d7b504972c464016 PySocks-1.7.1.tar.gz
"