diff options
author | Caleb Maclennan | 2019-03-01 14:48:32 +0000 |
---|---|---|
committer | Caleb Maclennan | 2019-03-01 14:48:32 +0000 |
commit | 2f1cbef2d82af2621f60ab79f102b44af6e7d7bc (patch) | |
tree | ab079fd5fd4b1f0d17b55818328e2927cc141553 | |
parent | 10616fec16481adb3428920d9669a7a5df0d4548 (diff) | |
download | aur-2f1cbef2d82af2621f60ab79f102b44af6e7d7bc.tar.gz |
Cleanup auto-generated file and add dependencies
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 19 insertions, 6 deletions
@@ -7,6 +7,10 @@ pkgbase = python-panflute license = BSD3 makedepends = python makedepends = python-pip + depends = python-click + depends = python-future + depends = python-pyyaml + depends = python-shutilwhich pkgname = python-panflute @@ -1,18 +1,27 @@ +# Maintainer: Caleb Maclennan <caleb@alerque.com> # PKGBUILD generated by pipman # Python package author: Sergio Correia <sergio.correia@gmail.com> -pkgname=python-panflute + +_pipname=panflute +pkgname=python-$_pipname pkgver=1.11.2 pkgrel=1 pkgdesc="Pythonic Pandoc filters" arch=(any) -url="https://github.com/sergiocorreia/panflute" +url="https://github.com/sergiocorreia/$_pipname" license=(BSD3) makedepends=("python" "python-pip") +depends=("python-click" + "python-future" + "python-pyyaml" + "python-shutilwhich") + build() { - pip install --no-deps --target="panflute" panflute==1.11.2 + pip install --no-deps --target="$_pipname" "$_pipname==$pkgver" } + package() { sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") - mkdir -p $pkgdir/"$sitepackages" - cp -r $srcdir/panflute/* $pkgdir/"$sitepackages" -}
\ No newline at end of file + mkdir -p "$pkgdir/$sitepackages" + cp -r "$srcdir/$_pipname"/* "$pkgdir/$sitepackages" +} |