From f2346f31b7550f0f10205b40aad8d3a3709554c6 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 18 Oct 2018 19:16:21 +0200 Subject: [PATCH] python-kitchen: add missing depends (noarch) Remove unnecessary vlicense for LGPL. --- srcpkgs/python-kitchen/template | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python-kitchen/template b/srcpkgs/python-kitchen/template index 896de751d29..36861cc9eb7 100644 --- a/srcpkgs/python-kitchen/template +++ b/srcpkgs/python-kitchen/template @@ -1,29 +1,26 @@ # Template file for 'python-kitchen' pkgname=python-kitchen version=1.2.5 -revision=1 +revision=2 noarch=yes wrksrc="${pkgname#*-}-${version}" build_style=python-module pycompile_module="kitchen" hostmakedepends="python-setuptools python3-setuptools" -short_desc="Python2 useful snippets" +depends="python" +short_desc="Useful snippets for Python2" maintainer="dleeram " -license="LGPL-2" +license="LGPL-2.1-or-later" homepage="https://github.com/fedora-infra/kitchen" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=1258af80868fc8c30170a43040b1eb5434bc5ffa5ff4ab98ffb9ee3d3c1e2f76 -post_install() { - vlicense COPYING LICENSE -} - python3-kitchen_package() { noarch=yes + depends="python3" pycompile_module="kitchen" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* - vlicense COPYING LICENSE } }