Date: Tuesday, March 2, 2021 @ 15:18:44 Author: yan12125 Revision: 877504
archrelease: copy trunk to community-any Added: python-pypugjs/repos/community-any/PKGBUILD (from rev 877503, python-pypugjs/trunk/PKGBUILD) Deleted: python-pypugjs/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-03-02 15:18:31 UTC (rev 877503) +++ PKGBUILD 2021-03-02 15:18:44 UTC (rev 877504) @@ -1,34 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> -# Contributor: zwindl on AUR - -pkgname=python-pypugjs -pkgver=5.9.8 -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) -# PyPI sdist does not contain tests -source=("https://github.com/kakulukia/pypugjs/archive/v$pkgver/pypugjs-$pkgver.tar.gz") -sha256sums=('efb7cbfbbe9fec223b13a419754626b7313dd74d67230f4c38addf1e4389ebc8') - -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 -} Copied: python-pypugjs/repos/community-any/PKGBUILD (from rev 877503, python-pypugjs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-03-02 15:18:44 UTC (rev 877504) @@ -0,0 +1,34 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> +# Contributor: zwindl on AUR + +pkgname=python-pypugjs +pkgver=5.9.9 +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) +# PyPI sdist does not contain tests +source=("https://github.com/kakulukia/pypugjs/archive/v$pkgver/pypugjs-$pkgver.tar.gz") +sha256sums=('2666d50a42b2e0302d92684c75ac396a195276d05a5d775ccbdc2a086aa519b6') + +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 +}