python-sphinx 7.3.7-1
This commit is contained in:
commit
7a5279e733
39
PKGBUILD
Normal file
39
PKGBUILD
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||||
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||||
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||||
|
# then please put 'unknown'.
|
||||||
|
|
||||||
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
|
pkgname=python-sphinx
|
||||||
|
pkgver=7.3.7
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Python documentation generator"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="http://www.sphinx-doc.org/"
|
||||||
|
license=('BSD')
|
||||||
|
depends=('python-alabaster'
|
||||||
|
'python-babel'
|
||||||
|
'python-docutils'
|
||||||
|
'python-imagesize'
|
||||||
|
'python-jinja2'
|
||||||
|
'python-packaging'
|
||||||
|
'python-pygments'
|
||||||
|
'python-requests'
|
||||||
|
'python-snowballstemmer'
|
||||||
|
'python-sphinxcontrib-'{{apple,dev,html}help,jsmath,qthelp,serializinghtml})
|
||||||
|
makedepends=('python-build' 'python-flit-core' 'python-installer')
|
||||||
|
source=(https://github.com/sphinx-doc/sphinx/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz)
|
||||||
|
sha256sums=(43c4cdb796b41dc1645117efbc74655d41ccea49fe34170a2b5bb88eee6f83a5)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
|
python3 -m build --wheel --skip-dependency-check --no-isolation
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
|
python3 -m installer --destdir=${pkgdir} dist/*.whl
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user