blob: c8492a2ba014580b720467fe96a71fe9fa45e877 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Alexandru M. Stan <amstan@chromium.org>
# Python package author: <Jose Tiago Macara Coutinho <coutinhotiago@gmail.com>>
# PKGBUILD generated by pipman
pkgname=python-linuxpy
pkgver=0.16.0
pkgrel=1
pkgdesc="Human friendly interface to linux subsystems using python"
arch=(any)
url="https://github.com/tiagocoutinho/linuxpy"
license=(GPL-3.0-or-later)
makedepends=("python" "python-pip")
build() {
pip install --no-deps --target="linuxpy" linuxpy==${pkgver}
}
package() {
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
mkdir -p $pkgdir/"$sitepackages"
cp -r $srcdir/linuxpy/* $pkgdir/"$sitepackages"
}
|