aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pysocks/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-pysocks/APKBUILD')
-rw-r--r--community/py3-pysocks/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/py3-pysocks/APKBUILD b/community/py3-pysocks/APKBUILD
new file mode 100644
index 0000000000..02cb30838c
--- /dev/null
+++ b/community/py3-pysocks/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer:
+pkgname=py3-pysocks
+pkgver=1.6.8
+pkgrel=1
+pkgdesc="Python Socks module"
+url="https://github.com/Anorov/PySocks"
+arch="noarch"
+license="BSD"
+depends="python3"
+makedepends="python3-dev py3-setuptools"
+source="https://pypi.io/packages/source/P/PySocks/PySocks-$pkgver.tar.gz"
+builddir="$srcdir/PySocks-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py check
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="9b544cf11464142a5f347cd5688b48422249363a425ccf3887117152f2f1969713674c4bba714242432ae85f3d62e03edeb9cb7b73ebd225ed3b47b3da6896d5 PySocks-1.6.8.tar.gz"