From 61c75c6ff5bbaa11b1d9c2b475f81d0dce1516d6 Mon Sep 17 00:00:00 2001 From: Illia Shestakov Date: Tue, 3 Sep 2019 14:20:27 +0300 Subject: [PATCH] New package: termdown-1.16.0 Also a python-pyfiglet, termdown's dependency, that is absent in repository closes #14182 --- srcpkgs/python-pyfiglet/template | 31 +++++++++++++++++++++++++++++++ srcpkgs/python3-pyfiglet | 1 + srcpkgs/termdown/template | 19 +++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 srcpkgs/python-pyfiglet/template create mode 120000 srcpkgs/python3-pyfiglet create mode 100644 srcpkgs/termdown/template diff --git a/srcpkgs/python-pyfiglet/template b/srcpkgs/python-pyfiglet/template new file mode 100644 index 00000000000..034861a48de --- /dev/null +++ b/srcpkgs/python-pyfiglet/template @@ -0,0 +1,31 @@ +# Template file for 'python-pyfiglet' +pkgname=python-pyfiglet +version=0.8.0 +revision=1 +archs=noarch +wrksrc="pyfiglet-${version}" +build_style="python-module" +pycompile_module="pyfiglet" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Implementation of figlet written in Python " +maintainer="Illia Shestakov " +license="MIT" +homepage="https://github.com/pwaller/pyfiglet" +distfiles="https://github.com/pwaller/pyfiglet/archive/v${version}.tar.gz" +checksum=0331d8cd949b0def033fce08c9b1f62006b8d1e1dce578dd28fdb02ae0f827f1 + +post_install() { + vlicense LICENSE + vdoc README.md +} + +python3-pyfiglet_package() { + archs=noarch + pycompile_module="pyfiglet" + depends="python3" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-pyfiglet b/srcpkgs/python3-pyfiglet new file mode 120000 index 00000000000..65697d948c4 --- /dev/null +++ b/srcpkgs/python3-pyfiglet @@ -0,0 +1 @@ +python-pyfiglet \ No newline at end of file diff --git a/srcpkgs/termdown/template b/srcpkgs/termdown/template new file mode 100644 index 00000000000..facf9a5c27e --- /dev/null +++ b/srcpkgs/termdown/template @@ -0,0 +1,19 @@ +# Template file for 'termdown' +pkgname=termdown +version=1.16.0 +revision=1 +archs=noarch +build_style=python3-module +pycompile_module="termdown" +hostmakedepends="python3-setuptools" +depends="python3 python3-dateutil python3-click python3-pyfiglet" +short_desc="Countdown timer and stopwatch in your terminal" +maintainer="Illia Shestakov " +license="GPL-3.0-or-later" +homepage="https://github.com/trehn/termdown" +distfiles="https://github.com/trehn/termdown/archive/${version}.tar.gz" +checksum=bab26e830a6e3f7758e1daccb2580aec094a257f5631546aa0f66bc35c3a37bc + +post_install() { + vlicense LICENSE +}