diff options
author | Greyson Christoforo | 2022-04-26 11:38:00 +0100 |
---|---|---|
committer | Greyson Christoforo | 2022-04-26 11:38:00 +0100 |
commit | eb88fd0467c0460d47d4e7b4c697a6adfa4f04e2 (patch) | |
tree | 3201fc0ca24f31a34066465c8963f784c606cea2 /PKGBUILD | |
download | aur-eb88fd0467c0460d47d4e7b4c697a6adfa4f04e2.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b229be6029a4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Grey Christoforo <first name at last name dot net> + +pkgname=python-cq_warehouse +pkgver=0.6.0 +pkgrel=1 +pkgdesc="A cadquery parametric part collection" +arch=(x86_64) +url="https://github.com/gumyr/cq_warehouse" +license=('Apache') +depends=( +python-cadquery +) + +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/gumyr/cq_warehouse/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('3f928eebde439b3c7c161059bb8a8442cf243c4f401916e4bda6ec97099768dc') + +prepare() { + cd cq_warehouse-${pkgver} +} + +build() { + cd cq_warehouse-${pkgver} + python -m build --wheel --no-isolation +} + +check() { + cd cq_warehouse-${pkgver} + python -m unittest -v # project currently configured incorrectly for this to work +} + +package() { + cd cq_warehouse-${pkgver} + # python -m installer --destdir="${pkgdir}" dist/*.whl + python -m installer --destdir="${pkgdir}" dist/cq_warehouse-${pkgver}*.whl +} + |