diff options
author | Grey Christoforo | 2019-12-31 13:06:38 +0000 |
---|---|---|
committer | Grey Christoforo | 2019-12-31 13:08:18 +0000 |
commit | ae64dbb28539749b0cc213979945e7e457906d8c (patch) | |
tree | 9dc55a353a30b981adb4c994f36f773d913f3f9b /PKGBUILD | |
download | aur-ae64dbb28539749b0cc213979945e7e457906d8c.tar.gz |
initial commit
add srcinfo
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5d35054dcd63 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Grey Christoforo <first name at last name dot net> + +pkgname=python-cadquery-git +pkgver=2.0RC1.r61.g74573fc +pkgrel=1 +pkgdesc="A parametric CAD scripting framework based on PythonOCC built from git" +arch=('any') +url="https://github.com/CadQuery/cadquery" +license=('Apache') +provides=('python-cadquery') +conflicts=('python-cadquery') +depends=('python-occ-cadquery-git' 'python') +makedepends=('python-pytest' 'python-pytest-cov') + +source=("git+https://github.com/CadQuery/cadquery.git") +md5sums=('SKIP') + +pkgver() { + cd cadquery + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +check() { + cd cadquery + #pytest -v --cov + pytest -v --cov || true +} + +package() { + cd cadquery + python setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 +} + |