Date: Monday, January 23, 2023 @ 00:33:25
  Author: grawlinson
Revision: 1387812

addpkg: python-autodocsumm 0.2.10-1

Added:
  python-autodocsumm/
  python-autodocsumm/repos/
  python-autodocsumm/trunk/
  python-autodocsumm/trunk/PKGBUILD

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Added: python-autodocsumm/trunk/PKGBUILD
===================================================================
--- python-autodocsumm/trunk/PKGBUILD                           (rev 0)
+++ python-autodocsumm/trunk/PKGBUILD   2023-01-23 00:33:25 UTC (rev 1387812)
@@ -0,0 +1,42 @@
+# Maintainer: George Rawlinson <[email protected]>
+
+pkgname=python-autodocsumm
+pkgver=0.2.10
+pkgrel=1
+pkgdesc='Extending your autodoc API docs with a summary'
+arch=('any')
+url='https://github.com/Chilipp/autodocsumm'
+license=('Apache')
+depends=(
+  'python'
+  'python-sphinx'
+)
+makedepends=(
+  'git'
+  'python-build'
+  'python-installer'
+  'python-wheel'
+  'python-setuptools'
+  'python-versioneer'
+)
+_commit='8ce14128954192f2b23850e9d23a4ac83b82af1e'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd "$pkgname"
+
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd "$pkgname"
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}

Reply via email to