summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a69d439c880c3cfe688fa743f21487a7d2dad6f5 (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
# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
pkgbase=python-pymisp
_pyname=PyMISP
pkgname=('python-pymisp' 'python2-pymisp')
makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools')
pkgver=2.4.65
pkgrel=1
pkgdesc="API for MISP."
arch=('any')
url="https://github.com/MISP/PyMISP/"
license=('BSD2')
source=("${_pyname}-${pkgver}.tar.gz::https://github.com/MISP/PyMISP/archive/v${pkgver}.tar.gz")
sha512sums=('b69882ccbd4adae839633a81e175c54910f13a84d5ce73f46385c75b4d11bde91586673a46a543f47808177bb427b828c5161f89c4792a13df28f1eaba59da64')

package_python-pymisp() {
  depends=('python' 'python-jsonschema' 'python-requests' 'python-dateutil')
  cd "${srcdir}/${_pyname}-${pkgver}"
  python setup.py install -O1 --root="${pkgdir}"

}

package_python2-pymisp() {
  depends=('python2' 'python2-jsonschema' 'python2-requests' 'python2-dateutil')
  cd "${srcdir}/${_pyname}-${pkgver}"
  python2 setup.py install -O1 --root="${pkgdir}"

}

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