[arch-commits] Commit in (4 files)

David Runge dvzrv at gemini.archlinux.org
Wed Jul 20 11:45:12 UTC 2022


    Date: Wednesday, July 20, 2022 @ 11:45:11
  Author: dvzrv
Revision: 1254872

Add python-sphinx-lv2-theme for sratom.

Added:
  python-sphinx-lv2-theme/
  python-sphinx-lv2-theme/repos/
  python-sphinx-lv2-theme/trunk/
  python-sphinx-lv2-theme/trunk/PKGBUILD

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

Added: python-sphinx-lv2-theme/trunk/PKGBUILD
===================================================================
--- python-sphinx-lv2-theme/trunk/PKGBUILD	                        (rev 0)
+++ python-sphinx-lv2-theme/trunk/PKGBUILD	2022-07-20 11:45:11 UTC (rev 1254872)
@@ -0,0 +1,27 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=sphinx_lv2_theme
+pkgname=python-sphinx-lv2-theme
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="A minimal static theme for Sphinx"
+arch=(any)
+url="https://gitlab.com/lv2/sphinx_lv2_theme"
+license=(ISC)
+depends=(python-sphinx)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('c6a8e0d8a31821bcfd63ed2bcf188c3180d452885b1ec3ea07efdbcd5a6dfac1')
+b2sums=('e68ca67ae57e46fc2277d7644d5c013bad109a7ce363f85ae19efe44a021b2a3a13c19335a534e04bdd835d91276f24b831b3885253b974c5f642fe224b3ebf2')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+  install -vDm 644 {NEWS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
+}



More information about the arch-commits mailing list