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

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 9 03:18:15 UTC 2021


    Date: Thursday, December 9, 2021 @ 03:18:14
  Author: foutrelis
Revision: 1065787

archrelease: copy trunk to community-any

Added:
  python-sphinxext-opengraph/repos/community-any/
  python-sphinxext-opengraph/repos/community-any/PKGBUILD
    (from rev 1065786, python-sphinxext-opengraph/trunk/PKGBUILD)

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

Copied: python-sphinxext-opengraph/repos/community-any/PKGBUILD (from rev 1065786, python-sphinxext-opengraph/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-12-09 03:18:14 UTC (rev 1065787)
@@ -0,0 +1,34 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+_name=sphinxext-opengraph
+pkgname=python-$_name
+pkgver=0.5.0
+pkgrel=2
+pkgdesc="Sphinx extension to generate unique OpenGraph metadata"
+arch=('any')
+url="https://sphinxext-opengraph.readthedocs.io/"
+license=('BSD')
+depends=('python-sphinx')
+makedepends=('python-setuptools')
+source=(https://files.pythonhosted.org/packages/source/s/$_name/$_name-$pkgver.tar.gz
+        $pkgname-$pkgver-LICENSE.md::https://github.com/wpilibsuite/sphinxext-opengraph/raw/main/LICENSE.md)
+sha256sums=('6efb05fe077e00b7a487e03b24bf56268bae92d42ef3f9da89616b60bc4a702c'
+            '26f37e2b2fdcbb20e9373f1a0a4d9f79d7c9a2ba5ef85f106df437148709da8b')
+
+prepare() {
+  cd $_name-$pkgver
+  mv {../$pkgname-$pkgver-,}LICENSE.md
+}
+
+build() {
+  cd $_name-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $_name-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list