[arch-commits] Commit in (4 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 19 22:59:17 UTC 2020


    Date: Thursday, November 19, 2020 @ 22:59:17
  Author: foutrelis
Revision: 757835

Add python-sphobjinv for sphinx-autodoc-typehints

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

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

Added: python-sphobjinv/trunk/PKGBUILD
===================================================================
--- python-sphobjinv/trunk/PKGBUILD	                        (rev 0)
+++ python-sphobjinv/trunk/PKGBUILD	2020-11-19 22:59:17 UTC (rev 757835)
@@ -0,0 +1,28 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=python-sphobjinv
+_name=${pkgname#python-}
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="Manipulate and inspect Sphinx objects.inv files"
+arch=('any')
+url="https://github.com/bskinn/sphobjinv"
+license=('MIT')
+depends=('python' 'python-attrs' 'python-certifi' 'python-fuzzywuzzy'
+         'python-jsonschema')
+makedepends=('python-setuptools')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('fde7fc6391bb7b8dd274e0af0bd254ef0043c9552294c8dcf08a24464a7dd488')
+
+build() {
+  cd "$_name-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$_name-$pkgver"
+  python setup.py install --root="$pkgdir" -O1
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list