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

David Runge dvzrv at archlinux.org
Fri Nov 13 23:32:31 UTC 2020


    Date: Friday, November 13, 2020 @ 23:32:31
  Author: dvzrv
Revision: 754034

Prepare for python 3.9.9.

Apply upstream patch for fixing logger argument handling.

Modified:
  nikola/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-13 23:19:31 UTC (rev 754033)
+++ PKGBUILD	2020-11-13 23:32:31 UTC (rev 754034)
@@ -32,9 +32,11 @@
             'python-toml: for TOML support'
             '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})
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc}
+        "${pkgname}-8.1.1-fix_shortcode_log.patch::https://github.com/getnikola/nikola/commit/62c29c6382d663afbed9a23f68ea1cba881abcdb.patch")
 sha512sums=('a833cb7687077266a20f7043f99b03391f350b48ceea71250158e760b0e44b603de1d6e398a03ec848483775501ad248b6ac45a23ceb250d120a63f110d482b5'
-            'SKIP')
+            'SKIP'
+            '10937750e24886a7e033c7148ffdea46b637793a80957a6e579f27aaa698028c18ad32e6c34947ebf398acab828dbfd6eb549730dccc9cec736e69f47df6c646')
 validpgpkeys=('DF32C99CFF84282CF9D4CF7171023DBD5EAAEA16') # Chris Warrick <kwpolska at gmail.com>
 
 prepare() {
@@ -42,6 +44,8 @@
   cd "$pkgname-$pkgver"
   # remove options to pytest so that we don't require python-coverage et. al.
   sed -e '/addopts/d' -i setup.cfg
+  # fix log argument handling for shortcodes (make compatible with python 3.9)
+  patch -Np 1 -i ../"${pkgname}-8.1.1-fix_shortcode_log.patch"
 }
 
 build() {



More information about the arch-commits mailing list