aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/websockify/APKBUILD33
1 files changed, 8 insertions, 25 deletions
diff --git a/testing/websockify/APKBUILD b/testing/websockify/APKBUILD
index 65177083cd..5d14fe5a96 100644
--- a/testing/websockify/APKBUILD
+++ b/testing/websockify/APKBUILD
@@ -1,38 +1,21 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=websockify
-pkgver=0.8.0
-pkgrel=2
+pkgver=0.9.0
+pkgrel=0
pkgdesc="WebSockets support for any application/server"
url="https://github.com/kanaka/websockify"
arch="noarch"
-license="LGPL-3.0"
-depends="py2-$pkgname=$pkgver-r$pkgrel py-setuptools py2-numpy>=1.14.3-r1"
-makedepends="python2-dev"
-subpackages="py2-$pkgname:py2"
-source="$pkgname-$pkgver.tar.gz::https://github.com/kanaka/$pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+license="LGPL-3.0-or-later"
+depends="python3 py3-numpy py3-setuptools"
+source="$pkgname-$pkgver.tar.gz::https://github.com/kanaka/websockify/archive/v$pkgver.tar.gz"
build() {
- cd "$builddir"
- python2 setup.py build
+ python3 setup.py build
}
package() {
- cd "$builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-py2() {
- pkgdesc="$pkgdesc (python2)"
- depends="python2 py2-numpy"
- replaces="py-$pkgname" # for backward compatibility
- provides="py-$pkgname" # for backward compatibility
-
- mkdir -p "$subpkgdir"/usr
- mv "$pkgdir"/usr/lib "$subpkgdir"/usr
-}
-
-md5sums="0073c3b97ea74d7c3565422d6a9cf0b9 websockify-0.8.0.tar.gz"
-sha256sums="f080e40b3f429f39dc557c62c6d715a683100e7c10c557fa376b6dbde23358ce websockify-0.8.0.tar.gz"
-sha512sums="f2231767805788d00348e89c24972de767beeffe350b9a7f57e4008e3203d5447633aabaa0e9a50b48404039d63bcf8dc0244fb7511a7b045d3337c15ab7af36 websockify-0.8.0.tar.gz"
+sha512sums="d2251f653a40dc6dca0e5541845565d968c60be96a20a9b70b0305c4b7578f7fe205d4b98a94bb77d7c9383a396833af90fe92a6ade7e1a6f2d9bf8513d372c8 websockify-0.9.0.tar.gz"