diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-06-14 17:02:47 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-06-15 11:41:48 +0000 |
commit | 0bbe5a089fc325c9ef44de3276439944eb2793a8 (patch) | |
tree | 8fc3e772cec21ad7872f331cae6e9481ef77171e /main/py-markupsafe | |
parent | 32d94390fdbf6d68e7f30f1c020f5c38844f4d72 (diff) | |
download | aports-0bbe5a089fc325c9ef44de3276439944eb2793a8.tar.bz2 aports-0bbe5a089fc325c9ef44de3276439944eb2793a8.tar.xz |
main/py-markupsafe: new aport
Implements a XML/HTML/XHTML Markup safe string
https://github.com/mitsuhiko/markupsafe
Diffstat (limited to 'main/py-markupsafe')
-rw-r--r-- | main/py-markupsafe/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/main/py-markupsafe/APKBUILD b/main/py-markupsafe/APKBUILD new file mode 100644 index 0000000000..b145cef42b --- /dev/null +++ b/main/py-markupsafe/APKBUILD @@ -0,0 +1,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" +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" |