[arch-commits] Commit in python2-rst2pdf/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Thu May 23 07:23:21 EDT 2013


    Date: Thursday, May 23, 2013 @ 13:23:20
  Author: arodseth
Revision: 91537

python2-distribute fix for TODO

Modified:
  python2-rst2pdf/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-23 11:21:11 UTC (rev 91536)
+++ PKGBUILD	2013-05-23 11:23:20 UTC (rev 91537)
@@ -5,12 +5,13 @@
 
 pkgname=python2-rst2pdf
 pkgver=0.93
-pkgrel=2
+pkgrel=3
 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')
+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'
@@ -19,6 +20,12 @@
 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"
 



More information about the arch-commits mailing list