[arch-commits] Commit in python-sphobjinv/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 19 23:08:23 UTC 2020


    Date: Thursday, November 19, 2020 @ 23:08:23
  Author: felixonmars
Revision: 757842

archrelease: copy trunk to community-staging-any

Added:
  python-sphobjinv/repos/community-staging-any/
  python-sphobjinv/repos/community-staging-any/PKGBUILD
    (from rev 757841, python-sphobjinv/trunk/PKGBUILD)

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

Copied: python-sphobjinv/repos/community-staging-any/PKGBUILD (from rev 757841, python-sphobjinv/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-19 23:08:23 UTC (rev 757842)
@@ -0,0 +1,28 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=python-sphobjinv
+_name=${pkgname#python-}
+pkgver=2.0.1
+pkgrel=2
+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