summaryrefslogtreecommitdiff
path: root/libre/python-markupsafe0
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2019-04-01 20:48:50 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2019-04-01 22:46:48 -0400
commit4f2fb71e3e62a00a41d5b5f57ab50f6d5301d32b (patch)
tree0176873b2f00ff5a3b74691443b301a86b1e33a3 /libre/python-markupsafe0
parent7954b0741996a9997e753041fb2b065fe3ecbc6b (diff)
downloadabslibre-4f2fb71e3e62a00a41d5b5f57ab50f6d5301d32b.tar.gz
abslibre-4f2fb71e3e62a00a41d5b5f57ab50f6d5301d32b.tar.bz2
abslibre-4f2fb71e3e62a00a41d5b5f57ab50f6d5301d32b.zip
Update parabolaweb dependencies
Diffstat (limited to 'libre/python-markupsafe0')
-rw-r--r--libre/python-markupsafe0/PKGBUILD26
1 files changed, 18 insertions, 8 deletions
diff --git a/libre/python-markupsafe0/PKGBUILD b/libre/python-markupsafe0/PKGBUILD
index d90ca5272..e9d217d00 100644
--- a/libre/python-markupsafe0/PKGBUILD
+++ b/libre/python-markupsafe0/PKGBUILD
@@ -1,17 +1,23 @@
# $Id$
-# Maintainer : Felix Yan <felixonmars@archlinux.org>
-# Contributor: Ionut Biru <ibiru@archlinux.org>
-# Contributor: Alex Anthony <alex.anthony28991@gmail.com>
+# Maintainer: Luke Shumaker <lukeshu@lukeshu.com>
+# Maintainer (Arch:python-markupsafe): Felix Yan <felixonmars@archlinux.org>
+# Contributor (Arch:python-markupsafe): Ionut Biru <ibiru@archlinux.org>
+# Contributor (Arch:python-markupsafe): Alex Anthony <alex.anthony28991@gmail.com>
+
+# Rational for inclusion in [libre]:
+# - Used by libre/parabolaweb-utils
pkgname=('python-markupsafe' 'python2-markupsafe')
+pkgname=("${pkgname[@]/%/0}")
pkgver=0.23
pkgrel=4
+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-setuptools' 'python2-setuptools')
-source=("http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz")
sha512sums=('4f1fd91ced5e7119584b56cf7b69cfe6fdd9613bd77412368a38e9ef5d1011ba5c76d1d3a0da3d60f9f474627e6c8c8b613a80a668b32d212f09072f8b1f5b28')
prepare() {
@@ -34,20 +40,24 @@ check() {
python2 setup.py test
}
-package_python-markupsafe() {
+package_python-markupsafe0() {
depends=('python')
+ provides=("python-markupsafe=$pkgver")
+ conflicts=('python-markupsafe')
cd MarkupSafe-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-markupsafe/LICENSE"
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}
-package_python2-markupsafe() {
+package_python2-markupsafe0() {
depends=('python2')
+ provides=("python2-markupsafe=$pkgver")
+ conflicts=('python2-markupsafe')
cd python2-MarkupSafe-${pkgver}
python2 setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python2-markupsafe/LICENSE"
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}