summaryrefslogtreecommitdiff
path: root/social/python2-cheetah
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-03-11 21:30:41 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-03-11 21:30:41 -0300
commit7363c011f2b64e3b6931fac1244cdcee493ac928 (patch)
tree0af568e27821db9e61da2d869535ef3a84309c02 /social/python2-cheetah
parentf6879a07894b7a83a3b4c2cfbf0f08198438ac1c (diff)
downloadabslibre-7363c011f2b64e3b6931fac1244cdcee493ac928.tar.gz
abslibre-7363c011f2b64e3b6931fac1244cdcee493ac928.tar.bz2
abslibre-7363c011f2b64e3b6931fac1244cdcee493ac928.zip
social/python2-cheetah-2.4.4-4
plinth dependency
Diffstat (limited to 'social/python2-cheetah')
-rw-r--r--social/python2-cheetah/Changelog6
-rw-r--r--social/python2-cheetah/PKGBUILD33
2 files changed, 39 insertions, 0 deletions
diff --git a/social/python2-cheetah/Changelog b/social/python2-cheetah/Changelog
new file mode 100644
index 000000000..9acc7834a
--- /dev/null
+++ b/social/python2-cheetah/Changelog
@@ -0,0 +1,6 @@
+2012-01-31 Julien Nicoulaud <julien.nicoulaud@gmail.com>
+
+ * 2.4.4-4 :
+ Add changelog.
+ Remove unneeded shebang modification.
+
diff --git a/social/python2-cheetah/PKGBUILD b/social/python2-cheetah/PKGBUILD
new file mode 100644
index 000000000..34ce863a8
--- /dev/null
+++ b/social/python2-cheetah/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com>
+# Contributor: James Rayner <james@archlinux.org>
+# Contributor: Todd Maynard <arch@toddmaynard.com>
+# Source: https://github.com/nicoulaj/archlinux-packages
+pkgname=python2-cheetah
+pkgver=2.4.4
+pkgrel=4
+pkgdesc="A Python-powered template engine and code generator"
+arch=(i686 x86_64)
+url="http://www.cheetahtemplate.org"
+license=(custom)
+depends=(python2 python-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"
+}