diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -14,7 +14,7 @@ depends=( 'python-colour' 'python-numpy' 'python-pillow' - 'python-progressbar' + # 'python-progressbar' Doesn't work, must be installed with pip 'python-pygments' 'python-rich' 'python-scipy' @@ -24,6 +24,10 @@ depends=( # AUR package 'python-pydub' ) +makedepends=( + 'python-pip' + 'python-wheel' +) optdepends=( 'texlive-most: latex support' ) @@ -32,6 +36,21 @@ conflicts=('python-manimlib') source=("https://files.pythonhosted.org/packages/f9/17/5b538d8350983c9a3baaaaa0345a0def774be463c909f61d56798a275089/manimce-0.1.0.tar.gz") sha256sums=('402c0c91efe29375ba2a6306d48147b827922f34a3f5e3bef792829751dce550') +prepare() { + pip install pip --upgrade + # This line may seem redundant but pangocairocffi refuses to install if + # pangocffi isn't already installed (and then must be installed again because + # the upgrading strategies always upgrade pangocffi). I'm keeping and eye on + # this step to make it more polite or replace it with actual arch packages + pip install --no-cache --force --use-feature=2020-resolver pangocffi==0.6.0 + pip install --no-cache --force --use-feature=2020-resolver \ + grpcio \ + grpcio-tools \ + pangocffi==0.6.0 \ + pangocairocffi \ + progressbar +} + build() { cd "$srcdir/$pkgname-$pkgver" python setup.py build |