Package Details: python-graphviz 0.9-2

Git Clone URL: https://aur.archlinux.org/python-graphviz.git (read-only)
Package Base: python-graphviz
Description: Simple Python interface for Graphviz.
Upstream URL: https://github.com/xflr6/graphviz
Licenses: MIT
Submitter: Anthony25
Maintainer: Anthony25
Last Packager: Anthony25
Votes: 12
Popularity: 0.693031
First Submitted: 2016-10-30 02:19
Last Updated: 2018-09-04 22:56

Latest Comments

Anthony25 commented on 2018-09-04 22:57

Hi @Kr1ss, thanks for the report, I applied your patch

Kr1ss commented on 2018-09-04 22:10

Hi, thx for this package ! Upstream seems to have renamed the LICENSE file, resulting in an error when the install commands are reached. Would u mind applying the following patch to the PKGBUILD :

diff --git i/PKGBUILD w/PKGBUILD
index 712c10e..67bbd30 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=python-graphviz
 _pkgbase="${pkgbase#python-}"
 pkgname=(python-graphviz python2-graphviz)
 pkgver=0.9
-pkgrel=1
+pkgrel=2
 pkgdesc='Simple Python interface for Graphviz.'
 arch=(any)
 url='https://github.com/xflr6/graphviz'
@@ -24,13 +24,13 @@ sha256sums=('e24e09185bf687c63e6ebfe31b6d3a4d69f27c2412b57ff3cac711f3f7e3f9d3')
 package_python-graphviz() {
   cd "${srcdir}/${_pkgbase}-${pkgver}"
   python setup.py install --root="${pkgdir}/" --optimize=1
-  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }

 package_python2-graphviz() {
   cd "${srcdir}/${_pkgbase}-${pkgver}"
   python2 setup.py install --root="${pkgdir}/" --optimize=1
-  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }

 # vim:set ts=2 sw=2 et:

Thx !