git » python-sphinx-lv2-theme.git » commit b24381f

upgpkg: 1.4.2-1

author David Runge
2023-10-27 12:17:01 UTC
committer David Runge
2023-10-27 12:17:01 UTC
parent ba18b17c376ff24516d5491c330475f74e60cc3a

upgpkg: 1.4.2-1

.SRCINFO +18 -0
PKGBUILD +7 -7

diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..70d7469
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python-sphinx-lv2-theme
+	pkgdesc = A minimal static theme for Sphinx
+	pkgver = 1.4.2
+	pkgrel = 1
+	url = https://gitlab.com/lv2/sphinx_lv2_theme
+	arch = any
+	license = 0BSD
+	makedepends = python-build
+	makedepends = python-installer
+	makedepends = python-setuptools
+	makedepends = python-wheel
+	depends = python
+	depends = python-sphinx
+	source = https://gitlab.com/lv2/sphinx_lv2_theme/-/archive/v1.4.2/sphinx_lv2_theme-v1.4.2.tar.gz
+	sha256sums = 6214f1e212d705ee913f55b4a9275077dd575d555eaffa43917b01b8c91d429c
+	b2sums = 25779ef9f0118dd4610edb29eeb81d2555b1b0cf3cbbc81345ab1bf842ff8b2c8d1d8c65ffd314281fe40dc77c492c2f90d15cae4ca998054da8185f457cf81b
+
+pkgname = python-sphinx-lv2-theme
diff --git a/PKGBUILD b/PKGBUILD
index 135c435..e5b4222 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
 
 _name=sphinx_lv2_theme
 pkgname=python-sphinx-lv2-theme
-pkgver=1.4.0
+pkgver=1.4.2
 pkgrel=1
 pkgdesc="A minimal static theme for Sphinx"
 arch=(any)
 url="https://gitlab.com/lv2/sphinx_lv2_theme"
-license=(ISC)
+license=(0BSD)
 depends=(
   python
   python-sphinx
@@ -18,17 +18,17 @@ makedepends=(
   python-setuptools
   python-wheel
 )
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha256sums=('68834c4ff84da0e60e2fa8ebe87e83ceb8e5f5ad407d706d3b0e88c6958a92e5')
-b2sums=('aa704fc220dd042467a4ab63e2e556d1b8f50bc60a6f1c367e9acbde3f664300d7ace89f5c56862b0a4339c8e0aafd744c693864c6059d47ef08c1a7dc1857b8')
+source=($url/-/archive/v$pkgver/$_name-v$pkgver.tar.gz)
+sha256sums=('6214f1e212d705ee913f55b4a9275077dd575d555eaffa43917b01b8c91d429c')
+b2sums=('25779ef9f0118dd4610edb29eeb81d2555b1b0cf3cbbc81345ab1bf842ff8b2c8d1d8c65ffd314281fe40dc77c492c2f90d15cae4ca998054da8185f457cf81b')
 
 build() {
-  cd $_name-$pkgver
+  cd $_name-v$pkgver
   python -m build --wheel --no-isolation
 }
 
 package() {
-  cd $_name-$pkgver
+  cd $_name-v$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/"