Date: Friday, November 27, 2020 @ 03:27:04 Author: yan12125 Revision: 763949
archrelease: copy trunk to community-any Added: python-pypugjs/repos/community-any/PKGBUILD (from rev 763948, python-pypugjs/trunk/PKGBUILD) Deleted: python-pypugjs/repos/community-any/PKGBUILD ----------+ PKGBUILD | 67 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-27 03:26:44 UTC (rev 763948) +++ PKGBUILD 2020-11-27 03:27:04 UTC (rev 763949) @@ -1,33 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> -# Contributor: zwindl on AUR - -pkgname=python-pypugjs -pkgver=5.9.5 -pkgrel=1 -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 -} Copied: python-pypugjs/repos/community-any/PKGBUILD (from rev 763948, python-pypugjs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-27 03:27:04 UTC (rev 763949) @@ -0,0 +1,34 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> +# Contributor: zwindl on AUR + +pkgname=python-pypugjs +pkgver=5.9.6 +pkgrel=1 +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) +# sdist is not uploaded to PyPI +source=("https://github.com/kakulukia/pypugjs/archive/v$pkgver/pypugjs-$pkgver.tar.gz") +sha256sums=('741a1129105a17bc8c8066bbd74f2813a797ed7648095d25dd4d5f51aa57e4c2') + +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 -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 +}