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

Jelle van der Waa jelle at archlinux.org
Sun Jun 9 10:41:33 UTC 2019


    Date: Sunday, June 9, 2019 @ 10:41:33
  Author: jelle
Revision: 478710

upgpkg: dot2tex 2.11.3-1

Update dot2tex to 2.11.3, make it Python3 and add the missing python-setuptools
dependency

Modified:
  dot2tex/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-09 10:39:33 UTC (rev 478709)
+++ PKGBUILD	2019-06-09 10:41:33 UTC (rev 478710)
@@ -3,20 +3,25 @@
 # Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=dot2tex
-pkgver=2.9.0
-pkgrel=3
+pkgver=2.11.3
+pkgrel=1
 pkgdesc="Graphviz to LaTeX converter"
 arch=('any')
 url="https://dot2tex.readthedocs.io/en/latest/"
 license=('MIT')
-depends=('python2-pyparsing' 'graphviz')
+depends=('python-pyparsing' 'graphviz' 'python-setuptools')
 source=($pkgname-$pkgver.tar.gz::https://github.com/kjellmf/dot2tex/archive/$pkgver.tar.gz)
-md5sums=('e27e61e4ad86854164d1f6e286047991')
+sha512sums=('1595299811461b18cff490a8a56c0215f46989dd4a46fa087b455c717ed5d5f7a5782d04acaa3e4567b4e348bca866d5f24d21663012c4cd813445804ef6f714')
 
+build() {
+	cd ${pkgname}-${pkgver}
+	python setup.py build
+}
+
 package() {
-	cd ${srcdir}/${pkgname}-${pkgver}
+	cd ${pkgname}-${pkgver}
 
-	python2 setup.py install --root=${pkgdir}
+	python setup.py install --root=${pkgdir} --skip-build
 
 	# Install custom license file
 	install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE



More information about the arch-commits mailing list