[arch-commits] Commit in nikola/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Tue Feb 16 18:37:56 UTC 2021


    Date: Tuesday, February 16, 2021 @ 18:37:56
  Author: dvzrv
Revision: 862322

upgpkg: nikola 8.1.3-1: Upgrade to 8.1.3.

Add python-hsluv and python-html5lib to optdepends.
Fix the shell completion files after generation.
Skip flaky test about markdown compilation.

Modified:
  nikola/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-16 18:36:13 UTC (rev 862321)
+++ PKGBUILD	2021-02-16 18:37:56 UTC (rev 862322)
@@ -2,8 +2,8 @@
 
 _name=Nikola
 pkgname=nikola
-pkgver=8.1.2
-pkgrel=2
+pkgver=8.1.3
+pkgrel=1
 pkgdesc="A static site and blog generator"
 arch=('any')
 url="https://getnikola.com/"
@@ -16,11 +16,13 @@
 makedepends=('jupyter-notebook' 'python-aiohttp' 'python-ghp-import'
 'python-husl' 'python-ipykernel' 'python-jinja' 'python-micawber'
 'python-phpserialize' 'python-pygal' 'python-pyphen' 'python-ruamel-yaml'
-'python-toml' 'python-typogrify' 'python-watchdog')
+'python-toml' 'python-typogrify' 'python-watchdog' 'zeromq')
 checkdepends=('python-freezegun' 'python-pytest')
 optdepends=('jupyter-notebook: for .ipynb support'
             'python-aiohttp: for `nikola auto`'
             'python-ghp-import: for upload to Github pages'
+            'python-hsluv: for section color mixing'
+            'python-html5lib: for HTML5 minify and format support'
             'python-husl: for optional color support'
             'python-ipykernel: for .ipynb support'
             'python-jinja: for jinja2 based themes'
@@ -33,9 +35,9 @@
             'python-typogrify: for typographical enhancements'
             'python-watchdog: for `nikola auto`')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('5f53f4939dddececfaf75922147b18fd08434242373d3f4a54e300475adf274b716cdc6e485e6703bdb17fe038656a8c4ac9b260b4ddd47c252a645c3d26a30a'
+sha512sums=('7b6a8391d023a339125392082cc3d2ea2a2fe25b8938bd82b8c9efe0cbb3e8b83537f1bd00d97a648e3fc2b096e673702026fa3942ab9c97e76bf21b5afefe16'
             'SKIP')
-b2sums=('28b4a9905a92ba2714e05aec5854ffbd9bf136e9d31218e032d6697f54b3b2711256b83e74ef6ebd0411fdeb0ac17d6454c52473cb396c029af5086cc085728e'
+b2sums=('535870b7cd147169b511166186ac200ab9d31d976c58363e42235e07ea8ba68e01738d378190663864e6a8605986771500569004e7a73ea043ae8982be09afe1'
         'SKIP')
 validpgpkeys=('DF32C99CFF84282CF9D4CF7171023DBD5EAAEA16') # Chris Warrick <kwpolska at gmail.com>
 
@@ -60,12 +62,14 @@
     --shell zsh \
     --hardcode-tasks \
     > "${pkgname}_zsh"
+  # ensure that the shell completion is assigned to the correct executable
+  sed -e "s/__main__.py/${pkgname}/g" -i "${pkgname}_"{bash,zsh}
 }
 
 check() {
   cd "$pkgname-$pkgver"
   export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
+  pytest -v -k "not test_compiling_markdown"
 }
 
 package() {



More information about the arch-commits mailing list