blob: 3624f91f1b6e588419971326f7fd3cb8dd8139df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Evan Chen <evan@evanchen.cc>
pkgname=python-mdx_truly_sane_lists
_name=${pkgname#python-}
pkgver=1.3
pkgrel=2
pkgdesc='Extension for Python-Markdown that makes lists truly sane. Custom
indents for nested lists and fix for messy linebreaks.'
arch=(any)
url=https://github.com/radude/mdx_truly_sane_lists
license=(MIT)
depends=(python python-markdown)
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz"
LICENSE)
sha256sums=('b661022df7520a1e113af7c355c62216b384c867e4f59fb8ee7ad511e6e77f45'
'9ea8a12deea1b232d639881e35b0540f8678315ebcc27053a9d8359bd78ad040')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|