[arch-commits] Commit in python-markupsafe/repos (4 files)
Ionut Biru
ibiru at archlinux.org
Thu Dec 22 16:54:10 UTC 2011
Date: Thursday, December 22, 2011 @ 11:54:10
Author: ibiru
Revision: 145451
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
python-markupsafe/repos/staging-i686/
python-markupsafe/repos/staging-i686/PKGBUILD
(from rev 145450, python-markupsafe/trunk/PKGBUILD)
python-markupsafe/repos/staging-x86_64/
python-markupsafe/repos/staging-x86_64/PKGBUILD
(from rev 145450, 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 145450, python-markupsafe/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2011-12-22 16:54:10 UTC (rev 145451)
@@ -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=1
+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 145450, python-markupsafe/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2011-12-22 16:54:10 UTC (rev 145451)
@@ -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=1
+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