summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8290ebbf0095c9a8fc5ab9f21c030eba8c8975c9 (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: algebro <algebro at tuta dot io>

_pkgname=eth-utils
pkgname=python-$_pkgname
pkgver=1.4.1
pkgrel=1
pkgdesc="Utility functions for working with Ethereum related codebases."
arch=('x86_64')
url="https://github.com/ethereum/eth-utils"
license=('MIT')
depends=('python' 'python-eth-hash' 'python-eth-typing' 'python-toolz')
makedepends=('python-setuptools')
source=("https://github.com/ethereum/eth-utils/archive/v${pkgver}.tar.gz")
sha256sums=('71113fc420bc6c3fbe144f96a7a5298e5d2a9b56ce8b8e563b09f6d7f209bde5')

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

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