summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f5a9cd84a46398688b3759841ab4f2f12ea8cc6f (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
25
26
27
28
29
30
31
32
33
34
# Maintainer: Your Name <youremail@domain.com>
_name=elrond-sdk-erdpy
pkgname=python-erdpy
pkgver=1.0.21
pkgrel=1
pkgdesc="Elrond Smart Contracts Tools and Python SDK."
arch=('any')
url="https://docs.elrond.com/sdk-and-tools/erdpy/erdpy/"
license=('GPL3')
depends=('python>=3.6.8'
         'python-toml>=0.10.2'
         'python-bottle'
         'python-requests'
         'python-pynacl'
         'python-pycryptodomex'
         'python-cryptography>=3.2'
         'python-prettytable'
         'python-ledgercomm'
         'python-semver')
makedepends=('python-setuptools')
source=("https://github.com/ElrondNetwork/${_name}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('473fcb8548c928aacb0666a075c4e680735ccf589fa4a4bc0750d76afd87c2a9')

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

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