From a58480542fde4118b2551d6dda173557552901e4 Mon Sep 17 00:00:00 2001 From: Daniel Santana Date: Sat, 10 Nov 2018 13:16:09 -0200 Subject: [PATCH] New package: python-rebulk-1.0.0 --- srcpkgs/python-rebulk/template | 31 +++++++++++++++++++++++++++++++ srcpkgs/python3-rebulk | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-rebulk/template create mode 120000 srcpkgs/python3-rebulk diff --git a/srcpkgs/python-rebulk/template b/srcpkgs/python-rebulk/template new file mode 100644 index 0000000000..c5141927b3 --- /dev/null +++ b/srcpkgs/python-rebulk/template @@ -0,0 +1,31 @@ +# Template file for 'python-rebulk' +pkgname=python-rebulk +version=1.0.0 +revision=1 +noarch=yes +wrksrc="rebulk-${version}" +build_style=python-module +pycompile_module="rebulk" +hostmakedepends="python-setuptools python3-setuptools" +depends="python python-six" +short_desc="Define search patterns in bulk to perform advanced matching (Python2)" +maintainer="Daniel Santana " +license="MIT" +homepage="https://github.com/Toilal/rebulk" +distfiles="${PYPI_SITE}/r/rebulk/rebulk-${version}.tar.gz" +checksum=1d49e4f7ef6fb874e60efccacbbe661092fabdb7770cdf7f7de4516d50535998 + +post_install() { + vlicense LICENSE +} + +python3-rebulk_package() { + noarch=yes + pycompile_module="rebulk" + depends="python3 python3-six" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-rebulk b/srcpkgs/python3-rebulk new file mode 120000 index 0000000000..32bfe7322a --- /dev/null +++ b/srcpkgs/python3-rebulk @@ -0,0 +1 @@ +python-rebulk \ No newline at end of file