Date: Saturday, June 1, 2019 @ 00:44:52 Author: felixonmars Revision: 354575
archrelease: copy trunk to extra-any Added: python-mako/repos/extra-any/PKGBUILD (from rev 354574, python-mako/trunk/PKGBUILD) Deleted: python-mako/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 114 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-06-01 00:44:41 UTC (rev 354574) +++ PKGBUILD 2019-06-01 00:44:52 UTC (rev 354575) @@ -1,57 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-mako -pkgname=('python-mako' 'python2-mako') -pkgver=1.0.10 -pkgrel=1 -pkgdesc="A super-fast templating language that borrows the best ideas from the existing templating languages" -arch=('any') -url="http://www.makotemplates.org/" -license=('MIT') -makedepends=('python-setuptools' 'python2-setuptools' 'python-markupsafe' 'python2-markupsafe' - 'python-beaker' 'python2-beaker') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock' - 'python-babel' 'python2-babel' 'python-pygments' 'python2-pygments' - 'python-dogpile.cache' 'python2-dogpile.cache') -source=("https://pypi.io/packages/source/M/Mako/Mako-$pkgver.tar.gz"{,.asc}) -sha512sums=('24f4bcac24598cefe0e30c780730579dd608707d1c938d8e4de5c52bcae283f9bef4c5752b3548df879d9cb6a7a9bac5a5090c55cbdc595769b492205d089b51' - 'SKIP') -validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') # Michael Bayer - -prepare() { - cp -a Mako-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/Mako-$pkgver - python setup.py build - - cd "$srcdir"/Mako-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/Mako-$pkgver - python setup.py ptr - - cd "$srcdir"/Mako-$pkgver-py2 - python2 setup.py ptr -} - -package_python-mako() { - depends=('python-markupsafe' 'python-beaker' 'python-setuptools') - - cd Mako-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-mako() { - depends=('python2-markupsafe' 'python2-beaker' 'python2-setuptools') - - cd Mako-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - - mv "$pkgdir"/usr/bin/mako-render{,2} -} Copied: python-mako/repos/extra-any/PKGBUILD (from rev 354574, python-mako/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-06-01 00:44:52 UTC (rev 354575) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-mako +pkgname=('python-mako' 'python2-mako') +pkgver=1.0.11 +pkgrel=1 +pkgdesc="A super-fast templating language that borrows the best ideas from the existing templating languages" +arch=('any') +url="https://www.makotemplates.org/" +license=('MIT') +makedepends=('python-setuptools' 'python2-setuptools' 'python-markupsafe' 'python2-markupsafe' + 'python-beaker' 'python2-beaker') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock' + 'python-babel' 'python2-babel' 'python-pygments' 'python2-pygments' + 'python-dogpile.cache' 'python2-dogpile.cache') +source=("https://pypi.io/packages/source/M/Mako/Mako-$pkgver.tar.gz"{,.asc}) +sha512sums=('dfe79254c1adb3b4d57c9848a6b64228762de65b6d395b21dfb207ddd9a8acd4b80b8242a9946f69c54d7d12b83a09188e66828285d64d09fdcd8d6acf1bacf3' + 'SKIP') +validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') # Michael Bayer + +prepare() { + cp -a Mako-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/Mako-$pkgver + python setup.py build + + cd "$srcdir"/Mako-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/Mako-$pkgver + python setup.py ptr + + cd "$srcdir"/Mako-$pkgver-py2 + python2 setup.py ptr +} + +package_python-mako() { + depends=('python-markupsafe' 'python-beaker' 'python-setuptools') + + cd Mako-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-mako() { + depends=('python2-markupsafe' 'python2-beaker' 'python2-setuptools') + + cd Mako-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + + mv "$pkgdir"/usr/bin/mako-render{,2} +}