From bae0b3f81f2248df842a0a43736df850da666a18 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Sun, 29 Dec 2019 21:41:05 -0600 Subject: [PATCH] python3-graphviz: Update to 0.13.2 Update to 0.13.2 Set python-graphviz to meta for removal Signed-off-by: Nathan Owens --- srcpkgs/python-graphviz/template | 20 +++----------------- srcpkgs/python3-graphviz | 1 - srcpkgs/python3-graphviz/template | 21 +++++++++++++++++++++ 3 files changed, 24 insertions(+), 18 deletions(-) delete mode 120000 srcpkgs/python3-graphviz create mode 100644 srcpkgs/python3-graphviz/template diff --git a/srcpkgs/python-graphviz/template b/srcpkgs/python-graphviz/template index 336166cb7ff..acb605a4156 100644 --- a/srcpkgs/python-graphviz/template +++ b/srcpkgs/python-graphviz/template @@ -1,14 +1,11 @@ # Template file for 'python-graphviz' pkgname=python-graphviz version=0.13 -revision=2 +revision=1 archs=noarch wrksrc="${pkgname/python-/}-${version}" -build_style=python-module -pycompile_module="graphviz" -hostmakedepends="python-setuptools python3-setuptools" -depends="graphviz python" -short_desc="Simple Python2 interface for Graphviz" +build_style=meta +short_desc="Simple Python2 interface for Graphviz(removed package)" maintainer="Orphaned " license="MIT" homepage="https://github.com/xflr6/graphviz" @@ -19,14 +16,3 @@ checksum=e1afdadc1dcd4a4193f967f421bf6688d259685d8d8d989b8a57f7d2cf64d1ca post_install() { vlicense LICENSE.txt } - -python3-graphviz_package() { - archs=noarch - depends="python3 graphviz" - pycompile_module="graphviz" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove "usr/lib/python3*" - vlicense LICENSE.txt - } -} diff --git a/srcpkgs/python3-graphviz b/srcpkgs/python3-graphviz deleted file mode 120000 index 1b7d7f4e562..00000000000 --- a/srcpkgs/python3-graphviz +++ /dev/null @@ -1 +0,0 @@ -python-graphviz \ No newline at end of file diff --git a/srcpkgs/python3-graphviz/template b/srcpkgs/python3-graphviz/template new file mode 100644 index 00000000000..2e7ec3bd76a --- /dev/null +++ b/srcpkgs/python3-graphviz/template @@ -0,0 +1,21 @@ +# Template file for 'python3-graphviz' +pkgname=python3-graphviz +version=0.13.2 +revision=1 +archs=noarch +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +pycompile_module="graphviz" +hostmakedepends="python3-setuptools" +depends="graphviz python3" +short_desc="Simple Python3 interface for Graphviz" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/xflr6/graphviz" +changelog="https://github.com/xflr6/graphviz/blob/master/CHANGES.txt" +distfiles="https://github.com/xflr6/graphviz/archive/${version}.tar.gz" +checksum=bb932d6833e7c62ac6b53624b6d55bfd81f40e861f55642e1221ac4f4d8421b4 + +post_install() { + vlicense LICENSE.txt +}