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

David Runge dvzrv at archlinux.org
Mon Jul 6 12:07:32 UTC 2020


    Date: Monday, July 6, 2020 @ 12:07:31
  Author: dvzrv
Revision: 657983

upgpkg: nikola 8.1.1-1: Upgrading to 8.1.1.

Removing additional pytest options to remove python-coverage and python-pytest-cov from checkdepends.
Reporting and disabling a failed test.

Modified:
  nikola/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-06 12:04:58 UTC (rev 657982)
+++ PKGBUILD	2020-07-06 12:07:31 UTC (rev 657983)
@@ -2,7 +2,7 @@
 
 _name=Nikola
 pkgname=nikola
-pkgver=8.0.4
+pkgver=8.1.1
 pkgrel=1
 pkgdesc="A static site and blog generator"
 arch=('any')
@@ -17,8 +17,7 @@
 'python-husl' 'python-ipykernel' 'python-jinja' 'python-micawber'
 'python-phpserialize' 'python-pygal' 'python-pyphen' 'python-ruamel-yaml'
 'python-toml' 'python-typogrify' 'python-watchdog')
-checkdepends=('python-coverage' 'python-freezegun' 'python-pytest'
-'python-pytest-cov')
+checkdepends=('python-freezegun' 'python-pytest')
 optdepends=('jupyter-notebook: for .ipynb support'
             'python-aiohttp: for `nikola auto`'
             'python-ghp-import: for upload to Github pages'
@@ -34,12 +33,15 @@
             '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=('eb6774d11be4eab81fbe41115d80e5d0d38694b734431d5d6355fcd3e3d8ae5ff4a02114c5dd0dbbc9e1ea5a625e9ac2b6b91e82f6e017b4376e4ca8d56cfec7'
+sha512sums=('a833cb7687077266a20f7043f99b03391f350b48ceea71250158e760b0e44b603de1d6e398a03ec848483775501ad248b6ac45a23ceb250d120a63f110d482b5'
             'SKIP')
 validpgpkeys=('DF32C99CFF84282CF9D4CF7171023DBD5EAAEA16') # Chris Warrick <kwpolska at gmail.com>
 
 prepare() {
   mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # remove options to pytest so that we don't require python-coverage et. al.
+  sed -e '/addopts/d' -i setup.cfg
 }
 
 build() {
@@ -61,7 +63,8 @@
 check() {
   cd "$pkgname-$pkgver"
   export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v tests/
+  # disabling failing test: https://github.com/getnikola/nikola/issues/3432
+  pytest -vv -k 'not test_compiling_markdown[hilite]' tests/
 }
 
 package() {



More information about the arch-commits mailing list