summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9218d1cd87c789d67a7911e27b994cde8214af76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Kewl <xrjy@nygb.rh.bet(rot13)>

pkgname='python-eth-account'
_pkgname=${pkgname#python-}
pkgver=0.7.0
pkgrel=1
pkgdesc="Sign Ethereum transactions and messages with local private keys"
arch=('any')
depends=('python-bitarray' 'python-eth-abi' 'python-eth-keyfile' 'python-eth-keys' 'python-eth-rlp' 'python-eth-utils' 'python-hexbytes' 'python-rlp')
makedepends=('python-setuptools')
url="https://github.com/ethereum/$_pkgname"
license=('GPL3')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha256sums=('61360e9e514e09e49929ed365ca0e1656758ecbd11248c629ad85b4335c2661a')

build() {
  cd $_pkgname-$pkgver
  python setup.py build
}

package() {
  cd $_pkgname-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}