Merge pull request #8845 from maxice8/xdot

xdot: update to 0.8.
This commit is contained in:
Juan RP 2017-11-04 06:22:56 +01:00 committed by GitHub
commit 6d7665306a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 8 deletions

View file

@ -0,0 +1,31 @@
# Template file for 'python-graphviz'
pkgname=python-graphviz
version=0.8.1
revision=1
wrksrc="${pkgname/python-/}-${version}"
build_style=python-module
pycompile_module="graphviz"
hostmakedepends="python-setuptools python3-setuptools"
depends="python graphviz"
short_desc="Simple Python interface for Graphviz"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/xflr6/graphviz"
distfiles="https://github.com/xflr6/graphviz/archive/${version}.tar.gz"
checksum=19fa90669493b86df0d4adb9ee55147de92329f143480218d1c4eb91fa877cfa
noarch=yes
post_install() {
vlicense LICENSE
}
python3-graphviz_package() {
noarch=yes
depends="python3 graphviz"
pycompile_module="graphviz"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

1
srcpkgs/python3-graphviz Symbolic link
View file

@ -0,0 +1 @@
python-graphviz

View file

@ -1,12 +1,11 @@
# Template file for 'xdot' # Template file for 'xdot'
pkgname=xdot pkgname=xdot
reverts="0.7_1" version=0.8
version=0.6 revision=1
revision=3 build_style=python3-module
build_style=python2-module hostmakedepends="python3-setuptools git"
hostmakedepends="python-setuptools git" makedepends="graphviz pygtk python3-setuptools"
makedepends="graphviz pygtk python-setuptools" depends="${makedepends} python3-graphviz python3-gobject"
depends="${makedepends}"
noarch="yes" noarch="yes"
pycompile_module="xdot.py" pycompile_module="xdot.py"
short_desc="Interactive viewer for Graphviz dot files" short_desc="Interactive viewer for Graphviz dot files"
@ -14,5 +13,5 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3" license="GPL-3"
homepage="https://code.google.com/p/jrfonseca/wiki/XDot" homepage="https://code.google.com/p/jrfonseca/wiki/XDot"
distfiles="https://github.com/jrfonseca/xdot.py/archive/${version}.tar.gz" distfiles="https://github.com/jrfonseca/xdot.py/archive/${version}.tar.gz"
checksum=0932bb72abaa77e6a5c4f2acd13569763c23d2761f4e9e5e49993bc69da9cce2 checksum=211d99d6163dd6f5ce07a4c5ec6afd1370c823a26fc4256161b6939a4a05b1fb
wrksrc="xdot.py-${version}" wrksrc="xdot.py-${version}"