remove python
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
pkgname='zshell'
|
pkgname='zshell'
|
||||||
pkgver=0.1.0.r23.gdeaeac4
|
pkgver=0.2.0.r21.g8743333
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='The cli for zshell'
|
pkgdesc='The cli for zshell'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@@ -7,8 +7,9 @@ url='https://git.zach-dev.cc/zach/z-bar-qt'
|
|||||||
license=('GPL-3.0-only')
|
license=('GPL-3.0-only')
|
||||||
depends=('python' 'python-pillow' 'python-materialyoucolor' 'libnotify' 'swappy' 'dart-sass'
|
depends=('python' 'python-pillow' 'python-materialyoucolor' 'libnotify' 'swappy' 'dart-sass'
|
||||||
'app2unit' 'wl-clipboard' 'dconf' 'cliphist' 'python-typer' 'qt6-canvaspainter')
|
'app2unit' 'wl-clipboard' 'dconf' 'cliphist' 'python-typer' 'qt6-canvaspainter')
|
||||||
makedepends=('python-build' 'python-installer' 'python-hatch' 'python-hatch-vcs' 'cargo' 'rust' 'cmake' 'ninja')
|
makedepends=('python-build' 'python-installer' 'python-hatch' 'python-hatch-vcs' 'cargo' 'rust' 'cmake' 'ninja' 'nuitka')
|
||||||
source=("$pkgname::git+$url.git#branch=main")
|
source=("$pkgname::git+$url.git#branch=feat/aot-compilation-cli")
|
||||||
|
options=('!lto')
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
@@ -18,9 +19,6 @@ pkgver() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}/cli"
|
|
||||||
python -m build --wheel --no-isolation
|
|
||||||
|
|
||||||
cd "${srcdir}/${pkgname}/zshell-img-tools"
|
cd "${srcdir}/${pkgname}/zshell-img-tools"
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
||||||
@@ -30,9 +28,6 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}/cli"
|
|
||||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
||||||
|
|
||||||
cd "${srcdir}/${pkgname}"
|
cd "${srcdir}/${pkgname}"
|
||||||
DESTDIR="$pkgdir" cmake --install build
|
DESTDIR="$pkgdir" cmake --install build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user