aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-markupsafe/APKBUILD
blob: a7616f20a6ff997538421b964779dbc64f71e06a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-markupsafe
_pkgname=MarkupSafe
pkgver=0.18
pkgrel=0
pkgdesc="Implements a XML/HTML/XHTML Markup safe string"
url="https://github.com/mitsuhiko/markupsafe"
arch="all"
license="BSD"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages="$pkgname-dev"
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="f8d252fd05371e51dec2fe9a36890687  MarkupSafe-0.18.tar.gz"
sha256sums="b7d5d688bdd345bfa897777d297756688cf02e1b3742c56885e2e5c2b996ff82  MarkupSafe-0.18.tar.gz"
sha512sums="0438ddf0fdab465c40d9afba8c14ad346be0868df654c11130d05e329992d456a9bc278551970cbd09244a29c77213885d0c363c951b0cfd4d9aa95b248ecff5  MarkupSafe-0.18.tar.gz"