[arch-commits] Commit in pelican/trunk (PKGBUILD)
Jiachen Yang
farseerfc at archlinux.org
Wed Nov 14 07:46:57 UTC 2018
Date: Wednesday, November 14, 2018 @ 07:46:56
Author: farseerfc
Revision: 407319
upgpkg: pelican 4.0.0-1
pelican 4.0 release
Modified:
pelican/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++-----------------
1 file changed, 3 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-14 05:05:39 UTC (rev 407318)
+++ PKGBUILD 2018-11-14 07:46:56 UTC (rev 407319)
@@ -3,8 +3,8 @@
# Contributor: David Runge <dave at sleepmap.de>
pkgname=pelican
-pkgver=3.7.1
-pkgrel=4
+pkgver=4.0.0
+pkgrel=1
pkgdesc="A tool to generate a static blog, with restructured text (or markdown) input files."
arch=('any')
url="http://getpelican.com"
@@ -28,22 +28,8 @@
'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")
-sha512sums=('9e04e6a2009cc134f74410d8c8349831467192e7524287e23cad0b68232f2b5dd04f5d98505222d71eb3441e466bccec1cafc7f6e3c6bfcb4c5e57e4ab0fadda')
+sha512sums=('5d98f5e13e6dde6b27cc299f9fb166edec79efb3fc53b29567218e0d0ba164989ce51830029ec8359697bc039661f6b0ced8d4155105e29098c038840c97d253')
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # make python 3.6 target for tox
- # pending issue https://github.com/getpelican/pelican/pull/2074
- sed -i "s|envlist = py{27,33,34,35},docs,flake8|envlist = py{27,33,34,35,36,37},docs,flake8|" tox.ini
- sed -i "s|py33: python3.3|py37: python3.7|" tox.ini
-
- # fix py37 DeprecationWarning
- # importing ABCs directly from collections instead of collections.abc is deprecated
- sed -i 's|import collections|import collections.abc|' pelican/tests/test_pelican.py
- sed -i 's|collections\.Sequence|collections.abc.Sequence|' pelican/tests/test_pelican.py
-}
-
build() {
# sphinx tried to import pelican, make it happy
cd "$srcdir/$pkgname-$pkgver/docs"
More information about the arch-commits
mailing list