[arch-commits] Commit in python-mako/repos (testing-any testing-any/PKGBUILD)
Date: Thursday, December 26, 2019 @ 15:00:34 Author: felixonmars Revision: 372311 archrelease: copy trunk to testing-any Added: python-mako/repos/testing-any/ python-mako/repos/testing-any/PKGBUILD (from rev 372310, python-mako/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: python-mako/repos/testing-any/PKGBUILD (from rev 372310, python-mako/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2019-12-26 15:00:34 UTC (rev 372311) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan + +pkgbase=python-mako +pkgname=('python-mako' 'python2-mako') +pkgver=1.1.0 +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=('acb0f53a22ae152c359c38391f508eca706efcc52916a6e87f2702517dd48b5ffd26eef0f2f9172046f1abd0aea1f47328354ff622938886aa00f950a261e8d4' +'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} +}
[arch-commits] Commit in python-mako/repos (testing-any testing-any/PKGBUILD)
Date: Monday, June 9, 2014 @ 02:33:52 Author: fyan Revision: 214398 archrelease: copy trunk to testing-any Added: python-mako/repos/testing-any/ python-mako/repos/testing-any/PKGBUILD (from rev 214397, python-mako/trunk/PKGBUILD) --+ PKGBUILD | 54 ++ 1 file changed, 54 insertions(+) Copied: python-mako/repos/testing-any/PKGBUILD (from rev 214397, python-mako/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2014-06-09 00:33:52 UTC (rev 214398) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=('python-mako' 'python2-mako') +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Hyperfast and lightweight templating for the Python2 platform" +arch=('any') +url="http://www.makotemplates.org/"; +license=('MIT') +makedepends=('python-setuptools' 'python2-setuptools' 'python-markupsafe' 'python2-markupsafe' + 'python-beaker' 'python2-beaker') +checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock') +source=(https://pypi.python.org/packages/source/M/Mako/Mako-$pkgver.tar.gz{,.asc}) +sha1sums=('580b3a8043833e3c3340d4b661a33f6ccc6a35d5' + 'SKIP') + +prepare() { +cp -r Mako-$pkgver python2-Mako-$pkgver +} + +build() { +cd Mako-$pkgver +python3 setup.py build + +cd ../python2-Mako-$pkgver +python2 setup.py build +} + +check() { +cd Mako-$pkgver +python3 setup.py test + +cd ../python2-Mako-$pkgver +python2 setup.py test +} + +package_python-mako() { +depends=('python-markupsafe' 'python-beaker') + +cd Mako-$pkgver +python3 setup.py install --root="$pkgdir" --optimize=1 +install -D LICENSE "$pkgdir/usr/share/licenses/python-mako/COPYING" +} + +package_python2-mako() { +depends=('python2-markupsafe' 'python2-beaker') + +cd python2-Mako-$pkgver +python2 setup.py install --root="$pkgdir" --optimize=1 +install -D LICENSE "$pkgdir/usr/share/licenses/python2-mako/COPYING" + +mv "$pkgdir/usr/bin/mako-render" "$pkgdir/usr/bin/mako-render2" +}
[arch-commits] Commit in python-mako/repos (testing-any testing-any/PKGBUILD)
Date: Saturday, August 17, 2013 @ 11:56:49 Author: angvp Revision: 193147 archrelease: copy trunk to testing-any Added: python-mako/repos/testing-any/ python-mako/repos/testing-any/PKGBUILD (from rev 193146, python-mako/trunk/PKGBUILD) --+ PKGBUILD | 53 + 1 file changed, 53 insertions(+) Copied: python-mako/repos/testing-any/PKGBUILD (from rev 193146, python-mako/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2013-08-17 09:56:49 UTC (rev 193147) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer : + +pkgname=('python-mako' 'python2-mako') +pkgver=0.8.1 +pkgrel=2 +pkgdesc="Hyperfast and lightweight templating for the Python2 platform" +arch=('any') +url="http://www.makotemplates.org/"; +license=('MIT') +makedepends=('python-setuptools' 'python2-setuptools') +checkdepends=('python-nose' 'python2-nose') +source=("http://www.makotemplates.org/downloads/Mako-$pkgver.tar.gz";) +md5sums=('96d962464ce6316004af0cc48495d73e') + +prepare() { +cp -r Mako-$pkgver python2-Mako-$pkgver +mv Mako-$pkgver/scripts/mako-render Mako-$pkgver/scripts/python3-mako-render +2to3 -nw Mako-$pkgver/scripts/python3-mako-render +sed -i 's/mako-render/python3-mako-render/' Mako-$pkgver/setup.py +} + +build() { +cd Mako-$pkgver +python3 setup.py build + +cd ../python2-Mako-$pkgver +python2 setup.py build +} + +check() { +cd Mako-$pkgver +python3 setup.py test + +cd ../python2-Mako-$pkgver +python2 setup.py test +} + +package_python-mako() { +depends=('python-markupsafe' 'python-beaker') + +cd Mako-$pkgver +python3 setup.py install --root="$pkgdir" --optimize=1 +install -D LICENSE "$pkgdir/usr/share/licenses/python-mako/COPYING" +} + +package_python2-mako() { +depends=('python2-markupsafe' 'python2-beaker') + +cd python2-Mako-$pkgver +python2 setup.py install --root="$pkgdir" --optimize=1 +install -D LICENSE "$pkgdir/usr/share/licenses/python2-mako/COPYING" +}