[arch-commits] Commit in python-markupsafe/repos (4 files)

Ángel Velásquez angvp at nymeria.archlinux.org
Sat Aug 17 10:18:44 UTC 2013


    Date: Saturday, August 17, 2013 @ 12:18:44
  Author: angvp
Revision: 193150

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  python-markupsafe/repos/testing-i686/
  python-markupsafe/repos/testing-i686/PKGBUILD
    (from rev 193149, python-markupsafe/trunk/PKGBUILD)
  python-markupsafe/repos/testing-x86_64/
  python-markupsafe/repos/testing-x86_64/PKGBUILD
    (from rev 193149, python-markupsafe/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   49 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   49 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)

Copied: python-markupsafe/repos/testing-i686/PKGBUILD (from rev 193149, python-markupsafe/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-08-17 10:18:44 UTC (rev 193150)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Alex Anthony <alex.anthony28991 at gmail.com>
+
+pkgname=('python-markupsafe' 'python2-markupsafe')
+pkgver=0.18
+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-setuptools' 'python2-setuptools')
+source=("http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz")
+md5sums=('f8d252fd05371e51dec2fe9a36890687')
+
+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
+}
+
+check() {
+  cd "${srcdir}/MarkupSafe-${pkgver}"
+  python setup.py test
+
+  cd "${srcdir}/python2-MarkupSafe-${pkgver}"
+  python2 setup.py test
+}
+
+package_python-markupsafe() {
+  depends=('python')
+
+  cd 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 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/testing-x86_64/PKGBUILD (from rev 193149, python-markupsafe/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-08-17 10:18:44 UTC (rev 193150)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Alex Anthony <alex.anthony28991 at gmail.com>
+
+pkgname=('python-markupsafe' 'python2-markupsafe')
+pkgver=0.18
+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-setuptools' 'python2-setuptools')
+source=("http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz")
+md5sums=('f8d252fd05371e51dec2fe9a36890687')
+
+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
+}
+
+check() {
+  cd "${srcdir}/MarkupSafe-${pkgver}"
+  python setup.py test
+
+  cd "${srcdir}/python2-MarkupSafe-${pkgver}"
+  python2 setup.py test
+}
+
+package_python-markupsafe() {
+  depends=('python')
+
+  cd 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 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