| Name |
python-markdown |
| Description |
Python implementation of John Gruber's Markdown |
| Version |
3.10.2-1 |
| Package Base |
python-markdown |
| Homepage |
https://python-markdown.github.io/ |
| Maintainers |
['Caleb Maclennan <caleb@alerque.com>', 'George Rawlinson <grawlinson@archlinux.org>', 'Jakub Klinkovský <lahwaacz@archlinux.org>'] |
| Contributors |
['Andrew Antle <andrew.antle@gmail.com>', 'Angel Velasquez <angvp@archlinux.org>', 'Chaiwat Suttipongsakul <cwt@bashell.com>', 'Kyle Keen <keenerd@gmail.com>', 'Thomas Dziedzic < gostrc@gmail >'] |
| Distro-repo |
https://gitlab.archlinux.org/archlinux/packaging/packages/python-markdown |
| Sources |
['python-markdown::git+https://github.com/Python-Markdown/markdown#tag=3.10.2'] |
| Dependencies |
['python'] |
| Optional-Dependencies |
['python-pygments', 'python-yaml'] |
| Build-Dependencies |
['git', 'python-build', 'python-installer', 'python-setuptools', 'python-wheel'] |
| Provides |
[] |
| Builddate |
09-02-2026 22:33:41 |
| Architecture |
any |
| Distro-Version |
|
| Licenses |
['BSD-3-Clause'] |
| Hash |
c886edc585eb7c1470f1f22146f13898c9e93a22d765544ac7b2f610eb95d70f |
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
# Contributor: Kyle Keen <keenerd@gmail.com>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Andrew Antle <andrew dot antle at gmail dot com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Chaiwat Suttipongsakul <cwt at bashell dot com>
pkgname=python-markdown
pkgver=3.10.2
pkgrel=1
pkgdesc="Python implementation of John Gruber's Markdown"
arch=(any)
url='https://python-markdown.github.io/'
license=(BSD-3-Clause)
depends=(python)
makedepends=(
git
python-build
python-installer
python-setuptools
python-wheel
)
optdepends=(
'python-yaml: parse Python in YAML metadata'
'python-pygments: Code highlighting'
)
checkdepends=(python-yaml python-pygments)
source=("$pkgname::git+https://github.com/Python-Markdown/markdown#tag=$pkgver")
sha512sums=('63b6d165015c94bd837cd8cbf6f7df3bf2b142eb569efcc7a6d12783417fc650f1b25b751d56e0601220fc7d3c78ee245fd26712e2367db642100e2a57a53e26')
b2sums=('ae3c36d39eae9885782375265e581b19de2335e0c42f51ec60db17d3b6a9df837e7e38289ca9197efc7c8160959837b8c4d2654ce5002820cea340acf9af481f')
build() {
cd "$pkgname"
python -m build --wheel --no-isolation
}
check() {
cd "$pkgname"
python -m unittest discover tests
}
package() {
cd "$pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
# license
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
}