summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4572a39152d8ff9b52b4b52694d729e489e67005 (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: robertfoster

pkgname=python-rlp
pkgver=4.0.0
pkgrel=1
pkgdesc="A package for encoding and decoding data in and from Recursive Length Prefix notation"
url='https://pypi.org/project/rlp/'
license=('MIT')
arch=('any')
depends=('python' 'python-eth-utils')
makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/r/rlp/rlp-$pkgver.tar.gz")

build() {
  cd "${srcdir}/${pkgname##python-}-${pkgver}"
  python3 -m build -nwx
}

package() {
  cd "${srcdir}/${pkgname##python-}-${pkgver}"
  python3 -m installer --destdir="$pkgdir" dist/*.whl
}

sha256sums=('61a5541f86e4684ab145cb849a5929d2ced8222930a570b3941cf4af16b72a78')