[arch-commits] Commit in python-markupsafe/repos (4 files)
Eric Bélanger
eric at archlinux.org
Sat Oct 13 20:45:17 UTC 2012
Date: Saturday, October 13, 2012 @ 16:45:16
Author: eric
Revision: 168655
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
python-markupsafe/repos/staging-i686/
python-markupsafe/repos/staging-i686/PKGBUILD
(from rev 168654, python-markupsafe/trunk/PKGBUILD)
python-markupsafe/repos/staging-x86_64/
python-markupsafe/repos/staging-x86_64/PKGBUILD
(from rev 168654, python-markupsafe/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: python-markupsafe/repos/staging-i686/PKGBUILD (from rev 168654, python-markupsafe/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-10-13 20:45:16 UTC (rev 168655)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Alex Anthony <alex.anthony28991 at gmail.com>
+
+pkgname=('python-markupsafe' 'python2-markupsafe')
+pkgver=0.15
+pkgrel=2
+pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
+arch=('i686' 'x86_64')
+url="http://pypi.python.org/pypi/MarkupSafe"
+license=('custom')
+makedepends=('python-distribute' 'python2-distribute')
+source=("http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz")
+md5sums=('4e7c4d965fe5e033fa2d7bb7746bb186')
+
+build() {
+ cp -r MarkupSafe-${pkgver} python2-MarkupSafe-${pkgver}
+ cd "${srcdir}/MarkupSafe-${pkgver}"
+ python setup.py build
+
+ cd "${srcdir}/python2-MarkupSafe-${pkgver}"
+ python2 setup.py build
+}
+
+package_python-markupsafe() {
+ depends=('python')
+
+ cd "${srcdir}/MarkupSafe-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
+
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-markupsafe/LICENSE"
+}
+
+package_python2-markupsafe() {
+ depends=('python2')
+
+ cd "${srcdir}/python2-MarkupSafe-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python2-markupsafe/LICENSE"
+}
Copied: python-markupsafe/repos/staging-x86_64/PKGBUILD (from rev 168654, python-markupsafe/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-10-13 20:45:16 UTC (rev 168655)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Alex Anthony <alex.anthony28991 at gmail.com>
+
+pkgname=('python-markupsafe' 'python2-markupsafe')
+pkgver=0.15
+pkgrel=2
+pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
+arch=('i686' 'x86_64')
+url="http://pypi.python.org/pypi/MarkupSafe"
+license=('custom')
+makedepends=('python-distribute' 'python2-distribute')
+source=("http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz")
+md5sums=('4e7c4d965fe5e033fa2d7bb7746bb186')
+
+build() {
+ cp -r MarkupSafe-${pkgver} python2-MarkupSafe-${pkgver}
+ cd "${srcdir}/MarkupSafe-${pkgver}"
+ python setup.py build
+
+ cd "${srcdir}/python2-MarkupSafe-${pkgver}"
+ python2 setup.py build
+}
+
+package_python-markupsafe() {
+ depends=('python')
+
+ cd "${srcdir}/MarkupSafe-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
+
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-markupsafe/LICENSE"
+}
+
+package_python2-markupsafe() {
+ depends=('python2')
+
+ cd "${srcdir}/python2-MarkupSafe-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python2-markupsafe/LICENSE"
+}
More information about the arch-commits
mailing list