summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorsean09212019-05-09 23:49:44 +0800
committersean09212019-05-09 23:49:44 +0800
commit428285c490ed40c241d9cb23499d8ec2b7218f9f (patch)
treeed41ebfd6ca5b09b460e1a01691ec5c886fec3c3 /PKGBUILD
parent77a60ee1f0a939f2d53e168cb5fbdb733d2de942 (diff)
downloadaur-428285c490ed40c241d9cb23499d8ec2b7218f9f.tar.gz
simplify package dependencies
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6491e8c7818f..d4b9932c5658 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,14 +5,13 @@ pkgbase=python-${_pkg,,}
pkgname=("python-${_pkg,,}")
pkghashver=997b88c855c12ffacd2c4b911f3fa83244ce8d7b
pkgver=0.0.1a0_${pkghashver}
-pkgrel=1
+pkgrel=2
pkgdesc="Python interface to the Generic Mapping Tools C library"
arch=('x86_64')
url="https://www.pygmt.org"
license=('3-BSD')
-makedepends=('cython' 'python-setuptools' 'python-numpy' 'python-pandas'
- 'python-xarray' 'python-netcdf4' 'python-packaging'
- 'gmt>=6.0.0' 'gmt-coast' 'gmt-dcw')
+depends=('python-numpy' 'python-pandas' 'python-xarray' 'python-netcdf4' 'python-packaging' 'gmt>=6.0.0' 'gmt-coast' 'gmt-dcw')
+makedepends=('cython' 'python-setuptools')
source=("https://github.com/GenericMappingTools/${_pkg,,}/archive/${pkghashver}.tar.gz")
sha256sums=('990145de2d61df5d02f784e406a217138ee029f559454bcf7eb12a28f6258a60')
@@ -32,7 +31,6 @@ build() {
#}
package() {
- depends=('python-numpy' 'python-pandas' 'python-xarray' 'python-netcdf4' 'python-packaging' 'gmt>=6.0.0' 'gmt-coast' 'gmt-dcw')
cd ${_pkg}-${pkghashver}
USE_NCCONFIG=1 python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=2
}