[arch-commits] Commit in pelican/repos/community-any (4 files)

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


    Date: Monday, November 16, 2020 @ 07:27:06
  Author: farseerfc
Revision: 755153

archrelease: copy trunk to community-any

Added:
  pelican/repos/community-any/0001-MANIFEST.in-include-jinja2-templates.patch
    (from rev 755152, pelican/trunk/0001-MANIFEST.in-include-jinja2-templates.patch)
  pelican/repos/community-any/PKGBUILD
    (from rev 755152, pelican/trunk/PKGBUILD)
Deleted:
  pelican/repos/community-any/0001-MANIFEST.in-include-jinja2-templates.patch
  pelican/repos/community-any/PKGBUILD

-------------------------------------------------+
 0001-MANIFEST.in-include-jinja2-templates.patch |   42 +++----
 PKGBUILD                                        |  127 +++++++++++-----------
 2 files changed, 85 insertions(+), 84 deletions(-)

Deleted: 0001-MANIFEST.in-include-jinja2-templates.patch
===================================================================
--- 0001-MANIFEST.in-include-jinja2-templates.patch	2020-11-16 07:26:26 UTC (rev 755152)
+++ 0001-MANIFEST.in-include-jinja2-templates.patch	2020-11-16 07:27:06 UTC (rev 755153)
@@ -1,21 +0,0 @@
-From 3565094b10b74217f0b78d9c1f2f06f2c1cf61ea Mon Sep 17 00:00:00 2001
-From: Jiachen Yang <farseerfc at gmail.com>
-Date: Mon, 24 Aug 2020 22:34:02 +0900
-Subject: [PATCH] MANIFEST.in include jinja2 templates
-
----
- MANIFEST.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/MANIFEST.in b/MANIFEST.in
-index 138c8f00..469f6fff 100644
---- a/MANIFEST.in
-+++ b/MANIFEST.in
-@@ -1,3 +1,3 @@
- include *.rst
--recursive-include pelican *.html *.css *png *.rst *.markdown *.md *.mkd *.xml *.py
-+recursive-include pelican *.html *.css *png *.rst *.markdown *.md *.mkd *.xml *.py *.jinja2
- include LICENSE THANKS docs/changelog.rst pyproject.toml
--- 
-2.28.0
-

Copied: pelican/repos/community-any/0001-MANIFEST.in-include-jinja2-templates.patch (from rev 755152, pelican/trunk/0001-MANIFEST.in-include-jinja2-templates.patch)
===================================================================
--- 0001-MANIFEST.in-include-jinja2-templates.patch	                        (rev 0)
+++ 0001-MANIFEST.in-include-jinja2-templates.patch	2020-11-16 07:27:06 UTC (rev 755153)
@@ -0,0 +1,21 @@
+From 3565094b10b74217f0b78d9c1f2f06f2c1cf61ea Mon Sep 17 00:00:00 2001
+From: Jiachen Yang <farseerfc at gmail.com>
+Date: Mon, 24 Aug 2020 22:34:02 +0900
+Subject: [PATCH] MANIFEST.in include jinja2 templates
+
+---
+ MANIFEST.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/MANIFEST.in b/MANIFEST.in
+index 138c8f00..469f6fff 100644
+--- a/MANIFEST.in
++++ b/MANIFEST.in
+@@ -1,3 +1,3 @@
+ include *.rst
+-recursive-include pelican *.html *.css *png *.rst *.markdown *.md *.mkd *.xml *.py
++recursive-include pelican *.html *.css *png *.rst *.markdown *.md *.mkd *.xml *.py *.jinja2
+ include LICENSE THANKS docs/changelog.rst pyproject.toml
+-- 
+2.28.0
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-16 07:26:26 UTC (rev 755152)
+++ PKGBUILD	2020-11-16 07:27:06 UTC (rev 755153)
@@ -1,63 +0,0 @@
-# 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.5.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-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'
-            '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"
-0001-MANIFEST.in-include-jinja2-templates.patch)
-sha512sums=('e8532e9ab5073fc5fc17ecdf31c0fe5617cd72778d8ca90d2833f660ea74ca81db3a83b1868588bc3287d90d23f64c5ef60ae99ae1a148fa27b47b5c59f51299'
-            '6ae58ad76bd92db52880818636308f565f59124008251e981293498401e550ab2653b8c42b52f5956e3863858c167338b7133113bc3e57fbeba6e487667bca36')
-
-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"
-    PYTHONPATH=".." make man
-    PYTHONPATH=".." make text
-}
-
-package() {
-    cd "$srcdir/$pkgname-$pkgver"
-
-    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"
-    LANG=en_US.UTF-8 nosetests --exclude="test_log_filter"
-}

Copied: pelican/repos/community-any/PKGBUILD (from rev 755152, pelican/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-16 07:27:06 UTC (rev 755153)
@@ -0,0 +1,64 @@
+# 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.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/"
+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-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'
+            '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=('cb27399d3c280981d1e8cd01dbfd54b1a8bd11d9b87c4717226a2a467d73c3ad4e038a8e544534289a73e9e3cc64b4414e2b3bbf2cdd05b917d02df79ab40b5a')
+
+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"
+
+    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"
+    ## 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