diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-25 13:19:30 -0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-05-27 15:15:04 +0000 |
commit | ba4c86a6d52ce9b4c7d4a01bb4ebdaa3b17cbb53 (patch) | |
tree | b017fa5adf0d24efc02b42f8486889526a845681 /community/py-markdown | |
parent | 634532ebf59b297a8a03e0afbfbde11489fec9e6 (diff) | |
download | aports-ba4c86a6d52ce9b4c7d4a01bb4ebdaa3b17cbb53.tar.bz2 aports-ba4c86a6d52ce9b4c7d4a01bb4ebdaa3b17cbb53.tar.xz |
community/py-markdown: upgrade to 3.1.1
Diffstat (limited to 'community/py-markdown')
-rw-r--r-- | community/py-markdown/APKBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/community/py-markdown/APKBUILD b/community/py-markdown/APKBUILD index 45b0d87e0c..96c4a832e0 100644 --- a/community/py-markdown/APKBUILD +++ b/community/py-markdown/APKBUILD @@ -2,25 +2,28 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-markdown _pkgname=Markdown -pkgver=3.1 +pkgver=3.1.1 pkgrel=0 pkgdesc="A Python implementation of Markdown" url="https://python-markdown.github.io/" arch="noarch" license="BSD-3-Clause" -makedepends="python2-dev py-setuptools python3-dev" +makedepends="py-setuptools py3-setuptools" +checkdepends="py3-coverage py3-yaml" subpackages="py3-${pkgname#py-}:_py3 py2-${pkgname#py-}:_py2" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$builddir" python2 setup.py build python3 setup.py build } +check() { + python3 setup.py test +} + package() { - cd "$builddir" python2 setup.py install --root=$pkgdir/ --optimize=1 python3 setup.py install --root=$pkgdir/ --optimize=1 } @@ -46,4 +49,4 @@ _py3() { _py python3 } -sha512sums="360cad47524e8d7674ab36ebf5694134ef2b3c3e064c1d65ecad02bc2f17daf403e97c8124e83f370fbc8b1d223c4c647fc34e75f7a4ec7f91173c84e41e09eb Markdown-3.1.tar.gz" +sha512sums="78f089f2eef5c73d683ac96fd20c87145e243d12b0f230b9b0228b995035fbb084dde40be788679c63637f05956487ad520cc9dd61d133926bf13521aa600090 Markdown-3.1.1.tar.gz" |