mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-01 00:42:03 +01: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
32 lines
792 B
Plaintext
32 lines
792 B
Plaintext
# Contributor: Clayton Craft <clayton@craftyguy.net>
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=py3-nmea2
|
|
_pkgname=pynmea2
|
|
pkgver=1.18.0
|
|
pkgrel=1
|
|
pkgdesc="Python library for the NMEA 0183 protocol"
|
|
url="https://github.com/Knio/pynmea2"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/Knio/pynmea2/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest .
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
e3e12fc04ba8d53a3f3aea2361e7e1cf9ac9f09a4d595f7010ed9175430f4bd3e19727af53ea051407caf112175f36dfd3240dd0fdc7ebcafef1122c57e3bf1f py3-nmea2-1.18.0.tar.gz
|
|
"
|