From a7592c781746f0fa8029442d85aac97e9b6d4dff Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Tue, 30 Apr 2024 00:23:51 +0800 Subject: [PATCH] python-gi-docgen 2023.3-1 --- PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..6a4841b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# 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 +pkgname=python-gi-docgen +pkgver=2023.3 +pkgrel=1 +pkgdesc="Documentation generator for GObject-based libraries" +arch=('x86_64') +url="https://gnome.pages.gitlab.gnome.org/gi-docgen" +license=('Apache-2.0 OR GPL-3.0-or-later' 'BSD-2-Clause') +depends=('python-jinja2' 'python-magic' 'python-markdown' 'python-markupsafe' + 'python-packaging' 'python-pygments' 'python-typogrify') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') +options=() +source=(https://gitlab.gnome.org/GNOME/gi-docgen/-/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.bz2) +sha256sums=(1e37515e4d45dcb5e5daf648e76bb35eb7bacc16767724f9c8ba601ef088accc) + +build() { + cd ${pkgname#*-}-${pkgver} + + python3 -m build --wheel --no-isolation +} + +package() { + cd ${pkgname#*-}-${pkgver} + + python3 -m installer --destdir=${pkgdir} dist/*.whl +}