diff options
author | zlg <zlg@zlg.space> | 2018-11-21 03:13:33 -0800 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2018-11-21 03:35:27 -0800 |
commit | bcddfa9a58d264f34db905f46b27163c526ce08f (patch) | |
tree | 8f29c84f353ca425d9a47d0111e1febf3f50f359 /user/py3-pysocks | |
parent | ae0447ee1d5bb347952f1bc57e68e56778138095 (diff) | |
download | packages-bcddfa9a58d264f34db905f46b27163c526ce08f.tar.gz packages-bcddfa9a58d264f34db905f46b27163c526ce08f.tar.bz2 packages-bcddfa9a58d264f34db905f46b27163c526ce08f.tar.xz packages-bcddfa9a58d264f34db905f46b27163c526ce08f.zip |
user/py3-pysocks: new package
Diffstat (limited to 'user/py3-pysocks')
-rw-r--r-- | user/py3-pysocks/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/user/py3-pysocks/APKBUILD b/user/py3-pysocks/APKBUILD new file mode 100644 index 000000000..31678f8f8 --- /dev/null +++ b/user/py3-pysocks/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: zlg <zlg+adelie@zlg.space> +# Maintainer: zlg <zlg+adelie@zlg.space> +pkgname=py3-pysocks +_pkgname=PySocks +pkgver=1.6.8 +pkgrel=0 +pkgdesc="SOCKS client module for Python" +url="https://pypi.org/project/PySocks/ https://github.com/Anarov/PySocks" +arch="noarch" +options="!check" # relies on bundled x86_64 binary (3proxy), psutil, flake8 +license="BSD" +depends="python3" +makedepends="python3-dev py3-atomicwrites py3-attrs py3-more-itertools + py3-pluggy py3-py py3-pytest" +install="" +subpackages="" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/PySocks-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="9b544cf11464142a5f347cd5688b48422249363a425ccf3887117152f2f1969713674c4bba714242432ae85f3d62e03edeb9cb7b73ebd225ed3b47b3da6896d5 PySocks-1.6.8.tar.gz" |