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

Jiachen Yang farseerfc at archlinux.org
Mon Nov 16 07:26:27 UTC 2020


    Date: Monday, November 16, 2020 @ 07:26:26
  Author: farseerfc
Revision: 755152

upgpkg: pelican 4.5.1-1: pelican 4.5.1

Modified:
  pelican/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-16 04:15:29 UTC (rev 755151)
+++ PKGBUILD	2020-11-16 07:26:26 UTC (rev 755152)
@@ -3,8 +3,8 @@
 # Contributor: David Runge <dave at sleepmap.de>
 
 pkgname=pelican
-pkgver=4.5.0
-pkgrel=2
+pkgver=4.5.1
+pkgrel=1
 pkgdesc="A tool to generate a static blog, with restructured text (or markdown) input files."
 arch=('any')
 url="https://blog.getpelican.com/"
@@ -27,15 +27,9 @@
             'python-typogrify: typographical enhancements'
             'pandoc: for pelican-import auto convert'
 	    'python-mdx-video: easier embedding of youtube videos in markdown')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/getpelican/pelican/archive/$pkgver.tar.gz"
-0001-MANIFEST.in-include-jinja2-templates.patch)
-sha512sums=('e8532e9ab5073fc5fc17ecdf31c0fe5617cd72778d8ca90d2833f660ea74ca81db3a83b1868588bc3287d90d23f64c5ef60ae99ae1a148fa27b47b5c59f51299'
-            '6ae58ad76bd92db52880818636308f565f59124008251e981293498401e550ab2653b8c42b52f5956e3863858c167338b7133113bc3e57fbeba6e487667bca36')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/getpelican/pelican/archive/$pkgver.tar.gz")
+sha512sums=('cb27399d3c280981d1e8cd01dbfd54b1a8bd11d9b87c4717226a2a467d73c3ad4e038a8e544534289a73e9e3cc64b4414e2b3bbf2cdd05b917d02df79ab40b5a')
 
-prepare() {
-    cd "$srcdir/$pkgname-$pkgver"
-    patch -Np1 -i ../0001-MANIFEST.in-include-jinja2-templates.patch
-}
 build() {
     # sphinx tried to import pelican, make it happy
     cd "$srcdir/$pkgname-$pkgver/docs"
@@ -59,5 +53,12 @@
 
 check() {
     cd "$srcdir/$pkgname-$pkgver"
-    LANG=en_US.UTF-8 nosetests --exclude="test_log_filter"
+    ## TODO: fix upstream tests
+    ##  --exclude="test_log_filter" # will only work with normal logger instead of nosetests logger
+    ##  --exclude="test_basic_generation_works" # will only work with python-pygments==2.6.1
+    ##  --exclude="test_custom_generation_works" # will only work with python-pygments==2.6.1
+    LANG=en_US.UTF-8 nosetests \
+      --exclude="test_log_filter" \
+      --exclude="test_basic_generation_works" \
+      --exclude="test_custom_generation_works"
 }



More information about the arch-commits mailing list