[arch-commits] Commit in (12 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Dec 9 03:17:38 UTC 2021
Date: Thursday, December 9, 2021 @ 03:17:38
Author: foutrelis
Revision: 1065786
Add sphinx extensions for python-websockets
Added:
python-sphinx-copybutton/
python-sphinx-copybutton/repos/
python-sphinx-copybutton/trunk/
python-sphinx-copybutton/trunk/PKGBUILD
python-sphinxcontrib-spelling/
python-sphinxcontrib-spelling/repos/
python-sphinxcontrib-spelling/trunk/
python-sphinxcontrib-spelling/trunk/PKGBUILD
python-sphinxext-opengraph/
python-sphinxext-opengraph/repos/
python-sphinxext-opengraph/trunk/
python-sphinxext-opengraph/trunk/PKGBUILD
----------------------------------------------+
python-sphinx-copybutton/trunk/PKGBUILD | 29 +++++++++++++++++++++
python-sphinxcontrib-spelling/trunk/PKGBUILD | 27 +++++++++++++++++++
python-sphinxext-opengraph/trunk/PKGBUILD | 34 +++++++++++++++++++++++++
3 files changed, 90 insertions(+)
Added: python-sphinx-copybutton/trunk/PKGBUILD
===================================================================
--- python-sphinx-copybutton/trunk/PKGBUILD (rev 0)
+++ python-sphinx-copybutton/trunk/PKGBUILD 2021-12-09 03:17:38 UTC (rev 1065786)
@@ -0,0 +1,29 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Blair Bonnett <blair dot bonnett at gmail dot com>
+
+_name=sphinx-copybutton
+pkgname=python-$_name
+pkgver=0.4.0
+pkgrel=2
+pkgdesc="Sphinx extension to add a \"copy\" button to code blocks"
+arch=('any')
+url="https://sphinx-copybutton.readthedocs.io/"
+license=('MIT')
+depends=('python-sphinx')
+makedepends=('python-setuptools')
+source=(https://files.pythonhosted.org/packages/source/s/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('8daed13a87afd5013c3a9af3575cc4d5bec052075ccd3db243f895c07a689386')
+
+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
+ install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}
+
+# vim:set ts=2 sw=2 et:
Added: python-sphinxcontrib-spelling/trunk/PKGBUILD
===================================================================
--- python-sphinxcontrib-spelling/trunk/PKGBUILD (rev 0)
+++ python-sphinxcontrib-spelling/trunk/PKGBUILD 2021-12-09 03:17:38 UTC (rev 1065786)
@@ -0,0 +1,27 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+_name=sphinxcontrib-spelling
+pkgname=python-$_name
+pkgver=7.3.0
+pkgrel=1
+pkgdesc="Spelling checker for Sphinx"
+arch=('any')
+url="https://sphinxcontrib-spelling.readthedocs.io/"
+license=('BSD')
+depends=('python-sphinx' 'python-pyenchant')
+makedepends=('python-setuptools' 'python-pbr')
+source=(https://files.pythonhosted.org/packages/source/s/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('a11799366f02fbd3390abf6aa2d4f0fe34df9be6e5ac0b1c8139dbd6c7fb0c99')
+
+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
+}
+
+# vim:set ts=2 sw=2 et:
Added: python-sphinxext-opengraph/trunk/PKGBUILD
===================================================================
--- python-sphinxext-opengraph/trunk/PKGBUILD (rev 0)
+++ python-sphinxext-opengraph/trunk/PKGBUILD 2021-12-09 03:17:38 UTC (rev 1065786)
@@ -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