summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122020-08-23 10:39:22 +0200
committerwillemw122020-08-23 10:39:22 +0200
commit56e0a1436b668bd5aaf9a4253e9450de8ad65085 (patch)
tree3caaaad7eb3473074b8a678e21499a3570359c19
parent1d3431b45a79f4d6513fb4f9cca19447bdb2c715 (diff)
downloadaur-python-pywapi.tar.gz
Define 'python' as a depends, intead of a makedepends
Install license first
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 341847e0282..af377f9ee0f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,11 @@
pkgbase = python-pywapi
pkgdesc = Python wrapper around the Yahoo! Weather, Weather.com and NOAA APIs
pkgver = 0.3.8
- pkgrel = 6
+ pkgrel = 7
url = https://launchpad.net/python-weather-api
arch = any
license = MIT
- makedepends = python
+ depends = python
source = https://launchpad.net/python-weather-api/trunk/0.3.8/+download/pywapi-0.3.8.tar.gz
md5sums = 75bf8257f32f2d36169d57d92566cdb1
diff --git a/PKGBUILD b/PKGBUILD
index 3cb47e9f0e1..d317a52a83f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,13 +5,12 @@
_pkgname=pywapi
pkgname=python-$_pkgname
pkgver=0.3.8
-pkgrel=6
+pkgrel=7
pkgdesc="Python wrapper around the Yahoo! Weather, Weather.com and NOAA APIs"
arch=('any')
-#url="http://code.google.com/p/python-weather-api"
url="https://launchpad.net/python-weather-api"
license=('MIT')
-makedepends=('python')
+depends=('python')
source=(https://launchpad.net/python-weather-api/trunk/$pkgver/+download/$_pkgname-$pkgver.tar.gz)
md5sums=('75bf8257f32f2d36169d57d92566cdb1')
@@ -22,7 +21,7 @@ build() {
package() {
cd $_pkgname-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ python setup.py install --root="$pkgdir" --optimize=1
}