summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: af48cc96ad8e807d20a9af0cfe04b48505d39c48 (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
# Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com>
# Source: https://github.com/nicoulaj/archlinux-packages
pkgname=nwdiag
pkgver=3.0.0
pkgrel=1
pkgdesc="nwdiag generates network-diagram image from text."
arch=(any)
url="https://pypi.org/project/nwdiag/"
license=(APACHE)
depends=('python'
         'blockdiag>=1.5.0'
         'python-funcparserlib')
optdepends=('python-reportlab: to use the PDF output format'
            'python-docutils: to use the RST output format')
makedepends=(python-distribute)
changelog=Changelog
source=("https://pypi.python.org/packages/source/n/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('01f48cfe8cc1624ae9653559d2eb2c50')
sha1sums=('ea5f42290cc3b1deb58259673e32b06daecc01d1')
sha256sums=('e267530fcaac8a1d9e7403048597ed30e031e17f0191569dc6f704087bacb2eb')

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