Files
binary-repo/dev/python/py3-markdown/ympbuild
T
2025-06-19 20:14:50 +00:00

29 lines
775 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/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
}