summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6c1c012e49b08911cdd1b0252e2732cc4fa594c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# PKGBUILD generated by pipman
# Python package author:  <Ihor Kalnytskyi <ihor@kalnytskyi.com>>
#Maintianer: raininja <dandenkijin at gmail dot com>

pkgname=python-picobox
_pkgname=picobox
pkgver=4.0.0
pkgrel=1
pkgdesc="Dependency injection framework designed with Python in mind."
arch=(any)
url="https://pypi.org/project/picobox/"
license=('MIT')
makedepends=("python" "python-pip")
build() {
  pip install --no-deps --target="${_pkgname}" $_pkgname==$pkgver
}
package() {
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/picobox/* $pkgdir/"$sitepackages"
}