[arch-commits] Commit in python2-rst2pdf/repos/community-any (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Thu May 23 11:23:27 UTC 2013
Date: Thursday, May 23, 2013 @ 13:23:27
Author: arodseth
Revision: 91538
archrelease: copy trunk to community-any
Added:
python2-rst2pdf/repos/community-any/PKGBUILD
(from rev 91537, python2-rst2pdf/trunk/PKGBUILD)
Deleted:
python2-rst2pdf/repos/community-any/PKGBUILD
----------+
PKGBUILD | 83 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 45 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-23 11:23:20 UTC (rev 91537)
+++ PKGBUILD 2013-05-23 11:23:27 UTC (rev 91538)
@@ -1,38 +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=2
-pkgdesc='Create PDFs from simple text markup, no LaTeX required'
-arch=('any')
-url='http://rst2pdf.googlecode.com/'
-license=('MIT')
-depends=('python2-distribute' 'python2-docutils' 'python2-reportlab' 'python2-pygments' 'python2-pdfrw')
-optdepends=('uniconvertor: vector images support'
- #'python2-svglib: some SVG support'
- 'inkscape: best SVG support'
- #'python2-wordaxe: hyphenation'
- 'python2-imaging: non-JPEG bitmap image formats')
-source=("http://rst2pdf.googlecode.com/files/rst2pdf-$pkgver.tar.gz")
-sha256sums=('3af44283ced19030a8286e8f8d71106ca6c78efe4bc95e9af42d678c363efcbc')
-
-build() {
- cd "rst2pdf-$pkgver"
-
- python2 setup.py build
- cd doc
- rst2man2 rst2pdf.txt rst2pdf.1
-}
-
-package() {
- cd "rst2pdf-$pkgver"
-
- 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"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python2-rst2pdf/repos/community-any/PKGBUILD (from rev 91537, python2-rst2pdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-05-23 11:23:27 UTC (rev 91538)
@@ -0,0 +1,45 @@
+# $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=3
+pkgdesc='Create PDFs from simple text markup, no LaTeX required'
+arch=('any')
+url='http://rst2pdf.googlecode.com/'
+license=('MIT')
+makedepends=('python2-distribute')
+depends=('python2-docutils' 'python2-reportlab' 'python2-pygments' 'python2-pdfrw')
+optdepends=('uniconvertor: vector images support'
+ #'python2-svglib: some SVG support'
+ 'inkscape: best SVG support'
+ #'python2-wordaxe: hyphenation'
+ 'python2-imaging: non-JPEG bitmap image formats')
+source=("http://rst2pdf.googlecode.com/files/rst2pdf-$pkgver.tar.gz")
+sha256sums=('3af44283ced19030a8286e8f8d71106ca6c78efe4bc95e9af42d678c363efcbc')
+
+prepare() {
+ cd "rst2pdf-$pkgver"
+
+ find . -name "*.py" -exec sed -i '0,/on/s//on2/' {} \;
+}
+
+build() {
+ cd "rst2pdf-$pkgver"
+
+ python2 setup.py build
+ cd doc
+ rst2man2 rst2pdf.txt rst2pdf.1
+}
+
+package() {
+ cd "rst2pdf-$pkgver"
+
+ 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"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list