Date: Monday, January 23, 2023 @ 00:34:11
  Author: grawlinson
Revision: 1387813

archrelease: copy trunk to community-any

Added:
  python-autodocsumm/repos/community-any/
  python-autodocsumm/repos/community-any/PKGBUILD
    (from rev 1387812, python-autodocsumm/trunk/PKGBUILD)

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

Copied: python-autodocsumm/repos/community-any/PKGBUILD (from rev 1387812, 
python-autodocsumm/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2023-01-23 00:34:11 UTC (rev 1387813)
@@ -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