Package Details: mvim-git v0.2.0-1

Git Clone URL: https://aur.archlinux.org/mvim-git.git (read-only, click to copy)
Package Base: mvim-git
Description: Rename, move or delete files by editing their names with vim.
Upstream URL: https://github.com/bouttier/mvim
Licenses: Apache
Submitter: djanos
Maintainer: Linkid
Last Packager: djanos
Votes: 3
Popularity: 0.000000
First Submitted: 2015-09-11 09:40 (UTC)
Last Updated: 2023-05-19 09:51 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

Linkid commented on 2024-05-20 17:54 (UTC)

Hello. The install method is not working anymore and is deprecated. This is a good opportunity to use python-build and python-installer. Here a diff with a working PKGBUILD:

-makedepends=('git')
+makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-setuptools-scm')
+prepare() {
+    # clean old wheels
+    git -C "${srcdir}/${pkgname}" clean -dfx
+    export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+}
+
+build() {
+    cd "$srcdir/$pkgname"
+    python -m build --wheel --no-isolation
+}
+
 package() {
     cd "$srcdir/$pkgname"
-    python setup.py install --root="$pkgdir/" --optimize=1
+    python -m installer --destdir="$pkgdir" dist/*.whl
 }