diff options
author | Greyson Christoforo | 2020-11-19 18:40:48 +0000 |
---|---|---|
committer | Greyson Christoforo | 2020-11-19 18:40:48 +0000 |
commit | 78c84abc30a36a2871ecd0ff65da1079f05fa974 (patch) | |
tree | bbc5c782e555904104e0553c4131633a08b1b569 | |
parent | 3b11dbad2aa77b532fcc0a7c5d5c1a1a9627cea2 (diff) | |
download | aur-78c84abc30a36a2871ecd0ff65da1079f05fa974.tar.gz |
fix build
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 15 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = python-cadquery-git pkgdesc = A parametric CAD scripting framework based on PythonOCC built from git - pkgver = 2.0.1.r174.g65f9608 + pkgver = 2.0.1.r184.gec9cd46 pkgrel = 1 url = https://github.com/CadQuery/cadquery arch = x86_64 @@ -2,7 +2,7 @@ # Maintainer: Grey Christoforo <first name at last name dot net> pkgname=python-cadquery-git -pkgver=2.0.1.r174.g65f9608 +pkgver=2.0.1.r184.gec9cd46 pkgrel=1 pkgdesc="A parametric CAD scripting framework based on PythonOCC built from git" arch=(x86_64) @@ -21,9 +21,15 @@ pkgver() { git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } -check() { +prepare() { cd cadquery - pytest -v --cov + + # drop text() entirely + curl https://github.com/greyltc/cadquery/commit/48bab8ad9e176590f67980a263262b4c6b0b3198.patch | patch -p1 + + # loosen volume check restrictions + curl https://github.com/greyltc/cadquery/commit/3fdf585e640bbee0e41cfd1c3ba817e28e132937.patch | patch -p1 + curl https://github.com/greyltc/cadquery/commit/a0ecf8ec23003859654087ba16343621aaecb8f3.patch | patch -p1 } build() { @@ -31,6 +37,11 @@ build() { python setup.py build } +check() { + cd cadquery + pytest -v --cov +} + package() { cd cadquery python setup.py install --root="${pkgdir}" --optimize=1 --skip-build |