blob: f7d1b3aeb6d8608d11b58246a6f6e58fd3b18bed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# PKGBUILD generated by pipman
# Python package author: Matthew Edwards <None>
pkgname=python-pythontexfigures
pkgver=0.2.0
pkgrel=1
pkgdesc="Embed matplotlib figures into LaTeX documents using PythonTeX"
arch=(any)
url="https://github.com/mje-nz/pythontexfigures"
license=(BSD 3-Clause)
makedepends=("python" "python-pip")
build() {
pip install --no-deps --target="pythontexfigures" pythontexfigures==0.2.0
}
package() {
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
mkdir -p $pkgdir/"$sitepackages"
cp -r $srcdir/pythontexfigures/* $pkgdir/"$sitepackages"
}
|