diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-08-23 11:48:20 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-08-23 11:48:20 +0300 |
commit | 02dbd8c295772ce0004692ce03757de470e16af4 (patch) | |
tree | ac1c68d1b82ca3944f7b9b0285d01d9ae4ac370f | |
parent | 67aec96cb6eebd5620cc2ffe9b8c2966fb694908 (diff) | |
download | aports-02dbd8c295772ce0004692ce03757de470e16af4.tar.bz2 aports-02dbd8c295772ce0004692ce03757de470e16af4.tar.xz |
testing/jinja2-cli: new package
-rw-r--r-- | testing/jinja2-cli/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/jinja2-cli/APKBUILD b/testing/jinja2-cli/APKBUILD new file mode 100644 index 0000000000..7abe6a38e5 --- /dev/null +++ b/testing/jinja2-cli/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: +pkgname=jinja2-cli +pkgver=0.6.0 +pkgrel=0 +pkgdesc="CLI for Jinja2" +url=https://github.com/mattrobenolt/jinja2-cli +arch=noarch +license=BSD +depends="python py-jinja2" +makedepends=py-setuptools +source=https://files.pythonhosted.org/packages/source/j/$pkgname/$pkgname-$pkgver.tar.gz + +builddir=$srcdir/$pkgname-$pkgver + +build() { + cd "$builddir" + ./setup.py build +} + +check() { + cd "$builddir" + ./setup.py test +} + +package() { + cd "$builddir" + ./setup.py install --root "$pkgdir" +} + +sha512sums="6f0cbf17d8c3c9ac7720cbd16b08114b97e3f420c41f270d80ac7cedb42906da5cd272bf7d929dfcf2113b1727e61181ba26b79610d09afa7f3684b31d957506 jinja2-cli-0.6.0.tar.gz" |