Add some Python packages for glib
python-docutils for man pages, the rest for API docs, though that also needs introspection, and we don't have any of that yet.
This commit is contained in:
30
python-docutils/PKGBUILD
Normal file
30
python-docutils/PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
|
||||
|
||||
pkgname=python-docutils
|
||||
_name=${pkgname#python-}
|
||||
pkgver=0.21.2
|
||||
pkgrel=1
|
||||
pkgdesc='Set of tools for processing plaintext docs into formats such as HTML, XML, or LaTeX'
|
||||
arch=('any')
|
||||
url='http://docutils.sourceforge.net'
|
||||
license=('custom')
|
||||
depends=('python')
|
||||
makedepends=(
|
||||
'python-build'
|
||||
'python-flit-core'
|
||||
'python-installer'
|
||||
)
|
||||
source=("https://downloads.sourceforge.net/$_name/$_name-$pkgver.tar.gz")
|
||||
sha256sums=('3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f')
|
||||
|
||||
build() {
|
||||
cd "$_name"-$pkgver
|
||||
|
||||
python -m build --wheel --skip-dependency-check --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_name"-$pkgver
|
||||
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
Reference in New Issue
Block a user