[arch-commits] Commit in pelican/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 06:06:04 UTC 2019
Date: Monday, November 4, 2019 @ 06:06:03
Author: felixonmars
Revision: 523296
archrelease: copy trunk to community-staging-any
Added:
pelican/repos/community-staging-any/
pelican/repos/community-staging-any/PKGBUILD
(from rev 523295, pelican/trunk/PKGBUILD)
----------+
PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
Copied: pelican/repos/community-staging-any/PKGBUILD (from rev 523295, pelican/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 06:06:03 UTC (rev 523296)
@@ -0,0 +1,58 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# AUR Maintainer: Stefan Tatschner <rumpelsepp at sevenbyte.org>
+# Contributor: David Runge <dave at sleepmap.de>
+
+pkgname=pelican
+pkgver=4.2.0
+pkgrel=2
+pkgdesc="A tool to generate a static blog, with restructured text (or markdown) input files."
+arch=('any')
+url="https://blog.getpelican.com/"
+license=('AGPL3')
+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')
+optdepends=('python-markdown: Markdown support'
+ 'asciidoc: AsciiDoc support'
+ 'python-beautifulsoup4: importing from wordpress/dotclear/posterous'
+ 'python-feedparser: importing from feeds'
+# 'python-rst2pdf: PDF generation' # FS#48890
+ 'openssh: uploading through SSH'
+ 'rsync: uploading through rsync+SSH'
+ 'lftp: uploading through FTP'
+ 's3cmd: uploading through S3'
+ 'python-ghp-import: uploading through gh-pages'
+ '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")
+sha512sums=('9c9f41306739acc4c6c6a7ddf50d955d958af7be1da197b42859b95405b18ab5b597fee4f9aabdf98cd508204558bff9c4f0c11bf4e5367b16e32568682a21e6')
+
+build() {
+ # sphinx tried to import pelican, make it happy
+ cd "$srcdir/$pkgname-$pkgver/docs"
+ PYTHONPATH=".." make man
+ PYTHONPATH=".." make text
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ LC_LANG=en_US.UTF-8 python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+ cd "docs"
+
+ install -d "$pkgdir/usr/share/man/man1/"
+ install -Dm644 _build/man/*.1 "$pkgdir/usr/share/man/man1/"
+
+ install -d "$pkgdir/usr/share/doc/pelican/"
+ install -Dm644 _build/text/*.txt "$pkgdir/usr/share/doc/pelican/"
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ #tox -e py3$(python3 -c "import platform;print(platform.python_version_tuple()[1])")
+ LANG=en_US.UTF-8 nosetests
+}
More information about the arch-commits
mailing list