blob: a628fe6d32c1f586fba07fc2a7a9d1de4fda6ed3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Ludvig Holtze <ludvig dot holtze at protonmail dot com>
# PKGBUILD generated by pipman
pkgname=python-pyexcel-ezodf
pkgver=0.3.4
pkgrel=2
pkgdesc="A Python package to create/manipulate OpenDocumentFormat files"
arch=('any')
url="https://github.com/pyexcel/pyexcel-ezodf"
license=('MIT')
depends=('python-lxml')
makedepends=('python' 'python-pip')
build() {
pip install --no-deps --target="pyexcel-ezodf" pyexcel-ezodf==$pkgver
}
package() {
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
mkdir -p $pkgdir/"$sitepackages"
cp -r $srcdir/pyexcel-ezodf/* $pkgdir/"$sitepackages"
}
|