[arch-commits] Commit in python-breathe/trunk (PKGBUILD)
Santiago Torres-Arias
sangy at archlinux.org
Sun Apr 21 16:34:58 UTC 2019
Date: Sunday, April 21, 2019 @ 16:34:58
Author: sangy
Revision: 452829
upgpkg: python-breathe 4.13.0-1
Drop py2 support
Modified:
python-breathe/trunk/PKGBUILD
----------+
PKGBUILD | 40 +++++++---------------------------------
1 file changed, 7 insertions(+), 33 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-21 16:15:20 UTC (rev 452828)
+++ PKGBUILD 2019-04-21 16:34:58 UTC (rev 452829)
@@ -3,8 +3,8 @@
# Contributor: Simon Boulay <simon.boulay at alkeona.net>
pkgbase=python-breathe
-pkgname=('python-breathe' 'python2-breathe')
-pkgver=4.11.1
+pkgname='python-breathe'
+pkgver=4.13.0
pkgrel=1
pkgdesc="An extension to reStructuredText and Sphinx to be able to read and render Doxygen xml output."
arch=('any')
@@ -16,29 +16,17 @@
sha256sums=('SKIP')
validpgpkeys=('79DC0FAF18C31807E82E1A6B9EF1DC92B5F301BD') # Melvin Vermeeren <mail at mel.vin>
-prepare() {
- cp -a "breathe" "breathe2"
-}
-
# FIXME: tests are disabled for now, as sphinx 1.8.1+ break them.
# See upstream bug: https://github.com/michaeljones/breathe/issues/394
-# check() {
-# cd breathe
-#
-# PYTHONPATH=$PWD make test
-#
-# cd "${srcdir}/breathe2"
-#
-# PYTHONPATH=$PWD make test
-#
-# }
+check() {
+ cd breathe
+ PYTHONPATH=$PWD make test
+}
+
build() {
cd breathe
python setup.py build
-
- cd "${srcdir}/breathe2"
- python setup.py build
}
package_python-breathe() {
@@ -49,17 +37,3 @@
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
-
-
-package_python2-breathe() {
- pkgdesc="An extension to reStructuredText and Sphinx to be able to read and render Doxygen xml output (python2)"
- depends=('python2' 'python2-setuptools' 'python2-sphinx' 'python2-docutils' 'python2-six')
-
- cd "breathe2"
- python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
-
- # To avoid file conflict with the python3 version
- mv "$pkgdir"/usr/bin/breathe-apidoc{,2}
-
- install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
More information about the arch-commits
mailing list