[auto-editor] Use python-installer instead of python-pip to create package

Automatically committed from https://github.com/BrenekH/automated-aur/pull/146.
This commit is contained in:
BrenekH Automated AUR 2024-08-21 18:54:09 +00:00
parent e010f31248
commit 3d651390fd
2 changed files with 9 additions and 7 deletions

View file

@ -1,13 +1,13 @@
pkgbase = auto-editor
pkgdesc = A command line application for automatically editing video and audio.
pkgver = 25.0.1
pkgrel = 1
pkgrel = 2
url = https://auto-editor.com/
arch = any
license = Unlicense
makedepends = python-setuptools
makedepends = python-build
makedepends = python-pip
makedepends = python-installer
makedepends = python-wheel
depends = python
depends = python-numpy
depends = python-av

View file

@ -3,24 +3,26 @@
pkgname=auto-editor
pkgver=25.0.1
pkgrel=1
pkgrel=2
pkgdesc="A command line application for automatically editing video and audio."
url="https://auto-editor.com/"
arch=('any')
license=("Unlicense")
depends=('python' 'python-numpy' 'python-av')
optdepends=('yt-dlp: download and use URLs as inputs')
makedepends=('python-setuptools' 'python-build' 'python-pip')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("$pkgname-$pkgver.tar.gz::https://github.com/WyattBlue/auto-editor/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('6cd5e08223fa8d36727fc31422f8a7d30a87ff877ced5732a64543be1b20542c')
build() {
cd auto-editor-$pkgver
python -m build
python -m build --wheel --no-isolation
}
package() {
cd auto-editor-$pkgver
python -m pip install --no-dependencies --root="$pkgdir" dist/*.whl
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}