# Maintainer: Alexandre Pujol # Contributor: DebOps project https://debops.org/ # Contributor: Maciej Delmanowski # Contributor: itsme pkgname=debops pkgver=2.0.1 pkgrel=1 pkgdesc="Your Debian-based data center in a box" arch=('any') url="https://debops.org/" license=('GPL3') depends=('python' 'ansible' 'python-future' 'util-linux' 'encfs' 'gnupg') optdepends=( 'python-dnspython: required by Ansible "dig" module' 'python-pyopenssl: required by "openssl_*" Ansible modules' 'python-netaddr: required by Ansible "ipaddr" filter plugin' 'python-ldap: required by Ansible "ldap_*" modules' 'python-passlib: required by Ansible "password" lookup plugin') makedepends=('python-setuptools') conflicts=('depops-git') source=(https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz) sha512sums=('c27cce1f334a4ae7cff07e8c5507e415133ea38a5b6a71ea7da977520d3e392b0242a7059728fc40628393f2c5a9f186cdfd81fbfb4a7dbd541ddb6661b4cd8b') build() { cd "$pkgname-$pkgver" python setup.py build } package() { cd "$pkgname-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 }