From 655ec78116c6073d9515f5459a82d22bbc32b708 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 29 Nov 2017 14:31:08 -0200 Subject: [PATCH] New package: python-owm-2.7.1. Closes: #9634 [via git-merge-pr] --- srcpkgs/python-owm/INSTALL.msg | 4 ++++ srcpkgs/python-owm/template | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 srcpkgs/python-owm/INSTALL.msg create mode 100644 srcpkgs/python-owm/template diff --git a/srcpkgs/python-owm/INSTALL.msg b/srcpkgs/python-owm/INSTALL.msg new file mode 100644 index 00000000000..98b0e24d688 --- /dev/null +++ b/srcpkgs/python-owm/INSTALL.msg @@ -0,0 +1,4 @@ +It is required to provide an API key to allow responses, you can signup for a +free API key on https://home.openweathermap.org/users/sign_up. + +Please notice that the free API subscription plan is subject to requests throttling. diff --git a/srcpkgs/python-owm/template b/srcpkgs/python-owm/template new file mode 100644 index 00000000000..a6879528b4d --- /dev/null +++ b/srcpkgs/python-owm/template @@ -0,0 +1,19 @@ +# Template file for 'python-owm' +pkgname=python-owm +version=2.7.1 +revision=1 +wrksrc="pyowm-${version}" +build_style=python2-module +pycompile_module="pyowm" +hostmakedepends="python-setuptools" +depends="python" +short_desc="A Python2 wrapper around the OpenWeatherMap web API" +maintainer="maxice8 " +license="MIT" +homepage="https://github.com/csparpa/pyowm" +distfiles="https://github.com/csparpa/pyowm/archive/${version}.tar.gz" +checksum=8de71236647d582929a734ff501adeb814be3dd94a04ef63f77ca32ab0ee9f4b + +post_install() { + vlicense LICENSE +}