summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJagannathan Tiruvallur Eachambadi2018-08-27 20:18:51 +0200
committerJagannathan Tiruvallur Eachambadi2018-08-27 20:18:51 +0200
commit6e65e579bf28af74e07b628e809224e4b96962c8 (patch)
tree8dc7dc5ef62f6bfbc74eba511079b1a31abbfa88
parent53e608c157ae35cef72bf6e0a2386f3268a849e4 (diff)
downloadaur-6e65e579bf28af74e07b628e809224e4b96962c8.tar.gz
updpkg 2.1.0
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 51892d96e6d..3fa94691be5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,8 +13,8 @@ pkgbase = python-jupyter_kernel_gateway
depends = python-traitlets
depends = python-tornado
depends = python-requests
- source = https://pypi.python.org/packages/a9/e5/34b171dec6a1172c8358717c76ecd9dd1fb154c44c73e05f10697491d01b/jupyter_kernel_gateway-2.0.2.tar.gz
- md5sums = de5435b1f865f357385ec15a3ab989ab
+ source = https://files.pythonhosted.org/packages/1d/b5/64a86ba0d97ff6f83385b4f3d7ae27e67fd134da6f9dc3cafe8cde031dcc/jupyter_kernel_gateway-2.0.2.tar.gz
+ sha256sums = 7fb26c04e1cd16ddbf9184a4cb0b74e90031b72b48f1c659e22ecaa8b49a95ce
pkgname = python-jupyter_kernel_gateway
diff --git a/PKGBUILD b/PKGBUILD
index 91c763a528c..ca3c9b59df6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname="jupyter_kernel_gateway"
pkgname="python-$_pkgname"
-pkgver=2.0.2
+pkgver=2.1.0
pkgrel=1
pkgdesc="A web server for spawning and communicating with Jupyter kernels"
arch=('any')
@@ -11,12 +11,17 @@ url="https://github.com/jupyter/${_pkgname/jupyter_/}"
makedepends=('python')
depends=('python' 'python-jupyter_core' 'python-jupyter_client' 'jupyter-notebook'
'python-traitlets' 'python-tornado' 'python-requests')
-source=("https://pypi.python.org/packages/a9/e5/34b171dec6a1172c8358717c76ecd9dd1fb154c44c73e05f10697491d01b/$_pkgname-$pkgver.tar.gz")
-md5sums=("de5435b1f865f357385ec15a3ab989ab")
+source=("https://files.pythonhosted.org/packages/1d/b5/64a86ba0d97ff6f83385b4f3d7ae27e67fd134da6f9dc3cafe8cde031dcc/$_pkgname-$pkgver.tar.gz")
+sha256sums=("7fb26c04e1cd16ddbf9184a4cb0b74e90031b72b48f1c659e22ecaa8b49a95ce")
+
+build() {
+ cd $_pkgname-$pkgver
+ python setup.py build
+}
package() {
cd $_pkgname-$pkgver
- python setup.py install --prefix=/usr --root="${pkgdir}"
+ python setup.py install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
install -Dm 644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}