[arch-commits] Commit in python2-rst2pdf/repos/community-any (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Thu Jan 11 12:32:37 UTC 2018


    Date: Thursday, January 11, 2018 @ 12:32:37
  Author: arodseth
Revision: 281323

archrelease: copy trunk to community-any

Added:
  python2-rst2pdf/repos/community-any/PKGBUILD
    (from rev 281322, python2-rst2pdf/trunk/PKGBUILD)
Deleted:
  python2-rst2pdf/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   92 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 44 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-11 12:32:27 UTC (rev 281322)
+++ PKGBUILD	2018-01-11 12:32:37 UTC (rev 281323)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Roberto Alsina <ralsina at kde.org>
-
-pkgname=python2-rst2pdf
-pkgver=0.93
-pkgrel=8
-pkgdesc='Create PDFs from simple text markup, no LaTeX required'
-arch=('any')
-url='https://github.com/ralsina/rst2pdf'
-license=('MIT')
-makedepends=('python2-setuptools' 'git')
-depends=('python2-docutils' 'python2-reportlab' 'python2-pygments' 'pygmentize'
-         'python2-pdfrw')
-optdepends=('uniconvertor: vector images support'
-            #'python2-svglib: some SVG support'
-            'inkscape: best SVG support'
-            #'python2-wordaxe: hyphenation'
-            'python2-pillow: non-JPEG bitmap image formats')
-source=("git://github.com/ralsina/rst2pdf.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cd rst2pdf
-
-  find . -name "*.py" -exec sed -i '0,/env python/s//env python2/' {} \;
-  sed -i 's/import Image/from PIL import Image/' rst2pdf/math_flowable.py
-}
-
-build() {
-  cd rst2pdf
-
-  python2 setup.py build
-  cd doc 
-  rst2man2 rst2pdf.txt rst2pdf.1
-}
-
-package() {
-  cd rst2pdf
-
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  install -Dm644 doc/rst2pdf.1 "$pkgdir/usr/share/man/man1/rst2pdf.1"
-}
-
-# getver: raw.githubusercontent.com/ralsina/rst2pdf/master/setup.py
-# vim:set ts=2 sw=2 et:

Copied: python2-rst2pdf/repos/community-any/PKGBUILD (from rev 281322, python2-rst2pdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-11 12:32:37 UTC (rev 281323)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Roberto Alsina <ralsina at kde.org>
+
+pkgname=python2-rst2pdf
+pkgver=0.93
+pkgrel=9
+pkgdesc='Create PDFs from simple text markup, no LaTeX required'
+arch=('any')
+url='https://github.com/ralsina/rst2pdf'
+license=('MIT')
+makedepends=('git' 'python2-setuptools')
+depends=('pygmentize' 'python2-docutils' 'python2-pdfrw' 'python2-pygments' 'python2-reportlab')
+optdepends=('inkscape: SVG support'
+            'python2-pillow: non-JPEG bitmap image formats')
+# previous optdeps: python2-svglib python2-wordaxe uniconvertor
+source=("git+https://github.com/ralsina/rst2pdf.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cd rst2pdf
+
+  find . -name "*.py" -exec sed -i '0,/env python/s//env python2/' {} \;
+  sed -i 's/import Image/from PIL import Image/' rst2pdf/math_flowable.py
+}
+
+build() {
+  cd rst2pdf
+
+  python2 setup.py build
+  rst2man2 doc/rst2pdf.txt doc/rst2pdf.1
+}
+
+package() {
+  cd rst2pdf
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 doc/rst2pdf.1 "$pkgdir/usr/share/man/man1/rst2pdf.1"
+}
+
+# getver: raw.githubusercontent.com/ralsina/rst2pdf/master/setup.py
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list