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

Felix Yan fyan at archlinux.org
Sat Sep 19 12:43:55 UTC 2015


    Date: Saturday, September 19, 2015 @ 14:43:55
  Author: fyan
Revision: 246610

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

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

-------------------------+
 staging-i686/PKGBUILD   |   53 ++++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   53 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

Copied: python-markupsafe/repos/staging-i686/PKGBUILD (from rev 246609, python-markupsafe/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-19 12:43:55 UTC (rev 246610)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer : Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Alex Anthony <alex.anthony28991 at gmail.com>
+
+pkgname=('python-markupsafe' 'python2-markupsafe')
+pkgver=0.23
+pkgrel=3
+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")
+sha512sums=('4f1fd91ced5e7119584b56cf7b69cfe6fdd9613bd77412368a38e9ef5d1011ba5c76d1d3a0da3d60f9f474627e6c8c8b613a80a668b32d212f09072f8b1f5b28')
+
+prepare() {
+  cp -a MarkupSafe-${pkgver} python2-MarkupSafe-${pkgver}
+}
+
+build() {
+  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/staging-x86_64/PKGBUILD (from rev 246609, python-markupsafe/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-19 12:43:55 UTC (rev 246610)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer : Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Alex Anthony <alex.anthony28991 at gmail.com>
+
+pkgname=('python-markupsafe' 'python2-markupsafe')
+pkgver=0.23
+pkgrel=3
+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")
+sha512sums=('4f1fd91ced5e7119584b56cf7b69cfe6fdd9613bd77412368a38e9ef5d1011ba5c76d1d3a0da3d60f9f474627e6c8c8b613a80a668b32d212f09072f8b1f5b28')
+
+prepare() {
+  cp -a MarkupSafe-${pkgver} python2-MarkupSafe-${pkgver}
+}
+
+build() {
+  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