From 26fbc39c4f19339acb33f0e5dfe17ab275b42ed0 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 28 Nov 2017 03:56:03 -0200 Subject: [PATCH] New package: python-pluggy-0.6.0. Closes #9593. --- srcpkgs/python-pluggy/template | 31 +++++++++++++++++++++++++++++++ srcpkgs/python3-pluggy | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-pluggy/template create mode 120000 srcpkgs/python3-pluggy diff --git a/srcpkgs/python-pluggy/template b/srcpkgs/python-pluggy/template new file mode 100644 index 00000000000..124ff2576a5 --- /dev/null +++ b/srcpkgs/python-pluggy/template @@ -0,0 +1,31 @@ +# Template file for 'python-pluggy' +pkgname=python-pluggy +version=0.6.0 +revision=1 +wrksrc="${pkgname/python-//}-${version}" +build_style=python-module +pycompile_module="pluggy" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Minimalist production ready python2 plugin system" +maintainer="maxice8 " +license="MIT" +homepage="https://github.com/pytest-dev/pluggy" +distfiles="https://github.com/pytest-dev/pluggy/archive/${version}.tar.gz" +checksum=2dcdf93b644ebbd40c1679dec551b289aa502e77100af4153175ada9cac5d4ff +noarch=yes + +post_install() { + vlicense LICENSE +} + +python3-pluggy_package() { + noarch=yes + pycompile_module="pluggy" + depends="python3" + short_desc="${short_desc/python2/python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-pluggy b/srcpkgs/python3-pluggy new file mode 120000 index 00000000000..a7b99b1cadb --- /dev/null +++ b/srcpkgs/python3-pluggy @@ -0,0 +1 @@ +python-pluggy \ No newline at end of file