[arch-commits] Commit in graphite/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Mon Apr 1 14:04:38 UTC 2019
Date: Monday, April 1, 2019 @ 14:04:37
Author: jelle
Revision: 349526
testsuite supports python3
Switch to python3 for testing, as python2 is deprecated
Modified:
graphite/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-01 13:44:22 UTC (rev 349525)
+++ PKGBUILD 2019-04-01 14:04:37 UTC (rev 349526)
@@ -9,10 +9,10 @@
pkgdesc='reimplementation of the SIL Graphite text processing engine'
license=('LGPL' 'GPL' 'custom')
depends=('gcc-libs')
-makedepends=('cmake' 'freetype2' 'python2'
+makedepends=('cmake' 'freetype2' 'python'
# for documentation
'doxygen' 'dblatex' 'graphviz' 'asciidoc')
-checkdepends=('python2-fonttools')
+checkdepends=('python-fonttools')
options=('!emptydirs')
source=(https://github.com/silnrsi/graphite/releases/download/${pkgver}/graphite2-${pkgver}.tgz)
sha1sums=('bd3494575a1ff1c5b4ea796444274dab1e5992c9')
@@ -22,7 +22,7 @@
cd "${srcdir}"
# python2 fixes
- sed -i "s:\/usr\/bin\/python:\/usr\/bin\/python2:" graphite2-${pkgver}/tests/{corrupt.py,defuzz,fnttxtrender,hbspeeds,jsoncmp}
+#sed -i "s:\/usr\/bin\/python:\/usr\/bin\/python2:" graphite2-${pkgver}/tests/{corrupt.py,defuzz,fnttxtrender,hbspeeds,jsoncmp}
}
build() {
@@ -44,7 +44,7 @@
check() {
cd "${srcdir}"/build
# python2 fixes
- sed -i "s:python:python2:g" tests/CTestTestfile.cmake
+# sed -i "s:python:python2:g" tests/CTestTestfile.cmake
ctest || true
}
More information about the arch-commits
mailing list