Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: pelican 4.5.0-1: pelican 4.5
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-community/svn@685733 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
farseerfc authored and svntogit committed Aug 21, 2020
1 parent 8785028 commit 1f4be45
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions trunk/PKGBUILD
Expand Up @@ -3,8 +3,8 @@
# Contributor: David Runge <dave@sleepmap.de>

pkgname=pelican
pkgver=4.2.0
pkgrel=2
pkgver=4.5.0
pkgrel=1
pkgdesc="A tool to generate a static blog, with restructured text (or markdown) input files."
arch=('any')
url="https://blog.getpelican.com/"
Expand All @@ -13,7 +13,7 @@ makedepends=('python-sphinx')
depends=('python-jinja' 'python-pygments' 'python-feedgenerator' 'python-pytz'
'python-docutils' 'python-blinker' 'python-unidecode' 'python-six'
'python-dateutil')
checkdepends=('python-tox' 'python-setuptools' 'python-lxml' 'git' 'python-nose' 'python-feedparser' 'python-markdown')
checkdepends=('python-setuptools' 'python-lxml' 'git' 'python-nose' 'python-feedparser' 'python-markdown' 'python-typogrify')
optdepends=('python-markdown: Markdown support'
'asciidoc: AsciiDoc support'
'python-beautifulsoup4: importing from wordpress/dotclear/posterous'
Expand All @@ -28,7 +28,7 @@ optdepends=('python-markdown: Markdown support'
'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=('9c9f41306739acc4c6c6a7ddf50d955d958af7be1da197b42859b95405b18ab5b597fee4f9aabdf98cd508204558bff9c4f0c11bf4e5367b16e32568682a21e6')
sha512sums=('e8532e9ab5073fc5fc17ecdf31c0fe5617cd72778d8ca90d2833f660ea74ca81db3a83b1868588bc3287d90d23f64c5ef60ae99ae1a148fa27b47b5c59f51299')

build() {
# sphinx tried to import pelican, make it happy
Expand All @@ -40,7 +40,7 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"

LC_LANG=en_US.UTF-8 python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
LANG=en_US.UTF-8 python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1

cd "docs"

Expand All @@ -53,6 +53,5 @@ package() {

check() {
cd "$srcdir/$pkgname-$pkgver"
#tox -e py3$(python3 -c "import platform;print(platform.python_version_tuple()[1])")
LANG=en_US.UTF-8 nosetests
LANG=en_US.UTF-8 nosetests --exclude="test_log_filter"
}

0 comments on commit 1f4be45

Please sign in to comment.