diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-06-15 22:39:03 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-06-15 22:39:03 +0200 |
commit | bf8859ded7f7fc4ad5faa4240e6b804641a872d1 (patch) | |
tree | 8b7fc8e92b066e67d4553fc424a31efcb137d9a7 /main/py-markupsafe/APKBUILD | |
parent | 095daa82b97cc5dd0de237e470e155476a3bc256 (diff) | |
download | aports-bf8859ded7f7fc4ad5faa4240e6b804641a872d1.tar.bz2 aports-bf8859ded7f7fc4ad5faa4240e6b804641a872d1.tar.xz |
Revert "main/py-markupsafe: move to testing"
This reverts commit e6044ecb81a204f5f5b4fdd6051f9140da73da36.
Diffstat (limited to 'main/py-markupsafe/APKBUILD')
-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..a7616f20a6 --- /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 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" |