blob: 968d99c755701ea725f9184f5ef2447346e4c814 (
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
|
# shellcheck shell=bash disable=SC2034,SC2154
# Maintainer: Wu Zhenyu <wuzhenyu@ustc.edu>
# Updated by https://github.com/sphinxcontrib/eval/blob/main/.github/workflows/main.yml
_pkgname=sphinxcontrib-eval
pkgname=python-$_pkgname
pkgver=0.0.3
pkgrel=2
pkgdesc="Evaluate shell command or python code in sphinx and myst"
arch=(any)
url=https://github.com/sphinxcontrib/eval
makedepends=(python-installer)
depends=(python-sphinx)
optdepends=('python-myst-parser: myst support')
conflicts=("$_pkgname")
license=(GPLv3)
_py=py3
source=(
"https://files.pythonhosted.org/packages/$_py/${_pkgname:0:1}/$_pkgname/${_pkgname//-/_}-$pkgver-$_py-none-any.whl"
)
sha256sums=('c9fb71dc1901039378b0ee5a12ac74c2140a458cd2ac7a5b18ad8a344caf5505')
package() {
cd "$srcdir" || return 1
python -m installer --destdir="$pkgdir" ./*.whl
}
|