diff options
author | Alexander Schnaidt | 2021-12-13 16:08:28 +0100 |
---|---|---|
committer | Alexander Schnaidt | 2021-12-13 16:08:28 +0100 |
commit | 90d4049fd1f3e025ecaae678fa4fd388a981c1da (patch) | |
tree | 7845807e83b06303cc49632723e55a6c694e939b | |
parent | 241772dd9d564f71bce475e59fa7ee87813df89a (diff) | |
download | aur-90d4049fd1f3e025ecaae678fa4fd388a981c1da.tar.gz |
python-overpy: 0.6 update; switched to git, removed tests workaround
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 9 insertions, 18 deletions
@@ -1,17 +1,14 @@ -# Generated by mksrcinfo v8 -# Sun Apr 23 13:56:59 UTC 2017 pkgbase = python-overpy pkgdesc = Python Wrapper to access the Overpass API - pkgver = 0.4 + pkgver = 0.6 pkgrel = 1 url = https://github.com/DinoTools/python-overpy arch = any license = MIT makedepends = python-setuptools - makedepends = python-pytest-runner + makedepends = git depends = python - source = python-overpy-0.4.tar.gz::https://github.com/DinoTools/python-overpy/archive/0.4.tar.gz - sha256sums = 0af30d3ef4e05d7a163bb4cd78f5f7a86ef7a427d99a281d0d782c3dc4b8f5c5 + source = git+https://github.com/DinoTools/python-overpy.git#tag=0.6 + sha256sums = SKIP pkgname = python-overpy - @@ -1,25 +1,19 @@ # Maintainer: Alexander Schnaidt <alex.schnaidt@gmail.com> pkgname=python-overpy -pkgver=0.4 +pkgver=0.6 pkgrel=1 pkgdesc="Python Wrapper to access the Overpass API" arch=(any) url="https://github.com/DinoTools/python-overpy" license=('MIT') depends=('python') -makedepends=('python-setuptools' 'python-pytest-runner') -source=("$pkgname-$pkgver".tar.gz::"$url"/archive/"$pkgver".tar.gz) -sha256sums=('0af30d3ef4e05d7a163bb4cd78f5f7a86ef7a427d99a281d0d782c3dc4b8f5c5') - - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - sed -i 's/tests.\*\"/&, "tests"/' setup.py -} +makedepends=('python-setuptools' 'git') +source=(git+https://github.com/DinoTools/python-overpy.git#tag=$pkgver) +sha256sums=('SKIP') package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname" python setup.py install --root="$pkgdir/" --optimize=1 |