[arch-commits] Commit in ptex/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Wed Aug 7 11:48:04 UTC 2019


    Date: Wednesday, August 7, 2019 @ 11:48:04
  Author: jelle
Revision: 498143

remove python2 makedepends

The tests can be run with cmake's test target and the Python test script seems
to be unused.

Modified:
  ptex/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-07 11:34:25 UTC (rev 498142)
+++ PKGBUILD	2019-08-07 11:48:04 UTC (rev 498143)
@@ -7,16 +7,10 @@
 url="http://ptex.us/"
 license=('BSD')
 depends=(zlib)
-makedepends=(git doxygen python2 cmake)
+makedepends=(git doxygen cmake)
 source=("https://github.com/wdas/ptex/archive/v${pkgver}.tar.gz")
 sha512sums=('2d9d320e4205236a4eff05ec3c67d085624809ebefa89fa3b943d18a8b2b6a5f61c022a4cc4363a7c6ceccfb9eac4f8738dff2e90a3355814f2c4ff096c09992')
 
-prepare() {
-	cd "$pkgname-$pkgver"/src
-
-    sed -i "s/python/python2/g" tests/run_tests.py
-}
-
 build() {
 	cd "$pkgname-$pkgver"
 
@@ -28,6 +22,11 @@
     make
 }
 
+check() {
+	cd "$pkgname-$pkgver/build"
+        make test V=1
+}
+
 package() {
 	cd "$pkgname-$pkgver"/build
 


More information about the arch-commits mailing list