From a949895a0243a490d30fe355655c839fe217c580 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 31 Jan 2013 00:07:23 -0800 Subject: Thu Jan 31 00:07:23 PST 2013 --- community/python2-cheetah/Changelog | 12 ++++++++++++ community/python2-cheetah/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 community/python2-cheetah/Changelog create mode 100644 community/python2-cheetah/PKGBUILD (limited to 'community/python2-cheetah') diff --git a/community/python2-cheetah/Changelog b/community/python2-cheetah/Changelog new file mode 100644 index 000000000..e95e8c91f --- /dev/null +++ b/community/python2-cheetah/Changelog @@ -0,0 +1,12 @@ +2012-03-25 Julien Nicoulaud + + * 2.4.4-5 : + Change dependency on 'python-markdown' to 'python2-markdown' since + FS#28265 is solved. + +2012-01-31 Julien Nicoulaud + + * 2.4.4-4 : + Add changelog. + Remove unneeded shebang modification. + diff --git a/community/python2-cheetah/PKGBUILD b/community/python2-cheetah/PKGBUILD new file mode 100644 index 000000000..1a9fb9000 --- /dev/null +++ b/community/python2-cheetah/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Julien Nicoulaud +# Contributor: James Rayner +# Contributor: Todd Maynard +# Source: https://github.com/nicoulaj/archlinux-packages +pkgname=python2-cheetah +pkgver=2.4.4 +pkgrel=5 +pkgdesc="A Python-powered template engine and code generator" +arch=(i686 x86_64) +url="http://www.cheetahtemplate.org" +license=(custom) +depends=(python2 python2-markdown) +makedepends=(python2-distribute) +optdepends=('python2-pygments: for the CodeHighlighter filter') +provides=(cheetah python-cheetah) +conflicts=(cheetah python-cheetah) +changelog=Changelog +source=(http://pypi.python.org/packages/source/C/Cheetah/Cheetah-${pkgver}.tar.gz) +md5sums=('853917116e731afbc8c8a43c37e6ddba') + +build() { + cd "${srcdir}/Cheetah-${pkgver}" + python2 setup.py build +} + +package() { + msg "Install..." + cd "${srcdir}/Cheetah-${pkgver}" + python2 setup.py install --root="${pkgdir}" || return 1 + + msg2 "Install copyright resources in /usr/share/licenses/${pkgname}..." + install -Dm644 "${srcdir}/Cheetah-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} -- cgit v1.2.3-54-g00ecf