summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8fe7f5758ab976bb3e07fd2b0b089044b256ec63 (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-rlp'
_pkgname=${pkgname#python-}
pkgver=0.3.0
pkgrel=1
pkgdesc="RLP definitions for common Ethereum objects in Python"
arch=('any')
depends=('python-rlp' 'python-eth-utils' 'python-hexbytes')
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=('f3263b548df718855d9a8dbd754473f383c0efc82914b0b849572ce3e06e71a6')

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

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