Date: Friday, July 29, 2022 @ 12:30:47 Author: yan12125 Revision: 1259086
archrelease: copy trunk to community-any Added: python-pypugjs/repos/community-any/PKGBUILD (from rev 1259085, python-pypugjs/trunk/PKGBUILD) Deleted: python-pypugjs/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-29 12:30:33 UTC (rev 1259085) +++ PKGBUILD 2022-07-29 12:30:47 UTC (rev 1259086) @@ -1,34 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> -# Contributor: zwindl on AUR - -pkgname=python-pypugjs -pkgver=5.9.11 -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=('8bc013221dd20fcfa886d456c017219b3b506bfb50b967e470a43733f62483e8') - -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 1259085, python-pypugjs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-29 12:30:47 UTC (rev 1259086) @@ -0,0 +1,34 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> +# Contributor: zwindl on AUR + +pkgname=python-pypugjs +pkgver=5.9.12 +pkgrel=1 +pkgdesc='PugJS syntax adapter for Django, Jinja2 and Mako templates' +url='https://github.com/kakulukia/pypugjs' +depends=(python python-six python-charset-normalizer) +optdepends=(python-django python-jinja python-tornado python-mako python-markdown) +makedepends=(python-setuptools ${optdepends[@]}) +checkdepends=(python-nose) +license=(MIT) +arch=(any) +# PyPI sdist does not contain tests +source=("https://github.com/kakulukia/pypugjs/archive/v$pkgver/pypugjs-$pkgver.tar.gz") +sha256sums=('a13a78aa26e05613a3d6a7551a08895139a2053978000a3d8a8e3c44f24f3c64') + +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 +}