diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2019-04-01 20:14:22 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2019-04-01 21:05:08 -0400 |
commit | 7954b0741996a9997e753041fb2b065fe3ecbc6b (patch) | |
tree | e677b632583dcbe474bf80c88a2435473ca4ec6a /libre/python-markupsafe0 | |
parent | c46b33f57bc0d686b1a0d5822da0caa8ad378d05 (diff) | |
download | abslibre-7954b0741996a9997e753041fb2b065fe3ecbc6b.tar.gz abslibre-7954b0741996a9997e753041fb2b065fe3ecbc6b.tar.bz2 abslibre-7954b0741996a9997e753041fb2b065fe3ecbc6b.zip |
Import old versions of parabolaweb dependencies from Arch to [libre]
package version next revision
-----------------------------------------------------------------------------------------------------------------------------------------
community/python-markdown 2.6.11-1 → 3.0-1 git-svn-id: file:///srv/repos/svn-community/svn@349084 9fca08f4-af9d-4005-b8df-a31f2cc04f65
community/python-psycopg2 2.6.2-2 → 2.7-1 git-svn-id: file:///srv/repos/svn-community/svn@201380 9fca08f4-af9d-4005-b8df-a31f2cc04f65
community/python2-memcached 1.54-2 → 1.57-1 git-svn-id: file:///srv/repos/svn-community/svn@133225 9fca08f4-af9d-4005-b8df-a31f2cc04f65
packages/django 1.8.7 -1 → 1.9-1 git-svn-id: file:///srv/repos/svn-packages/svn@252064 eb2447ed-0c53-47e4-bac8-5bc4a241df78
packages/python-markupsafe 0.24-4 → 1.0-1 git-svn-id: file:///srv/repos/svn-packages/svn@284569 eb2447ed-0c53-47e4-bac8-5bc4a241df78
Diffstat (limited to 'libre/python-markupsafe0')
-rw-r--r-- | libre/python-markupsafe0/PKGBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/libre/python-markupsafe0/PKGBUILD b/libre/python-markupsafe0/PKGBUILD new file mode 100644 index 000000000..d90ca5272 --- /dev/null +++ b/libre/python-markupsafe0/PKGBUILD @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer : Felix Yan <felixonmars@archlinux.org> +# Contributor: Ionut Biru <ibiru@archlinux.org> +# Contributor: Alex Anthony <alex.anthony28991@gmail.com> + +pkgname=('python-markupsafe' 'python2-markupsafe') +pkgver=0.23 +pkgrel=4 +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" +} |