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

Felix Yan fyan at archlinux.org
Wed Aug 5 16:07:55 UTC 2015


    Date: Wednesday, August 5, 2015 @ 18:07:54
  Author: fyan
Revision: 137992

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-05 16:07:38 UTC (rev 137991)
+++ PKGBUILD	2015-08-05 16:07:54 UTC (rev 137992)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Marti Raudsepp <marti at juffo.org>
-# Contributor: Florijan Hamzic <florijanh at gmail.com>
-
-pkgbase=python-cairocffi
-pkgname=(python-cairocffi python2-cairocffi)
-pkgver=0.7
-pkgrel=1
-pkgdesc="cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of Python bindings and object-oriented API for cairo."
-arch=('any')
-url="http://pythonhosted.org/cairocffi/"
-license=('BSD')
-makedepends=('python-cffi' 'python2-cffi' 'python-setuptools' 'python2-setuptools' 'cairo' 'gdk-pixbuf2')
-checkdepends=('python-pytest' 'python2-pytest' 'python-xcffib' 'python2-xcffib')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/SimonSapin/cairocffi/archive/v${pkgver}.tar.gz")
-md5sums=('923495bbe9bd21a838fcec57f80543b7')
-
-prepare() {
-  cp -a cairocffi-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir/cairocffi-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/cairocffi-$pkgver-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/cairocffi-$pkgver/cairocffi"
-  LC_CTYPE=en_US.utf8 py.test || warning "Tests failed"
-
-  cd "$srcdir/cairocffi-$pkgver-py2/cairocffi"
-  LC_CTYPE=en_US.utf8 py.test2 || warning "Tests failed"
-}
-
-package_python-cairocffi() {
-  depends=('python-cffi' 'cairo')
-  optdepends=('python-xcffib: for xcb support'
-              'gdk-pixbuf2: for cairocffi.pixbuf')
-
-  cd "$srcdir/cairocffi-$pkgver"
-  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-cairocffi() {
-  depends=('python2-cffi' 'cairo')
-  optdepends=('python2-xcffib: for xcb support'
-              'gdk-pixbuf2: for cairocffi.pixbuf')
-
-  cd "$srcdir/cairocffi-$pkgver-py2"
-  python2 setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-cairocffi/repos/community-any/PKGBUILD (from rev 137991, python-cairocffi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-08-05 16:07:54 UTC (rev 137992)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Marti Raudsepp <marti at juffo.org>
+# Contributor: Florijan Hamzic <florijanh at gmail.com>
+
+pkgbase=python-cairocffi
+pkgname=(python-cairocffi python2-cairocffi)
+pkgver=0.7.1
+pkgrel=1
+pkgdesc="cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of Python bindings and object-oriented API for cairo."
+arch=('any')
+url="http://pythonhosted.org/cairocffi/"
+license=('BSD')
+makedepends=('python-cffi' 'python2-cffi' 'python-setuptools' 'python2-setuptools' 'cairo' 'gdk-pixbuf2')
+checkdepends=('python-pytest' 'python2-pytest' 'python-xcffib' 'python2-xcffib')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/SimonSapin/cairocffi/archive/v${pkgver}.tar.gz")
+md5sums=('c89b940468e14f84d44f15e3abb103b6')
+
+prepare() {
+  cp -a cairocffi-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir/cairocffi-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/cairocffi-$pkgver-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/cairocffi-$pkgver/cairocffi"
+  LC_CTYPE=en_US.utf8 py.test || warning "Tests failed"
+
+  cd "$srcdir/cairocffi-$pkgver-py2/cairocffi"
+  LC_CTYPE=en_US.utf8 py.test2 || warning "Tests failed"
+}
+
+package_python-cairocffi() {
+  depends=('python-cffi' 'cairo')
+  optdepends=('python-xcffib: for xcb support'
+              'gdk-pixbuf2: for cairocffi.pixbuf')
+
+  cd "$srcdir/cairocffi-$pkgver"
+  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-cairocffi() {
+  depends=('python2-cffi' 'cairo')
+  optdepends=('python2-xcffib: for xcb support'
+              'gdk-pixbuf2: for cairocffi.pixbuf')
+
+  cd "$srcdir/cairocffi-$pkgver-py2"
+  python2 setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list