Katrain fails with python-kivymd 1.1.1

katrain is incompatible with python-kivymd 1.1.1

Downgrading the package is a workaround. I modified the build script to downgrade to 0.104.1 as such:


# Maintainer: EnderPi <samueltlewis27 at gmail.com>
# Contributor: lazant <a.l.i.c.e at outlook.com>
pkgname=python-kivymd
pkgver=0.104.1
pkgrel=1
pkgdesc="KivyMD is a collection of Material Design compliant widgets for use with Kivy, a framework for cross-platform, touch-enabled graphical applications."
arch=('any')
url="https://github.com/kivymd/KivyMD/"
license=('MIT')
makedepends=('python-setuptools')
source=("https://github.com/kivymd/KivyMD/archive/${pkgver}.tar.gz")
md5sums=('7fbfce346e8225972abdeb83ec082afc')

build() {
  cd "${srcdir}/KivyMD-${pkgver}"
  python setup.py build
}

package() {
  cd "${srcdir}/KivyMD-${pkgver}"
  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

edit: I’m providing this because it took quite a while to troubleshoot. The changes to the current build script is the version number with the corresponding md5sum.

There is a pinned comment from April 14, 2023 that says to downgrade to python-kivymd 0.104.2/0.104.1. You could have saved yourself a lot of time by checking the comments on the AUR page first when running into issues.