[arch-commits] Commit in python-pypugjs/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 17:02:45 UTC 2020
Date: Thursday, November 12, 2020 @ 17:02:44
Author: foutrelis
Revision: 752195
archrelease: copy trunk to community-staging-any
Added:
python-pypugjs/repos/community-staging-any/
python-pypugjs/repos/community-staging-any/PKGBUILD
(from rev 752193, python-pypugjs/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-pypugjs/repos/community-staging-any/PKGBUILD (from rev 752193, python-pypugjs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:02:44 UTC (rev 752195)
@@ -0,0 +1,33 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: zwindl on AUR
+
+pkgname=python-pypugjs
+pkgver=5.9.5
+pkgrel=2
+pkgdesc='PugJS syntax adapter for Django, Jinja2 and Mako templates'
+url='https://github.com/kakulukia/pypugjs'
+depends=(python python-six python-chardet)
+makedepends=(python-setuptools)
+checkdepends=(python-nose python-django python-jinja python-tornado python-mako)
+optdepends=(python-django python-jinja python-tornado python-mako)
+license=(MIT)
+arch=(any)
+source=("https://github.com/kakulukia/pypugjs/archive/v$pkgver/pypugjs-$pkgver.tar.gz")
+sha256sums=('2c19c2c434e4104ce4ae5ac650d4e81e8fd952030183c9d7ed8f251db54537e9')
+
+build() {
+ cd pypugjs-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd pypugjs-$pkgver
+ # -w is needed here as test_cases.py looks into cases/
+ PYTHONPATH="$PWD" nosetests -v -w pypugjs/testsuite
+}
+
+package() {
+ cd pypugjs-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list