summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 236eebf8d14689b32a9aee3b1674ab9b4e1ba2b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Pavle Portic <pavle.portic@tilda.center>
pkgbase='python-inject'
pkgname=('python-inject')
_module='Inject'
pkgver='4.3.1'
pkgrel=1
pkgdesc="Python dependency injection framework"
url="https://github.com/ivankorobkov/python-inject"
depends=('python')
makedepends=('python-setuptools')
license=('APACHE')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('7f996f2c9ed2082af776ddf6b528d97036898ac63040385feb1d12286a73c3cc')

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py build
}

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}