mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-overpy
|
|
_pkgorig=overpy
|
|
pkgver=0.6
|
|
pkgrel=2
|
|
pkgdesc="Python Wrapper to access the Overpass API "
|
|
url="https://github.com/DinoTools/python-overpy"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
# hotpatch for riscv to have all depends
|
|
# checkdepends="python3-dev py3-pytest py3-pytest-runner"
|
|
makedepends="python3-dev py3-pytest py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/o/overpy/overpy-$pkgver.tar.gz
|
|
remove-dep.patch"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
b077c9f14473ea9ca8a8b10cad2108e62716a1e42f9072aecd83ae362aba41fcb781483f50b4a953824800b7bec5fa08fe362a1076924216d55979419bade1ff py3-overpy-0.6.tar.gz
|
|
9fbfd4a819ef29121e18828783aae8bf65a2a2b582c65c2402706d6f2b5ab726a53a3f538ac172e5e214cf2d4fac520d1bdc935ff73413522065ff575761e45d remove-dep.patch
|
|
"
|