Date: Sunday, March 5, 2023 @ 21:53:19
  Author: felixonmars
Revision: 1415110

upgpkg: python-openstackdocstheme 3.1.0-1

Modified:
  python-openstackdocstheme/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-05 21:52:05 UTC (rev 1415109)
+++ PKGBUILD    2023-03-05 21:53:19 UTC (rev 1415110)
@@ -2,7 +2,8 @@
 # Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
 
 pkgname=python-openstackdocstheme
-pkgver=3.0.1
+pkgver=3.1.0
+_commit=20bf587d68f6c1794168f2ad467c9c55daf074e5
 pkgrel=1
 pkgdesc="Open Infrastructure Projects Sphinx Themes"
 arch=('any')
@@ -9,21 +10,19 @@
 url="https://opendev.org/openstack/openstackdocstheme";
 license=('Apache')
 depends=('python-pbr' 'python-dulwich' 'python-sphinx')
-makedepends=('python-setuptools')
+makedepends=('git' 'python-setuptools')
 options=('!emptydirs')
-source=("https://github.com/openstack/openstackdocstheme/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('fb73e0cf334e977babe4c3faad387d11c9f3ba290af86b7e7e1c81d6025e95ac73180dc1da7833d35602d2324d7e693f69904bd99b9dff3605e25b280476e056')
+source=("git+https://github.com/openstack/openstackdocstheme.git#commit=$_commit";)
+sha512sums=('SKIP')
 
-export PBR_VERSION=$pkgver
-
 build() {
-  cd openstackdocstheme-$pkgver
+  cd openstackdocstheme
   python setup.py build
   PYTHONPATH="$PWD/build/lib" sphinx-build -W -b man doc/source doc/build/man
 }
 
 package() {
-  cd openstackdocstheme-$pkgver
+  cd openstackdocstheme
   python setup.py install --root="$pkgdir" --optimize=1
   install -Dm644 doc/build/man/*.1 -t "$pkgdir"/usr/share/man/man1/
 }

Reply via email to