From 0a5fdf919ce8d0ad195b6c908a9220118d18e24b Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 16 Oct 2017 06:56:37 -0200 Subject: [PATCH] New package: python-graphviz-0.8.1. --- srcpkgs/python-graphviz/template | 31 +++++++++++++++++++++++++++++++ srcpkgs/python3-graphviz | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-graphviz/template create mode 120000 srcpkgs/python3-graphviz diff --git a/srcpkgs/python-graphviz/template b/srcpkgs/python-graphviz/template new file mode 100644 index 00000000000..c92bc9ba166 --- /dev/null +++ b/srcpkgs/python-graphviz/template @@ -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 " +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 + } +} diff --git a/srcpkgs/python3-graphviz b/srcpkgs/python3-graphviz new file mode 120000 index 00000000000..1b7d7f4e562 --- /dev/null +++ b/srcpkgs/python3-graphviz @@ -0,0 +1 @@ +python-graphviz \ No newline at end of file