[arch-commits] Commit in python-cairosvg/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Oct 25 16:38:20 UTC 2016


    Date: Tuesday, October 25, 2016 @ 16:38:20
  Author: felixonmars
Revision: 193344

archrelease: copy trunk to community-any

Added:
  python-cairosvg/repos/community-any/PKGBUILD
    (from rev 193343, python-cairosvg/trunk/PKGBUILD)
Deleted:
  python-cairosvg/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  134 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-25 16:37:58 UTC (rev 193343)
+++ PKGBUILD	2016-10-25 16:38:20 UTC (rev 193344)
@@ -1,68 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: razer <razer[at]neuf[dot]fr>
-# Contributor: pzl <alsoelp at gmail.com>
-# Contributor: Dennis Fink <dennis.fink at c3l.lu>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-
-pkgname=(python-cairosvg python2-cairosvg)
-pkgver=1.0.20
-pkgrel=1
-pkgdesc="A Simple SVG Converter for Cairo"
-arch=('any')
-url="http://cairosvg.org/"
-license=('LGPL3')
-makedepends=('python-cairocffi' 'python2-cairocffi' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-pillow' 'python2-pillow' 'python-lxml'
-              'python2-lxml' 'python-tinycss' 'python2-tinycss' 'python-cssselect'
-              'python2-cssselect' 'gnu-free-fonts')
-source=("git+https://github.com/Kozea/CairoSVG.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a CairoSVG{,-py2}
-}
-
-build() {
-  cd "$srcdir/CairoSVG"
-  python setup.py build
-
-  cd "$srcdir/CairoSVG-py2"
-  python2 setup.py build
-}
-
-check() {(
-  # 
-
-  cd "$srcdir/CairoSVG"
-  nosetests3
-
-  cd "$srcdir/CairoSVG-py2"
-  nosetests2
-  ) || warning "Tests failed"
-  # Tests require special fonts that are not in the repos
-}
-
-package_python-cairosvg() {
-  depends=('python-cairocffi')
-  optdepends=('python-lxml: To use lxml to parse SVG files'
-              'python-tinycss: Apply CSS not included in the style attribute of the tags'
-              'python-cssselect: Apply CSS not included in the style attribute of the tags'
-              'python-pillow: To handle embedded raster images other than PNG')
-
-  cd "$srcdir/CairoSVG"
-  python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-cairosvg() {
-  depends=('python2-cairocffi')
-  optdepends=('python2-lxml: To use lxml to parse SVG files'
-              'python2-tinycss: Apply CSS not included in the style attribute of the tags'
-              'python2-cssselect: Apply CSS not included in the style attribute of the tags'
-              'python2-pillow: To handle embedded raster images other than PNG')
-
-  cd "$srcdir/CairoSVG-py2"
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-
-  mv "$pkgdir"/usr/bin/cairosvg{,2}
-}

Copied: python-cairosvg/repos/community-any/PKGBUILD (from rev 193343, python-cairosvg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-25 16:38:20 UTC (rev 193344)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: razer <razer[at]neuf[dot]fr>
+# Contributor: pzl <alsoelp at gmail.com>
+# Contributor: Dennis Fink <dennis.fink at c3l.lu>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+
+pkgname=(python-cairosvg python2-cairosvg)
+pkgver=1.0.22
+pkgrel=1
+pkgdesc="A Simple SVG Converter for Cairo"
+arch=('any')
+url="http://cairosvg.org/"
+license=('LGPL3')
+makedepends=('python-cairocffi' 'python2-cairocffi' 'git')
+checkdepends=('python-nose' 'python2-nose' 'python-pillow' 'python2-pillow' 'python-lxml'
+              'python2-lxml' 'python-tinycss' 'python2-tinycss' 'python-cssselect'
+              'python2-cssselect' 'gnu-free-fonts')
+source=("git+https://github.com/Kozea/CairoSVG.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a CairoSVG{,-py2}
+}
+
+build() {
+  cd "$srcdir/CairoSVG"
+  python setup.py build
+
+  cd "$srcdir/CairoSVG-py2"
+  python2 setup.py build
+}
+
+check() {(
+  cd "$srcdir/CairoSVG"
+  nosetests3
+
+  cd "$srcdir/CairoSVG-py2"
+  nosetests2
+  ) || warning "Tests failed"
+  # Tests require special fonts that are not in the repos
+}
+
+package_python-cairosvg() {
+  depends=('python-cairocffi')
+  optdepends=('python-lxml: To use lxml to parse SVG files'
+              'python-tinycss: Apply CSS not included in the style attribute of the tags'
+              'python-cssselect: Apply CSS not included in the style attribute of the tags'
+              'python-pillow: To handle embedded raster images other than PNG')
+
+  cd "$srcdir/CairoSVG"
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-cairosvg() {
+  depends=('python2-cairocffi')
+  optdepends=('python2-lxml: To use lxml to parse SVG files'
+              'python2-tinycss: Apply CSS not included in the style attribute of the tags'
+              'python2-cssselect: Apply CSS not included in the style attribute of the tags'
+              'python2-pillow: To handle embedded raster images other than PNG')
+
+  cd "$srcdir/CairoSVG-py2"
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+
+  mv "$pkgdir"/usr/bin/cairosvg{,2}
+}



More information about the arch-commits mailing list