From 0700f8451bd9d816f151e5cc9a29a55a95429a99 Mon Sep 17 00:00:00 2001 From: dleeram Date: Tue, 19 Sep 2017 17:46:38 +0100 Subject: [PATCH] New package: python-kitchen-1.2.5 --- srcpkgs/python-kitchen/template | 29 +++++++++++++++++++++++++++++ srcpkgs/python3-kitchen | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-kitchen/template create mode 120000 srcpkgs/python3-kitchen diff --git a/srcpkgs/python-kitchen/template b/srcpkgs/python-kitchen/template new file mode 100644 index 0000000000..896de751d2 --- /dev/null +++ b/srcpkgs/python-kitchen/template @@ -0,0 +1,29 @@ +# Template file for 'python-kitchen' +pkgname=python-kitchen +version=1.2.5 +revision=1 +noarch=yes +wrksrc="${pkgname#*-}-${version}" +build_style=python-module +pycompile_module="kitchen" +hostmakedepends="python-setuptools python3-setuptools" +short_desc="Python2 useful snippets" +maintainer="dleeram " +license="LGPL-2" +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 + pycompile_module="kitchen" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense COPYING LICENSE + } +} diff --git a/srcpkgs/python3-kitchen b/srcpkgs/python3-kitchen new file mode 120000 index 0000000000..39c6020541 --- /dev/null +++ b/srcpkgs/python3-kitchen @@ -0,0 +1 @@ +python-kitchen \ No newline at end of file