Lukas Fleischer pushed to branch main at Arch Linux / Packaging / Packages / 
hotdoc


Commits:
3a4f8ea0 by Lukas Fleischer at 2024-04-11T12:31:39+07:00
upgpkg: 0.16-1: update to 0.16

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,31 @@
+pkgbase = hotdoc
+       pkgdesc = the tastiest API documentation system
+       pkgver = 0.16
+       pkgrel = 1
+       url = https://github.com/hotdoc/hotdoc
+       arch = x86_64
+       license = LGPL
+       makedepends = python-setuptools
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-wheel
+       makedepends = cmake
+       depends = python-appdirs
+       depends = python-dbus-deviation
+       depends = python-faust-cchardet
+       depends = python-lxml
+       depends = python-networkx
+       depends = python-pkgconfig
+       depends = python-schema
+       depends = python-toposort
+       depends = python-wheezy-template
+       depends = python-yaml
+       depends = python-feedgen
+       depends = json-glib
+       optdepends = clang: for the C extension
+       optdepends = llvm: for the C extension
+       source = 
https://files.pythonhosted.org/packages/source/h/hotdoc/hotdoc-0.16.tar.gz
+       sha256sums = 
af1856d54f9dd23e0538a7dc4423b69d29dd7f54a4fe6e34844606ab51a3eab3
+       b2sums = 
c6c068c88bb14a2a326242a3505dce8f601b36407bb71bc26c5d57035203661b5929fbffca6996dd3e45707503dc33819bae929c6b01f13ddc57e61d75a6bfdf
+
+pkgname = hotdoc


=====================================
PKGBUILD
=====================================
@@ -1,12 +1,11 @@
 # Contributor: Eli Schwartz <eschwa...@archlinux.org>
 
-_pkgname=hotdoc
 pkgname=hotdoc
-pkgver=0.15
+pkgver=0.16
 pkgrel=1
 pkgdesc="the tastiest API documentation system"
 arch=('x86_64')
-url="https://github.com/${_pkgname}/${_pkgname}";
+url="https://github.com/${pkgname}/${pkgname}";
 license=('LGPL')
 _py_deps=('appdirs' 'dbus-deviation' 'faust-cchardet' 'lxml' 'networkx'
           'pkgconfig' 'schema' 'toposort' 'wheezy-template' 'yaml' 'feedgen')
@@ -15,32 +14,21 @@ makedepends=('python-setuptools' 'python-build' 
'python-installer'
              'python-wheel' 'cmake')
 optdepends=('clang: for the C extension'
             'llvm: for the C extension')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";
-         https://github.com/hotdoc/hotdoc/commit/8842d813.patch)
-sha256sums=('b1f43f88177567e62a9da3a0f23df6ac2da2b9c76288add37dff4d7d81674327'
-            '30c16a6e20e26451799d26c144123a5fffaaa0cf829350bbb6439459c6a8db1e')
-b2sums=('c3dae1e96fdb68d689a9ab971c84def33ce2c2fd364ebc04110ade3693cf0320c0abcf5ea9861ca05e158e739f0a03302542b15af116fd64660a516ee2be2edb'
-        
'11fd39389a4acec484eb52e21aa44d3d55d8b8b486b243c0b81e0f36269bf37133f10c4c10b4b36f7e06926e8fc7d30ca4e802d5151f37256bde2775b5ba0039')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -p1 -i ../8842d813.patch # Fix tests
-}
+source=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('af1856d54f9dd23e0538a7dc4423b69d29dd7f54a4fe6e34844606ab51a3eab3')
+b2sums=('c6c068c88bb14a2a326242a3505dce8f601b36407bb71bc26c5d57035203661b5929fbffca6996dd3e45707503dc33819bae929c6b01f13ddc57e61d75a6bfdf')
 
 build() {
-    cd ${pkgname}-${pkgver}
-
+    cd "${pkgname}-${pkgver}"
     python -m build --wheel --no-isolation
 }
 
 check() {
-    cd ${pkgname}-${pkgver}/build/lib.linux-$CARCH-cpython-*
-
+    cd "${pkgname}-${pkgver}/build/lib.linux-${CARCH}-cpython-"*
     python -m unittest
 }
 
 package() {
-    cd ${pkgname}-${pkgver}
-
+    cd "${pkgname}-${pkgver}"
     python -m installer --destdir="${pkgdir}" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hotdoc/-/commit/3a4f8ea05951d7425e36a0bb7c2bf802f655c5a8

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hotdoc/-/commit/3a4f8ea05951d7425e36a0bb7c2bf802f655c5a8
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to