summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f6f0a3429ba21acc5cdebc46c0b32af515c18833 (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
# Maintainer: Lorenzo Cappelletti <lorenzo.cappelletti gmail.com>

pkgname=python-mbed-manifest-tool
pkgver=2.2.0
pkgrel=1
pkgdesc='A tool for creating and parsing update manifests'
arch=('any')
url='https://github.com/ARMmbed/manifest-tool'
license=('Apache')
makedepends=('python-setuptools')
depends=(
  'python>=3.6'
  'python-yaml>=4.2b1' 'python-yaml<5.4.2'
  'python-asn1ate>=0.5' 'python-asn1ate<=0.6.0'
  'python-cryptography>=2.5' 'python-cryptography<=3.4.7'
  'python-jsonschema>=2.6.0' 'python-jsonschema<=3.2.0'
  'python-pyasn1>=0.3.1' 'python-pyasn1<=0.4.8'
  'python-requests>=2.20.0' 'python-requests<=2.25.1'
  'python-mbed-cloud-sdk'
)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('54da8e06f962511552ba4b8360eb57b2b2dcd73895b0190ad7a42aeab7c86c33')

package() {
  cd "manifest-tool-${pkgver}"
  python setup.py install --root="${pkgdir}/" --optimize=1
  python setup.py clean --all
}

# vim:set ts=2 sw=2 et: