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

Felix Yan fyan at archlinux.org
Wed Jul 22 05:59:20 UTC 2015


    Date: Wednesday, July 22, 2015 @ 07:59:20
  Author: fyan
Revision: 137251

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-22 05:52:44 UTC (rev 137250)
+++ PKGBUILD	2015-07-22 05:59:20 UTC (rev 137251)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Roger Duran <rogerduran at gmail.com>
-
-pkgbase=python-xcffib
-pkgname=(python-xcffib python2-xcffib)
-pkgver=0.3.2
-pkgrel=1
-pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
-arch=('any')
-url="https://pypi.python.org/pypi/xcffib"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 'python2-cffi'
-             'python-six' 'python2-six' 'libxcb' 'git' 'ghc' 'cabal-install'
-             'happy' 'alex')
-checkdepends=('flake8' 'python2-flake8' 'parallel' 'python-nose' 'python2-nose'
-              'xorg-server-xvfb' 'xorg-xeyes')
-source=("git+https://github.com/tych0/xcffib.git#tag=v$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a xcffib{,-py2}
-
-  sed -e 's/python /python2 /' \
-      -e 's/nosetests /nosetests2 /' \
-      -e 's/flake8 /flake8-python2 /' \
-      -i xcffib-py2/Makefile
-
-  cd xcffib
-  cabal update
-  cabal install --only-dependencies --enable-tests
-  cabal configure --enable-tests
-}
-
-build() {
-  cd "$srcdir/xcffib"
-  make xcffib
-
-  cd "$srcdir/xcffib-py2"
-  make xcffib
-}
-
-check() {
-  cd "$srcdir/xcffib"
-  make check
-
-  cd "$srcdir/xcffib-py2"
-  make check
-}
-
-package_python-xcffib() {
-  depends=('python-six' 'python-cffi' 'libxcb')
-
-  cd "$srcdir/xcffib"
-  python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-xcffib() {
-  depends=('python2-six' 'python2-cffi' 'libxcb')
-
-  cd "$srcdir/xcffib-py2"
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-}

Copied: python-xcffib/repos/community-any/PKGBUILD (from rev 137250, python-xcffib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-07-22 05:59:20 UTC (rev 137251)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Roger Duran <rogerduran at gmail.com>
+
+pkgbase=python-xcffib
+pkgname=(python-xcffib python2-xcffib)
+pkgver=0.3.4
+pkgrel=1
+pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
+arch=('any')
+url="https://pypi.python.org/pypi/xcffib"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 'python2-cffi'
+             'python-six' 'python2-six' 'libxcb' 'git' 'ghc' 'cabal-install'
+             'happy' 'alex')
+checkdepends=('flake8' 'python2-flake8' 'parallel' 'python-nose' 'python2-nose'
+              'xorg-server-xvfb' 'xorg-xeyes')
+source=("git+https://github.com/tych0/xcffib.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a xcffib{,-py2}
+
+  sed -e 's/python /python2 /' \
+      -e 's/nosetests /nosetests2 /' \
+      -e 's/flake8 /flake8-python2 /' \
+      -i xcffib-py2/Makefile
+
+  cd xcffib
+  cabal update
+  cabal install --only-dependencies --enable-tests
+  cabal configure --enable-tests
+}
+
+build() {
+  cd "$srcdir/xcffib"
+  make xcffib
+
+  cd "$srcdir/xcffib-py2"
+  make xcffib
+}
+
+check() {
+  cd "$srcdir/xcffib"
+  make check
+
+  cd "$srcdir/xcffib-py2"
+  make check
+}
+
+package_python-xcffib() {
+  depends=('python-six' 'python-cffi' 'libxcb')
+
+  cd "$srcdir/xcffib"
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-xcffib() {
+  depends=('python2-six' 'python2-cffi' 'libxcb')
+
+  cd "$srcdir/xcffib-py2"
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+}



More information about the arch-commits mailing list