blob: 009d833c0f07ec04fdcb1f6cf1fcc76e76c7c88c (
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: Simon Boulay <simon.boulay@alkeona.net>
pkgbase=python-breathe
pkgname=('python-breathe' 'python2-breathe')
pkgver=4.11.0
pkgrel=1
pkgdesc="An extension to reStructuredText and Sphinx to be able to read and render Doxygen xml output."
arch=('any')
url="https://breathe.readthedocs.org/en/latest/"
license=('BSD')
makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
source=("breathe-v${pkgver}.tar.gz::https://github.com/michaeljones/breathe/archive/v${pkgver}.tar.gz")
sha256sums=('8c9f900560529ca2f589f26759be94c2accad14fd83fee34d353cf6f446e09f6')
prepare() {
cp -a "breathe-$pkgver" "breathe2-$pkgver"
}
package_python-breathe() {
depends=('python' 'python-setuptools')
cd "breathe-$pkgver"
python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
}
package_python2-breathe() {
depends=('python2' 'python2-setuptools')
cd "breathe2-$pkgver"
python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
# To avoid file conflict with the python3 version
mv "$pkgdir/usr/bin/breathe-apidoc" "$pkgdir/usr/bin/breathe-apidoc2"
}
|