summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fe92946bf64032b9c49269c16b41bb79ad893448 (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
# Maintainer: Lukasz Pozarlik <lpozarlik@gmail.com>

pkgbase='python-sphinxcontrib-autoprogram'
pkgname=('python-sphinxcontrib-autoprogram'
	       'python2-sphinxcontrib-autoprogram')
pkgver='0.1.5'
pkgrel='1'
pkgdesc="This contrib extension provides an automated way to document CLI programs"
arch=('any')
url="https://github.com/sphinx-contrib/autoprogram"
license=('BSD')
source=("https://files.pythonhosted.org/packages/93/d4/ded802ffad1fd1870d3abbb7cfa1c31b059dc46c68f6a66b73360621f6c3/sphinxcontrib-autoprogram-${pkgver}.tar.gz")
md5sums=('79ff83740db65b55c623c4ed676562a6')

package_python-sphinxcontrib-autoprogram() {
  makedepends=('python-setuptools')	
  depends=('python' 
           'python-sphinx')
  cd sphinxcontrib-autoprogram-${pkgver}
  python setup.py install --root="${pkgdir}" --optimize=1
}

package_python2-sphinxcontrib-autoprogram() {
  makedepends=('python2-setuptools')	
  depends=('python2' 
           'python2-sphinx')
  cd sphinxcontrib-autoprogram-${pkgver}
  python2 setup.py install --root="${pkgdir}" --optimize=1
}

# vim: ts=2 sw=2 et