29 lines
775 B
Bash
29 lines
775 B
Bash
#!/usr/bin/env bash
|
||
name='py3-markdown'
|
||
release='4'
|
||
version='3.8.2'
|
||
url='https://github.com/Python-Markdown/markdown'
|
||
description='A Python implementation of John Gruber’s Markdown with Extension support.'
|
||
email='parduscix@yandex.ru'
|
||
maintainer='sulincix'
|
||
license=('GPLv3')
|
||
source=("https://github.com/Python-Markdown/markdown/archive/refs/tags/$version.tar.gz")
|
||
depends=(python)
|
||
makedepends=(py3-build py3-installer py3-setuptools py3-wheel)
|
||
sha256sums=('c9573a1ebcbb678c2b1c8b7706380f6dbecc00a97b8324c2ab6037d1ae6b825b')
|
||
group=(dev.python)
|
||
uses=()
|
||
arch=('x86_64')
|
||
|
||
cd markdown-$version
|
||
|
||
build(){
|
||
python3 -m build --wheel
|
||
}
|
||
|
||
package(){
|
||
python3 -m installer --destdir="$DESTDIR" dist/*.whl
|
||
mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3
|
||
}
|
||
|