diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Tue Sep 13 07:29:04 UTC 2016 +# Mon Sep 19 14:14:57 UTC 2016 pkgbase = parity-git pkgdesc = Fast, light, robust Ethereum implementation pkgver = 1.4.0.5440 @@ -11,7 +11,6 @@ pkgbase = parity-git makedepends = rust makedepends = cargo makedepends = git - makedepends = python-pytoml depends = rocksdb provides = parity conflicts = parity @@ -9,13 +9,14 @@ provides=("parity") url="https://github.com/ethcore/parity" license=('GPL-3.0') depends=('rocksdb') -makedepends=('rust' 'cargo' 'git' 'python-pytoml') +makedepends=('rust' 'cargo' 'git') source=('git+https://github.com/ethcore/parity.git') sha256sums=('SKIP') pkgver() { cd $_pkgname - echo "$(python -c "print(__import__('pytoml').loads('\n'.join(open('Cargo.toml').read().splitlines()[:7]))['package']['version'])").$(git rev-list --count HEAD)" + + echo $(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2).$(git rev-list --count HEAD) } build() { |