mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
24 lines
777 B
Text
24 lines
777 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-pyowm
|
|
pkgver=2.10.0
|
|
pkgrel=1
|
|
pkgdesc="A Python wrapper around OpenWeatherMap web APIs"
|
|
url="https://github.com/csparpa/pyowm"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-requests py3-geojson"
|
|
makedepends="py3-setuptools"
|
|
source="https://pypi.python.org/packages/source/p/pyowm/pyowm-$pkgver.tar.gz"
|
|
options="!check" # PyPi package doesn't contain tests
|
|
builddir="$srcdir/pyowm-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="49db933546e7d270e13c835e03c78d829463c7742fa8e87f2272346e0b4c734a2234c501dd2a3a1b4fea0ffab5c8869a8186ec03b8d68f60888fc3e1f8569864 pyowm-2.10.0.tar.gz"
|