Date: Tuesday, May 2, 2023 @ 08:23:45
  Author: dvzrv
Revision: 1455813

upgpkg: nikola 8.2.4-1: Upgrade to 8.2.4.

Modified:
  nikola/trunk/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 62 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-02 08:19:16 UTC (rev 1455812)
+++ PKGBUILD    2023-05-02 08:23:45 UTC (rev 1455813)
@@ -2,25 +2,63 @@
 
 _name=Nikola
 pkgname=nikola
-pkgver=8.2.3
-pkgrel=2
+pkgver=8.2.4
+pkgrel=1
 pkgdesc="A static site and blog generator"
 arch=(any)
 url="https://getnikola.com/";
 license=(MIT)
 # still requires python-setuptools due to the use of pkg_resources
-depends=(python-babel python-blinker python-doit python-dateutil
-python-docutils python-logbook python-lxml python-mako python-markdown
-python-natsort python-piexif python-pillow python-pygments python-pyrss2gen
-python-requests python-setuptools python-unidecode python-yapsy)
-makedepends=(jupyter-notebook python-aiohttp python-build python-ghp-import
-python-husl python-installer python-ipykernel python-jinja python-micawber
-python-phpserialize python-pygal python-pyphen python-ruamel-yaml python-toml
-python-typogrify python-watchdog python-wheel zeromq)
-checkdepends=(python-freezegun python-pytest)
+depends=(
+  python
+  python-babel
+  python-blinker
+  python-doit
+  python-dateutil
+  python-docutils
+  python-logbook
+  python-lxml
+  python-mako
+  python-markdown
+  python-natsort
+  python-piexif
+  python-pillow
+  python-pygments
+  python-pyrss2gen
+  python-requests
+  python-setuptools
+  python-unidecode
+  python-yapsy
+)
+makedepends=(
+  jupyter-notebook
+  python-aiohttp
+  python-build
+  python-ghp-import
+  python-husl
+  python-installer
+  python-ipykernel
+  python-jinja
+  python-micawber
+  python-phpserialize
+  python-pygal
+  python-pyphen
+  python-ruamel-yaml
+  python-toml
+  python-typogrify
+  python-watchdog
+  python-wheel
+  zeromq
+)
+checkdepends=(
+  libwebp
+  python-freezegun
+  python-pytest
+)
 optdepends=(
+  'libwebp: for WEBP image file support'
   'jupyter-notebook: for .ipynb support'
-  'python-aiohttp: for `nikola auto`'
+  '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'
@@ -34,12 +72,12 @@
   'python-ruamel-yaml: for YAML support'
   'python-toml: for TOML support'
   'python-typogrify: for typographical enhancements'
-  'python-watchdog: for `nikola auto`'
+  'python-watchdog: for nikola auto'
 )
 
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz{,.asc})
-sha512sums=('fbb107f975a4eeb369469eaa7a83e6fd342202530f91a0428c854f2eca28315268d6623983a078496943878a9f0548a5939184a2349d468cc0ac7152116b48b4'
+sha512sums=('2bcea53181a5371fc1ce7d6d96e5db1ae0ab7c4bc8fe8947ed0d5427e71a469b0f522f1e6f20a47e51a3325730a9646156a8a57bab127785f220c65eb9f891ea'
             'SKIP')
-b2sums=('690ea8584b9b11b1f26b768dc6daaded2f976b54a7be3b75f83d50cda3721f3f0051fd7ff7be3c38ed871ac905f604f891936e4ea72381b8f88a461f4d227587'
+b2sums=('94421a278718fd9ae9f8978854954f2120bab005d10a52294b120d619a67455417eed94bb9e99cc9d01eca4e1d3da210980caef1ad7ff4ca5d25299a39d8eb19'
         'SKIP')
 validpgpkeys=('DF32C99CFF84282CF9D4CF7171023DBD5EAAEA16') # Chris Warrick 
<[email protected]>
 
@@ -59,8 +97,16 @@
 }
 
 check() {
+  local pytest_options=(
+    -vv
+    # disable broken locale related tests: 
https://github.com/getnikola/nikola/issues/3684
+    --deselect tests/test_locale.py::test_format_date_long
+    --deselect tests/test_locale.py::test_format_date_timezone
+    --deselect tests/test_locale.py::test_format_date_locale_variants[US]
+    --deselect tests/test_locale.py::test_format_date_locale_variants[GB]
+  )
   cd $_name-$pkgver
-  pytest -vv -k "not test_compiling_markdown"
+  pytest "${pytest_options[@]}"
 }
 
 package() {

Reply via email to