summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Li2016-12-13 21:14:04 -0800
committerRich Li2016-12-13 21:14:04 -0800
commiteea3b0d7672f88ae7a09273290ca35b6efc284c3 (patch)
tree049690a238380470e91594286c5036d1ec6ccef3
parent9113b3bddd69e978b6ee65055064d99c928e8303 (diff)
downloadaur-eea3b0d7672f88ae7a09273290ca35b6efc284c3.tar.gz
Switch to sha256sums and rename downloaded tarball
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 83bc25ec44f..f44c12a8ac7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,14 +2,14 @@ pkgbase = python-lineprofiler
pkgdesc = Line-by-line profiler
pkgver = 2.0
pkgrel = 1
- url = http://pypi.python.org/pypi/line_profiler
+ url = https://pypi.python.org/pypi/line_profiler
arch = i686
arch = x86_64
license = BSD
makedepends = cython
depends = python-setuptools
- source = https://github.com/rkern/line_profiler/archive/2.0.tar.gz
- md5sums = 712a2a08b15e51fcbaf4dbf74f4817f2
+ source = python-lineprofiler-2.0.tar.gz::https://github.com/rkern/line_profiler/archive/2.0.tar.gz
+ sha256sums = 038569e8b6fb55532ca9c5cfa77a08d2f311fa790ae22d08b7b6dbe66086b316
pkgname = python-lineprofiler
diff --git a/PKGBUILD b/PKGBUILD
index 74fddecab7b..b79439717d2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,13 +5,13 @@ pkgname=python-lineprofiler
pkgver=2.0
pkgrel=1
pkgdesc="Line-by-line profiler"
-url="http://pypi.python.org/pypi/line_profiler"
+url="https://pypi.python.org/pypi/line_profiler"
arch=('i686' 'x86_64')
license=('BSD')
depends=('python-setuptools')
makedepends=('cython')
-source=("https://github.com/rkern/line_profiler/archive/$pkgver.tar.gz")
-md5sums=('712a2a08b15e51fcbaf4dbf74f4817f2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rkern/line_profiler/archive/$pkgver.tar.gz")
+sha256sums=('038569e8b6fb55532ca9c5cfa77a08d2f311fa790ae22d08b7b6dbe66086b316')
build() {
cd "${srcdir}/line_profiler-${pkgver}"