mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 19:08:57 +08:00
31 lines
869 B
Bash
31 lines
869 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer : Almack <almack[at]chakra-project[dot]org>
|
|
# Contributor: george <rpubaddr0 {at} gmail [dot] com>
|
|
|
|
|
|
pkgname=python2-mako
|
|
_pkgname=Mako
|
|
pkgver=0.9.1
|
|
pkgrel=1
|
|
pkgdesc='Hyperfast and lightweight templating for the Python2 platform.'
|
|
arch=('any')
|
|
url='http://www.makotemplates.org/'
|
|
license=('custom')
|
|
makedepends=('python2-setuptools')
|
|
depends=('python2' 'python-markupsafe' 'python-beaker')
|
|
source=("https://pypi.python.org/packages/source/M/Mako/${_pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('fe3f394ef714776d09ec6133923736a7')
|
|
|
|
build() {
|
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
|
python2 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
|
python2 setup.py install --root="${pkgdir}" --optimize=1
|
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/python2-mako/COPYING"
|
|
}
|