From e5e53b96a24e7a94109a8daf6fdd720c6d2c04fd Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 16 Jan 2017 18:56:35 +0100 Subject: [PATCH] New package: python-scandir-1.4 --- srcpkgs/python-scandir/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python-scandir/template diff --git a/srcpkgs/python-scandir/template b/srcpkgs/python-scandir/template new file mode 100644 index 0000000000..c433a7a912 --- /dev/null +++ b/srcpkgs/python-scandir/template @@ -0,0 +1,19 @@ +# Template file for 'python-scandir' +pkgname=python-scandir +version=1.4 +revision=1 +wrksrc="scandir-${version}" +build_style=python2-module +pycompile_module="scandir.py" +hostmakedepends="python-devel" +makedepends="${hostmakedepends}" +short_desc="Backport of the scandir module from Python 3.5+" +maintainer="Alessio Sergi " +homepage="https://github.com/benhoyt/scandir" +license="3-clause-BSD" +distfiles="${PYPI_SITE}/s/scandir/scandir-${version}.tar.gz" +checksum=ada8d3ddc82fd168b3f46feb393d37c722ed0553a10a3ce5426ddc5ec17d597a + +post_install() { + vlicense LICENSE.txt LICENSE +}