summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-04-29 23:09:13 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-04-29 23:09:13 (GMT)
commitae65f9323dd037b478a7116a53067f2e5c68a86a (patch)
tree0347796b5b493b38c9783045d99560daac36b3f0 /abs
parentdba8f2d49aa00834ff08e1941aeceafb1eb934bb (diff)
downloadlinhes_pkgbuild-ae65f9323dd037b478a7116a53067f2e5c68a86a.zip
linhes_pkgbuild-ae65f9323dd037b478a7116a53067f2e5c68a86a.tar.gz
linhes_pkgbuild-ae65f9323dd037b478a7116a53067f2e5c68a86a.tar.bz2
python-markupsafe: initial inclusion
Diffstat (limited to 'abs')
-rw-r--r--abs/core/python_modules/python-markupsafe/PKGBUILD50
-rw-r--r--abs/core/python_modules/python-markupsafe/__changelog1
2 files changed, 51 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-markupsafe/PKGBUILD b/abs/core/python_modules/python-markupsafe/PKGBUILD
new file mode 100644
index 0000000..17725d0
--- /dev/null
+++ b/abs/core/python_modules/python-markupsafe/PKGBUILD
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer : Felix Yan <felixonmars@gmail.com>
+# Contributor: Ionut Biru <ibiru@archlinux.org>
+# Contributor: Alex Anthony <alex.anthony28991@gmail.com>
+
+pkgname=('python2-markupsafe')
+pkgver=0.21
+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=('python2-setuptools')
+source=("http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz")
+sha512sums=('ecedf56be7ad1723c4d7bf799e1aefb8ceb0a28840a1b8ffdc2dee0f734149430cf5dfd5d335591e9934cf223255475e9c04da5ab34ed69e7845298f599d81bc')
+
+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"
+}
diff --git a/abs/core/python_modules/python-markupsafe/__changelog b/abs/core/python_modules/python-markupsafe/__changelog
new file mode 100644
index 0000000..488d3cf
--- /dev/null
+++ b/abs/core/python_modules/python-markupsafe/__changelog
@@ -0,0 +1 @@
+PKGBUILD: rm py 3 stuff