Date: Friday, February 1, 2019 @ 05:48:01 Author: farseerfc Revision: 428984
archrelease: copy trunk to community-any Added: pelican/repos/community-any/PKGBUILD (from rev 428983, pelican/trunk/PKGBUILD) Deleted: pelican/repos/community-any/PKGBUILD ----------+ PKGBUILD | 116 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 58 insertions(+), 58 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-02-01 05:47:15 UTC (rev 428983) +++ PKGBUILD 2019-02-01 05:48:01 UTC (rev 428984) @@ -1,58 +0,0 @@ -# Maintainer: Jiachen Yang <farsee...@gmail.com> -# AUR Maintainer: Stefan Tatschner <rumpels...@sevenbyte.org> -# Contributor: David Runge <d...@sleepmap.de> - -pkgname=pelican -pkgver=4.0.1 -pkgrel=1 -pkgdesc="A tool to generate a static blog, with restructured text (or markdown) input files." -arch=('any') -url="http://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=('26f91046124bb92de6fa31d17ab89f743cf9408c15b9b259875e2378342133313368418da083d1d4abc5de0537806a9dede327719c8fcf89d135805c47618a4a') - -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 -} Copied: pelican/repos/community-any/PKGBUILD (from rev 428983, pelican/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-02-01 05:48:01 UTC (rev 428984) @@ -0,0 +1,58 @@ +# Maintainer: Jiachen Yang <farsee...@gmail.com> +# AUR Maintainer: Stefan Tatschner <rumpels...@sevenbyte.org> +# Contributor: David Runge <d...@sleepmap.de> + +pkgname=pelican +pkgver=4.0.1 +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=('26f91046124bb92de6fa31d17ab89f743cf9408c15b9b259875e2378342133313368418da083d1d4abc5de0537806a9dede327719c8fcf89d135805c47618a4a') + +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 +}