From 0d0db337fc1627e8bb29eeb23929f763a239b68e Mon Sep 17 00:00:00 2001 From: Bo Son Date: Tue, 20 Oct 2020 07:07:53 +0200 Subject: [PATCH] New package: python3-imutils-0.5.3. --- srcpkgs/python3-imutils/files/LICENSE.txt | 21 +++++++++++++++++++++ srcpkgs/python3-imutils/template | 18 ++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 srcpkgs/python3-imutils/files/LICENSE.txt create mode 100644 srcpkgs/python3-imutils/template diff --git a/srcpkgs/python3-imutils/files/LICENSE.txt b/srcpkgs/python3-imutils/files/LICENSE.txt new file mode 100644 index 00000000000000..5f9740b3a7c9ea --- /dev/null +++ b/srcpkgs/python3-imutils/files/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015-2016 Adrian Rosebrock, http://www.pyimagesearch.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/srcpkgs/python3-imutils/template b/srcpkgs/python3-imutils/template new file mode 100644 index 00000000000000..57732d4325970a --- /dev/null +++ b/srcpkgs/python3-imutils/template @@ -0,0 +1,18 @@ +# Template file for 'python3-imutils' +pkgname=python3-imutils +version=0.5.3 +revision=1 +wrksrc="imutils-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="libopencv-python3" +short_desc="Basic image processing functions with OpenCV and Python3" +maintainer="Bo Son " +license="MIT" +homepage="https://github.com/jrosebr1/imutils" +distfiles="${PYPI_SITE}/i/imutils/imutils-${version}.tar.gz" +checksum=857af6169d90e4a0a814130b9b107f5d611150ce440107e1c1233521c6fb1e2b + +post_install() { + vlicense $FILESDIR/LICENSE.txt +}