[arch-commits] Commit in python-jinja/repos (2 files)

Felix Yan fyan at archlinux.org
Sat Sep 19 09:34:50 UTC 2015


    Date: Saturday, September 19, 2015 @ 11:34:49
  Author: fyan
Revision: 140715

archrelease: copy trunk to community-staging-any

Added:
  python-jinja/repos/community-staging-any/
  python-jinja/repos/community-staging-any/PKGBUILD
    (from rev 140714, python-jinja/trunk/PKGBUILD)

----------+
 PKGBUILD |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

Copied: python-jinja/repos/community-staging-any/PKGBUILD (from rev 140714, python-jinja/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-19 09:34:49 UTC (rev 140715)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Peter Baldwin <bald_pete at hotmail.com>
+
+pkgname=('python-jinja' 'python2-jinja')
+pkgver=2.8
+pkgrel=2
+pkgdesc="A simple pythonic template language written in Python"
+arch=('any')
+url="http://jinja.pocoo.org/"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-markupsafe'
+             'python2-markupsafe')
+source=(http://pypi.python.org/packages/source/J/Jinja2/Jinja2-$pkgver.tar.gz)
+sha256sums=('bc1ff2ff88dbfacefde4ddde471d1417d3b304e8df103a7a9437d47269201bf4')
+
+build() {
+  cd "$srcdir"
+
+  rm -rf python{2,3}-build
+  for builddir in python{2,3}-build; do
+    cp -r Jinja2-$pkgver $builddir
+    pushd $builddir
+    ${builddir%-build} setup.py build
+    popd
+  done
+}
+
+package_python-jinja() {
+  depends=('python-setuptools' 'python-markupsafe')
+
+  cd "$srcdir/python3-build"
+
+  python3 setup.py install --root="$pkgdir" -O1
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-jinja() {
+  depends=('python2-setuptools' 'python2-markupsafe')
+
+  cd "$srcdir/python2-build"
+
+  python2 setup.py install --root="$pkgdir" -O1
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list