mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 18:20:07 +00:00
24 lines
790 B
Plaintext
24 lines
790 B
Plaintext
# description : Python implementation of markdown
|
|
# homepage : https://pypi.org/project/markdown
|
|
# depends : python3-pip
|
|
|
|
name=python3-markdown
|
|
_name=Markdown
|
|
version=3.4.4
|
|
release=1
|
|
#source="https://files.pythonhosted.org/packages/85/7e/133e943e97a943d2f1d8bae0c5060f8ac50e6691754eb9dbe036b047a9bb/Markdown-$version.tar.gz"
|
|
source="https://files.pythonhosted.org/packages/source/M/$_name/$_name-$version.tar.gz"
|
|
build() {
|
|
cd Markdown-$version
|
|
|
|
if [ -f pyproject.toml -o -d markdown.egg-info ]
|
|
then
|
|
if [ -d markdown ]
|
|
then
|
|
/usr/bin/pip3 install --isolate --root=$PKG --no-warn-script-location --ignore-installed --no-deps markdown
|
|
else
|
|
/usr/bin/pip3 install --isolate --root=$PKG --no-warn-script-location --ignore-installed --no-deps .
|
|
fi
|
|
fi
|
|
}
|