mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +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
37 lines
929 B
Text
37 lines
929 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-adapt-parser
|
|
pkgver=1.0.0
|
|
pkgrel=2
|
|
pkgdesc="A text-to-intent parsing framework"
|
|
url="https://github.com/MycroftAI/adapt"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="
|
|
py3-pyee
|
|
python3
|
|
"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="
|
|
bash
|
|
py3-pytest
|
|
"
|
|
#source="https://pypi.python.org/packages/source/a/adapt-parser/adapt-parser-$pkgver.tar.gz
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/MycroftAI/adapt/archive/refs/tags/release/v$pkgver.tar.gz"
|
|
builddir="$srcdir/adapt-release-v$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
./run_tests.sh test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
4defe0fb33e0b817e0cd7ffa326bfd69e32c9187a4f752dd49d45003000cd897e19f6daaab2f8585274bb9849243b9c9c5e73de00b255004bd4478f1df335631 py3-adapt-parser-1.0.0.tar.gz
|
|
"
|