[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 14:01:42
  Author: felixonmars
Revision: 788116

upgpkg: python-xcffib 0.11.1-1

Modified:
  python-xcffib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-24 14:00:19 UTC (rev 788115)
+++ PKGBUILD2020-12-24 14:01:42 UTC (rev 788116)
@@ -2,7 +2,7 @@
 # Contributor: Roger Duran 
 
 pkgname=python-xcffib
-pkgver=0.11.0
+pkgver=0.11.1
 pkgrel=1
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
@@ -12,7 +12,7 @@
 makedepends=('python-setuptools' 'python-cffi' 'python-six' 'libxcb' 
'haskell-xcffib')
 checkdepends=('python-nose' 'xorg-server-xvfb' 'xorg-xeyes')
 
source=("https://github.com/tych0/xcffib/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('b7e1f7b346cd07f6c4c31cf9c627155859fe2af5ac59873f4ce0ce3695824cd5fa8ebd6ac9ea8210c2b2681e69fedf0bef847113fd1a1a28fbce33e711e83620')
+sha512sums=('7fa2b6aea16375311c09f2daebab47db6ecb2f64ad39a7657d88bf3bc21dc06e29a91b0e9376bf41518161847d06e6cd36fb672ea7d62da6c128913c66d26f86')
 
 build() {
   cd xcffib-$pkgver


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2020-12-15 Thread Felix Yan via arch-commits
Date: Tuesday, December 15, 2020 @ 17:36:27
  Author: felixonmars
Revision: 776008

upgpkg: python-xcffib 0.11.0-1

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-15 17:33:22 UTC (rev 776007)
+++ PKGBUILD2020-12-15 17:36:27 UTC (rev 776008)
@@ -2,8 +2,8 @@
 # Contributor: Roger Duran 
 
 pkgname=python-xcffib
-pkgver=0.10.1
-pkgrel=3
+pkgver=0.11.0
+pkgrel=1
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;
@@ -11,17 +11,17 @@
 depends=('python-six' 'python-cffi' 'libxcb')
 makedepends=('python-setuptools' 'python-cffi' 'python-six' 'libxcb' 
'haskell-xcffib')
 checkdepends=('python-nose' 'xorg-server-xvfb' 'xorg-xeyes')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/tych0/xcffib/archive/v$pkgver.tar.gz;)
-sha512sums=('62bf10d35b1afc42f91e4f404a2eba6355ca55567dc1a1e8f5dc5b49bec8e1713637ada1c299fab638df1f729085bba3c64a9868ad85486574fa4689745c9d04')
+source=("https://github.com/tych0/xcffib/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('b7e1f7b346cd07f6c4c31cf9c627155859fe2af5ac59873f4ce0ce3695824cd5fa8ebd6ac9ea8210c2b2681e69fedf0bef847113fd1a1a28fbce33e711e83620')
 
 build() {
-  cd "$srcdir"/xcffib-$pkgver
+  cd xcffib-$pkgver
   make xcffib GEN=xcffibgen CABAL=true
   python setup.py build
 }
 
 check() {
-  cd "$srcdir"/xcffib-$pkgver
+  cd xcffib-$pkgver
   xvfb-run nosetests3
 }
 


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2020-11-12 Thread Felix Yan via arch-commits
Date: Thursday, November 12, 2020 @ 12:08:01
  Author: felixonmars
Revision: 751668

upgpkg: python-xcffib 0.10.1-3: Python 3.9 rebuild

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 12:07:59 UTC (rev 751667)
+++ PKGBUILD2020-11-12 12:08:01 UTC (rev 751668)
@@ -3,7 +3,7 @@
 
 pkgname=python-xcffib
 pkgver=0.10.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2020-11-09 Thread Evangelos Foutras via arch-commits
Date: Monday, November 9, 2020 @ 18:17:29
  Author: foutrelis
Revision: 747933

upgpkg: python-xcffib 0.10.1-2: Python 3.9 rebuild

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 18:17:27 UTC (rev 747932)
+++ PKGBUILD2020-11-09 18:17:29 UTC (rev 747933)
@@ -3,7 +3,7 @@
 
 pkgname=python-xcffib
 pkgver=0.10.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2020-07-23 Thread Felix Yan via arch-commits
Date: Thursday, July 23, 2020 @ 19:45:11
  Author: felixonmars
Revision: 665067

upgpkg: python-xcffib 0.10.1-1

Modified:
  python-xcffib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-07-23 19:41:11 UTC (rev 665066)
+++ PKGBUILD2020-07-23 19:45:11 UTC (rev 665067)
@@ -2,7 +2,7 @@
 # Contributor: Roger Duran 
 
 pkgname=python-xcffib
-pkgver=0.10.0
+pkgver=0.10.1
 pkgrel=1
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
@@ -12,7 +12,7 @@
 makedepends=('python-setuptools' 'python-cffi' 'python-six' 'libxcb' 
'haskell-xcffib')
 checkdepends=('python-nose' 'xorg-server-xvfb' 'xorg-xeyes')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/tych0/xcffib/archive/v$pkgver.tar.gz;)
-sha512sums=('fdf0bbeba709d2b4c83e51d8fe1b9aea97165f72ff2cd483daf3f837e179619e8e651ac925ac1a46b57becc5fec6b5c07f925f683bd6ad592489ef5a43737151')
+sha512sums=('62bf10d35b1afc42f91e4f404a2eba6355ca55567dc1a1e8f5dc5b49bec8e1713637ada1c299fab638df1f729085bba3c64a9868ad85486574fa4689745c9d04')
 
 build() {
   cd "$srcdir"/xcffib-$pkgver


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2020-07-20 Thread Felix Yan via arch-commits
Date: Tuesday, July 21, 2020 @ 04:52:15
  Author: felixonmars
Revision: 664680

upgpkg: python-xcffib 0.10.0-1

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-21 04:50:25 UTC (rev 664679)
+++ PKGBUILD2020-07-21 04:52:15 UTC (rev 664680)
@@ -2,8 +2,8 @@
 # Contributor: Roger Duran 
 
 pkgname=python-xcffib
-pkgver=0.9.0
-pkgrel=3
+pkgver=0.10.0
+pkgrel=1
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;
@@ -12,7 +12,7 @@
 makedepends=('python-setuptools' 'python-cffi' 'python-six' 'libxcb' 
'haskell-xcffib')
 checkdepends=('python-nose' 'xorg-server-xvfb' 'xorg-xeyes')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/tych0/xcffib/archive/v$pkgver.tar.gz;)
-sha512sums=('1299ff124d5ecb91c9551fb583741901f0635d9b3685da0436a14ebfdfdcc5bdec558a457400a27a22ffe2b99649250b3ef74223f27f8ac3a267a69314b509fb')
+sha512sums=('fdf0bbeba709d2b4c83e51d8fe1b9aea97165f72ff2cd483daf3f837e179619e8e651ac925ac1a46b57becc5fec6b5c07f925f683bd6ad592489ef5a43737151')
 
 build() {
   cd "$srcdir"/xcffib-$pkgver


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2020-07-20 Thread Felix Yan via arch-commits
Date: Tuesday, July 21, 2020 @ 04:49:25
  Author: felixonmars
Revision: 664676

upgpkg: python-xcffib 0.9.0-3: rebuild with xcffib 0.10.0

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-21 04:32:23 UTC (rev 664675)
+++ PKGBUILD2020-07-21 04:49:25 UTC (rev 664676)
@@ -3,7 +3,7 @@
 
 pkgname=python-xcffib
 pkgver=0.9.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2020-05-13 Thread Jelle van der Waa via arch-commits
Date: Wednesday, May 13, 2020 @ 09:28:24
  Author: jelle
Revision: 627557

Remove unused python2 module

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |   35 +++
 1 file changed, 7 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-13 09:27:22 UTC (rev 627556)
+++ PKGBUILD2020-05-13 09:28:24 UTC (rev 627557)
@@ -1,52 +1,31 @@
 # Maintainer: Felix Yan 
 # Contributor: Roger Duran 
 
-pkgbase=python-xcffib
-pkgname=(python-xcffib python2-xcffib)
+pkgname=python-xcffib
 pkgver=0.9.0
-pkgrel=1
+pkgrel=2
 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' 'haskell-xcffib')
-checkdepends=('python-nose' 'python2-nose' 'xorg-server-xvfb' 'xorg-xeyes')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/tych0/xcffib/archive/v$pkgver.tar.gz;)
+depends=('python-six' 'python-cffi' 'libxcb')
+makedepends=('python-setuptools' 'python-cffi' 'python-six' 'libxcb' 
'haskell-xcffib')
+checkdepends=('python-nose' 'xorg-server-xvfb' 'xorg-xeyes')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tych0/xcffib/archive/v$pkgver.tar.gz;)
 
sha512sums=('1299ff124d5ecb91c9551fb583741901f0635d9b3685da0436a14ebfdfdcc5bdec558a457400a27a22ffe2b99649250b3ef74223f27f8ac3a267a69314b509fb')
 
-prepare() {
-  cp -a xcffib-$pkgver{,-py2}
-}
-
 build() {
   cd "$srcdir"/xcffib-$pkgver
   make xcffib GEN=xcffibgen CABAL=true
   python setup.py build
-
-  cd "$srcdir"/xcffib-$pkgver-py2
-  make xcffib GEN=xcffibgen CABAL=true
-  python2 setup.py build
 }
 
 check() {
   cd "$srcdir"/xcffib-$pkgver
   xvfb-run nosetests3
-
-  cd "$srcdir"/xcffib-$pkgver-py2
-  xvfb-run nosetests2
 }
 
-package_python-xcffib() {
-  depends=('python-six' 'python-cffi' 'libxcb')
-
+package() {
   cd xcffib-$pkgver
   python setup.py install --root="$pkgdir/" --optimize=1
 }
-
-package_python2-xcffib() {
-  depends=('python2-six' 'python2-cffi' 'libxcb')
-
-  cd xcffib-$pkgver-py2
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-}


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2019-12-31 Thread Felix Yan via arch-commits
Date: Wednesday, January 1, 2020 @ 07:40:50
  Author: felixonmars
Revision: 545741

upgpkg: python-xcffib 0.9.0-1: rebuild with xcffib 0.9.0

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-01 07:39:22 UTC (rev 545740)
+++ PKGBUILD2020-01-01 07:40:50 UTC (rev 545741)
@@ -3,8 +3,8 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.8.1
-pkgrel=4
+pkgver=0.9.0
+pkgrel=1
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;
@@ -13,7 +13,7 @@
  'python2-six' 'libxcb' 'haskell-xcffib')
 checkdepends=('python-nose' 'python2-nose' 'xorg-server-xvfb' 'xorg-xeyes')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/tych0/xcffib/archive/v$pkgver.tar.gz;)
-sha512sums=('ad1f643191e9f6ae4bd50e4b05c5d5ca144553414950877bf9fa371c0a5a607db3a3efd0009e64a4a392a824075af3f5bf0cbca91861b3b29c98bf58e8a5e7ab')
+sha512sums=('1299ff124d5ecb91c9551fb583741901f0635d9b3685da0436a14ebfdfdcc5bdec558a457400a27a22ffe2b99649250b3ef74223f27f8ac3a267a69314b509fb')
 
 prepare() {
   cp -a xcffib-$pkgver{,-py2}


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2019-11-02 Thread Felix Yan via arch-commits
Date: Saturday, November 2, 2019 @ 22:37:56
  Author: felixonmars
Revision: 522369

Python 3.8 rebuild

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-02 22:37:55 UTC (rev 522368)
+++ PKGBUILD2019-11-02 22:37:56 UTC (rev 522369)
@@ -4,7 +4,7 @@
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
 pkgver=0.8.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2019-10-25 Thread Felix Yan via arch-commits
Date: Saturday, October 26, 2019 @ 04:38:32
  Author: felixonmars
Revision: 520071

Python 3.8 rebuild

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-26 04:38:28 UTC (rev 520070)
+++ PKGBUILD2019-10-26 04:38:32 UTC (rev 520071)
@@ -4,7 +4,7 @@
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
 pkgver=0.8.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2019-10-25 Thread Felix Yan via arch-commits
Date: Saturday, October 26, 2019 @ 04:29:20
  Author: felixonmars
Revision: 520015

Python 3.8 rebuild

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-26 04:29:19 UTC (rev 520014)
+++ PKGBUILD2019-10-26 04:29:20 UTC (rev 520015)
@@ -4,7 +4,7 @@
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
 pkgver=0.8.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2019-06-13 Thread Felix Yan via arch-commits
Date: Thursday, June 13, 2019 @ 19:46:52
  Author: felixonmars
Revision: 481304

upgpkg: python-xcffib 0.8.1-1

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-13 19:43:02 UTC (rev 481303)
+++ PKGBUILD2019-06-13 19:46:52 UTC (rev 481304)
@@ -3,7 +3,7 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.8.0
+pkgver=0.8.1
 pkgrel=1
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
@@ -13,7 +13,7 @@
  'python2-six' 'libxcb' 'haskell-xcffib')
 checkdepends=('python-nose' 'python2-nose' 'xorg-server-xvfb' 'xorg-xeyes')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/tych0/xcffib/archive/v$pkgver.tar.gz;)
-sha512sums=('d7dbcb8cc2f3d9376df6466459596ceface6db79f71ee06ae354b84e26e660212befc4082ed84ed3fdd48b6373babe0989d5dbe76f5cc900aa2295ae385a2deb')
+sha512sums=('ad1f643191e9f6ae4bd50e4b05c5d5ca144553414950877bf9fa371c0a5a607db3a3efd0009e64a4a392a824075af3f5bf0cbca91861b3b29c98bf58e8a5e7ab')
 
 prepare() {
   cp -a xcffib-$pkgver{,-py2}
@@ -31,10 +31,10 @@
 
 check() {
   cd "$srcdir"/xcffib-$pkgver
-  nosetests3
+  xvfb-run nosetests3
 
   cd "$srcdir"/xcffib-$pkgver-py2
-  nosetests2
+  xvfb-run nosetests2
 }
 
 package_python-xcffib() {


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2019-05-07 Thread Felix Yan via arch-commits
Date: Tuesday, May 7, 2019 @ 09:22:10
  Author: felixonmars
Revision: 461920

upgpkg: python-xcffib 0.8.0-1

rebuild with xcffib 0.8.0

Modified:
  python-xcffib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-05-07 09:20:50 UTC (rev 461919)
+++ PKGBUILD2019-05-07 09:22:10 UTC (rev 461920)
@@ -3,7 +3,7 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.7.0
+pkgver=0.8.0
 pkgrel=1
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
@@ -13,7 +13,7 @@
  'python2-six' 'libxcb' 'haskell-xcffib')
 checkdepends=('python-nose' 'python2-nose' 'xorg-server-xvfb' 'xorg-xeyes')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/tych0/xcffib/archive/v$pkgver.tar.gz;)
-sha512sums=('e0c1eb7fd86baf5e9f0f0916651cebc41bc18de3594b76da299967363492ac86499082872ba4dff8cf776354fc35accbd4d2f86ed4570f0d8f77bd5d20ddf1d8')
+sha512sums=('d7dbcb8cc2f3d9376df6466459596ceface6db79f71ee06ae354b84e26e660212befc4082ed84ed3fdd48b6373babe0989d5dbe76f5cc900aa2295ae385a2deb')
 
 prepare() {
   cp -a xcffib-$pkgver{,-py2}


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2019-02-14 Thread Felix Yan via arch-commits
Date: Thursday, February 14, 2019 @ 18:27:54
  Author: felixonmars
Revision: 432234

upgpkg: python-xcffib 0.6.0-3

rebuild with xcb-types 0.10.0

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-14 18:27:50 UTC (rev 432233)
+++ PKGBUILD2019-02-14 18:27:54 UTC (rev 432234)
@@ -4,7 +4,7 @@
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
 pkgver=0.6.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2018-07-13 Thread Evangelos Foutras via arch-commits
Date: Friday, July 13, 2018 @ 19:48:39
  Author: foutrelis
Revision: 358780

Python 3.7 rebuild

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-13 19:48:38 UTC (rev 358779)
+++ PKGBUILD2018-07-13 19:48:39 UTC (rev 358780)
@@ -5,7 +5,7 @@
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
 pkgver=0.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2018-03-06 Thread Felix Yan via arch-commits
Date: Wednesday, March 7, 2018 @ 06:41:01
  Author: felixonmars
Revision: 303464

upgpkg: python-xcffib 0.6.0-1

rebuild with xcffib,0.6.0

Modified:
  python-xcffib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-03-07 06:39:53 UTC (rev 303463)
+++ PKGBUILD2018-03-07 06:41:01 UTC (rev 303464)
@@ -4,7 +4,7 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.5.1
+pkgver=0.6.0
 pkgrel=1
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
@@ -11,30 +11,30 @@
 url="https://pypi.python.org/pypi/xcffib;
 license=('Apache')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 
'python2-cffi' 'python-six'
- 'python2-six' 'libxcb' 'git' 'haskell-xcffib')
+ 'python2-six' 'libxcb' 'haskell-xcffib')
 checkdepends=('python-nose' 'python2-nose' 'xorg-server-xvfb' 'xorg-xeyes')
-source=("git+https://github.com/tych0/xcffib.git#tag=v$pkgver;)
-md5sums=('SKIP')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/tych0/xcffib/archive/v$pkgver.tar.gz;)
+sha512sums=('be163991bc68d7e6c08420b97afe227f013014b64a4ab84b44101c01252dbc90778dfc55d1d8a8cc7dc7bdd5209403d4536cddeeac1591be940e915e76daddcf')
 
 prepare() {
-  cp -a xcffib{,-py2}
+  cp -a xcffib-$pkgver{,-py2}
 }
 
 build() {
-  cd "$srcdir/xcffib"
+  cd "$srcdir"/xcffib-$pkgver
   make xcffib GEN=xcffibgen CABAL=true
   python setup.py build
 
-  cd "$srcdir/xcffib-py2"
+  cd "$srcdir"/xcffib-$pkgver-py2
   make xcffib GEN=xcffibgen CABAL=true
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir/xcffib"
+  cd "$srcdir"/xcffib-$pkgver
   nosetests3
 
-  cd "$srcdir/xcffib-py2"
+  cd "$srcdir"/xcffib-$pkgver-py2
   nosetests2
 }
 
@@ -41,7 +41,7 @@
 package_python-xcffib() {
   depends=('python-six' 'python-cffi' 'libxcb')
 
-  cd "$srcdir/xcffib"
+  cd xcffib-$pkgver
   python setup.py install --root="$pkgdir/" --optimize=1
 }
 
@@ -48,6 +48,6 @@
 package_python2-xcffib() {
   depends=('python2-six' 'python2-cffi' 'libxcb')
 
-  cd "$srcdir/xcffib-py2"
+  cd xcffib-$pkgver-py2
   python2 setup.py install --root="$pkgdir/" --optimize=1
 }


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2017-02-03 Thread Felix Yan
Date: Saturday, February 4, 2017 @ 07:34:15
  Author: felixonmars
Revision: 209822

upgpkg: python-xcffib 0.5.1-1

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |7 +--
 1 file changed, 1 insertion(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-02-04 07:31:20 UTC (rev 209821)
+++ PKGBUILD2017-02-04 07:34:15 UTC (rev 209822)
@@ -4,7 +4,7 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.5.0
+pkgver=0.5.1
 pkgrel=1
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
@@ -17,9 +17,6 @@
 md5sums=('SKIP')
 
 prepare() {
-  # Somehow broken, we do it ourselves
-  sed -i '/ffi_build.py/d' xcffib/Makefile
-
   cp -a xcffib{,-py2}
 }
 
@@ -26,12 +23,10 @@
 build() {
   cd "$srcdir/xcffib"
   make xcffib GEN=xcffibgen CABAL=true
-  python xcffib/ffi_build.py
   python setup.py build
 
   cd "$srcdir/xcffib-py2"
   make xcffib GEN=xcffibgen CABAL=true
-  python2 xcffib/ffi_build.py
   python2 setup.py build
 }
 


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2017-01-23 Thread Felix Yan
Date: Monday, January 23, 2017 @ 08:25:24
  Author: felixonmars
Revision: 208483

upgpkg: python-xcffib 0.5.0-1

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |   38 --
 1 file changed, 16 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-01-23 08:09:39 UTC (rev 208482)
+++ PKGBUILD2017-01-23 08:25:24 UTC (rev 208483)
@@ -4,49 +4,43 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.4.2
-pkgrel=2
+pkgver=0.5.0
+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' 'haskell-xcb-types' 
'haskell-language-python'
- 'haskell-filemanip' 'haskell-split' 'haskell-semigroups' 
'haskell-mtl'
- 'haskell-attoparsec' 'haskell-hunit' 'cabal-install' 
'haskell-test-framework'
- 'haskell-test-framework-hunit' 'haskell-optparse-applicative')
-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;
-optparse-applicative-0.13.patch)
-md5sums=('SKIP'
- '606b45b06776eee76d3ee84a658952eb')
+ 'python2-six' 'libxcb' 'git' 'haskell-xcffib')
+checkdepends=('python-nose' 'python2-nose' 'xorg-server-xvfb' 'xorg-xeyes')
+source=("git+https://github.com/tych0/xcffib.git#tag=v$pkgver;)
+md5sums=('SKIP')
 
 prepare() {
-  (cd xcffib; patch -p1 -i ../optparse-applicative-0.13.patch)
+  # Somehow broken, we do it ourselves
+  sed -i '/ffi_build.py/d' xcffib/Makefile
 
   cp -a xcffib{,-py2}
-
-  sed -e 's/python /python2 /' \
-  -e 's/nosetests /nosetests2 /' \
-  -e 's/flake8 /flake8-python2 /' \
-  -i xcffib-py2/Makefile
 }
 
 build() {
   cd "$srcdir/xcffib"
-  make xcffib
+  make xcffib GEN=xcffibgen CABAL=true
+  python xcffib/ffi_build.py
+  python setup.py build
 
   cd "$srcdir/xcffib-py2"
-  make xcffib
+  make xcffib GEN=xcffibgen CABAL=true
+  python2 xcffib/ffi_build.py
+  python2 setup.py build
 }
 
 check() {
   cd "$srcdir/xcffib"
-  make check
+  nosetests3
 
   cd "$srcdir/xcffib-py2"
-  make check
+  nosetests2
 }
 
 package_python-xcffib() {


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2016-12-25 Thread Felix Yan
Date: Sunday, December 25, 2016 @ 16:25:33
  Author: felixonmars
Revision: 201890

upgpkg: python-xcffib 0.4.2-2

python 3.6 rebuild

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-25 16:20:03 UTC (rev 201889)
+++ PKGBUILD2016-12-25 16:25:33 UTC (rev 201890)
@@ -5,7 +5,7 @@
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
 pkgver=0.4.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2016-04-29 Thread Felix Yan
Date: Saturday, April 30, 2016 @ 07:02:47
  Author: fyan
Revision: 173005

upgpkg: python-xcffib 0.4.2-1

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-04-30 05:02:45 UTC (rev 173004)
+++ PKGBUILD2016-04-30 05:02:47 UTC (rev 173005)
@@ -4,7 +4,7 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.4.1
+pkgver=0.4.2
 pkgrel=1
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2016-02-10 Thread Felix Yan
Date: Thursday, February 11, 2016 @ 06:44:35
  Author: fyan
Revision: 161094

upgpkg: python-xcffib 0.4.1-1

Modified:
  python-xcffib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-02-11 05:43:36 UTC (rev 161093)
+++ PKGBUILD2016-02-11 05:44:35 UTC (rev 161094)
@@ -4,8 +4,8 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.4.0
-pkgrel=3
+pkgver=0.4.1
+pkgrel=1
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2016-01-20 Thread Felix Yan
Date: Wednesday, January 20, 2016 @ 16:16:37
  Author: fyan
Revision: 158138

upgpkg: python-xcffib 0.4.0-3

rebuild with text-1.2.2.0, primitive-0.6.1.0, HUnit-1.3.1.1

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-20 15:16:08 UTC (rev 158137)
+++ PKGBUILD2016-01-20 15:16:37 UTC (rev 158138)
@@ -5,7 +5,7 @@
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
 pkgver=0.4.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-12-10 Thread Evangelos Foutras
Date: Thursday, December 10, 2015 @ 19:12:00
  Author: foutrelis
Revision: 152513

GHC 7.10.3 rebuild

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-10 18:11:37 UTC (rev 152512)
+++ PKGBUILD2015-12-10 18:12:00 UTC (rev 152513)
@@ -5,7 +5,7 @@
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
 pkgver=0.4.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-11-15 Thread Felix Yan
Date: Monday, November 16, 2015 @ 03:05:18
  Author: fyan
Revision: 146881

upgpkg: python-xcffib 0.4.0-1

Modified:
  python-xcffib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-11-16 01:10:05 UTC (rev 146880)
+++ PKGBUILD2015-11-16 02:05:18 UTC (rev 146881)
@@ -4,8 +4,8 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.3.6
-pkgrel=5
+pkgver=0.4.0
+pkgrel=1
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-10-11 Thread Felix Yan
Date: Monday, October 12, 2015 @ 05:44:49
  Author: fyan
Revision: 143741

upgpkg: python-xcffib 0.3.6-5

use our precompiled haskell packages instead of downloading stuff in prepare()

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |   14 ++
 1 file changed, 6 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-10-12 03:41:27 UTC (rev 143740)
+++ PKGBUILD2015-10-12 03:44:49 UTC (rev 143741)
@@ -5,14 +5,17 @@
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
 pkgver=0.3.6
-pkgrel=4
+pkgrel=5
 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')
+ 'python-six' 'python2-six' 'libxcb' 'git' 'ghc' 
'haskell-xcb-types'
+ 'haskell-language-python' 'haskell-filemanip' 'haskell-split'
+ 'haskell-mtl' 'haskell-attoparsec' 'haskell-hunit' 'cabal-install'
+ 'haskell-test-framework' 'haskell-test-framework-hunit'
+ 'haskell-optparse-applicative')
 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;)
@@ -25,11 +28,6 @@
   -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() {


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-10-06 Thread Felix Yan
Date: Wednesday, October 7, 2015 @ 03:37:51
  Author: fyan
Revision: 143168

GHC 7.10.2 rebuild

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-10-07 01:36:22 UTC (rev 143167)
+++ PKGBUILD2015-10-07 01:37:51 UTC (rev 143168)
@@ -5,7 +5,7 @@
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
 pkgver=0.3.6
-pkgrel=3
+pkgrel=4
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-09-20 Thread Felix Yan
Date: Sunday, September 20, 2015 @ 10:09:34
  Author: fyan
Revision: 141202

upgpkg: python-xcffib 0.3.6-3

rebuild for python 3.5

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-20 07:53:11 UTC (rev 141201)
+++ PKGBUILD2015-09-20 08:09:34 UTC (rev 141202)
@@ -5,7 +5,7 @@
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
 pkgver=0.3.6
-pkgrel=2
+pkgrel=3
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-09-10 Thread Evangelos Foutras
Date: Thursday, September 10, 2015 @ 23:59:58
  Author: foutrelis
Revision: 139889

ncurses 6.0 rebuild.

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-10 21:58:54 UTC (rev 139888)
+++ PKGBUILD2015-09-10 21:59:58 UTC (rev 139889)
@@ -5,7 +5,7 @@
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
 pkgver=0.3.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
 arch=('any')
 url="https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-08-21 Thread Felix Yan
Date: Saturday, August 22, 2015 @ 04:49:13
  Author: fyan
Revision: 138624

upgpkg: python-xcffib 0.3.6-1

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-08-22 01:07:38 UTC (rev 138623)
+++ PKGBUILD2015-08-22 02:49:13 UTC (rev 138624)
@@ -4,7 +4,7 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.3.5
+pkgver=0.3.6
 pkgrel=1
 pkgdesc=Python3 drop in replacement for xpyb, an XCB python binding
 arch=('any')


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-08-09 Thread Felix Yan
Date: Monday, August 10, 2015 @ 04:44:13
  Author: fyan
Revision: 138168

upgpkg: python-xcffib 0.3.5-1

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-08-10 02:39:39 UTC (rev 138167)
+++ PKGBUILD2015-08-10 02:44:13 UTC (rev 138168)
@@ -4,7 +4,7 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.3.4
+pkgver=0.3.5
 pkgrel=1
 pkgdesc=Python3 drop in replacement for xpyb, an XCB python binding
 arch=('any')


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-07-21 Thread Felix Yan
Date: Wednesday, July 22, 2015 @ 07:52:44
  Author: fyan
Revision: 137250

upgpkg: python-xcffib 0.3.4-1

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-07-22 05:51:51 UTC (rev 137249)
+++ PKGBUILD2015-07-22 05:52:44 UTC (rev 137250)
@@ -4,7 +4,7 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.3.2
+pkgver=0.3.4
 pkgrel=1
 pkgdesc=Python3 drop in replacement for xpyb, an XCB python binding
 arch=('any')


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-06-14 Thread Felix Yan
Date: Monday, June 15, 2015 @ 05:15:08
  Author: fyan
Revision: 135314

upgpkg: python-xcffib 0.3.2-1

Modified:
  python-xcffib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-06-15 02:49:15 UTC (rev 135313)
+++ PKGBUILD2015-06-15 03:15:08 UTC (rev 135314)
@@ -4,10 +4,10 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.2.3
+pkgver=0.3.2
 pkgrel=1
 pkgdesc=Python3 drop in replacement for xpyb, an XCB python binding
-arch=('i686' 'x86_64')
+arch=('any')
 url=https://pypi.python.org/pypi/xcffib;
 license=('Apache')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 
'python2-cffi'


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-05-31 Thread Felix Yan
Date: Sunday, May 31, 2015 @ 12:34:31
  Author: fyan
Revision: 134411

upgpkg: python-xcffib 0.2.3-1

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |   43 ---
 1 file changed, 36 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-05-31 10:21:24 UTC (rev 134410)
+++ PKGBUILD2015-05-31 10:34:31 UTC (rev 134411)
@@ -4,7 +4,7 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.2.2
+pkgver=0.2.3
 pkgrel=1
 pkgdesc=Python3 drop in replacement for xpyb, an XCB python binding
 arch=('i686' 'x86_64')
@@ -11,18 +11,47 @@
 url=https://pypi.python.org/pypi/xcffib;
 license=('Apache')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 
'python2-cffi'
- 'python-six' 'python2-six' 'libxcb')
-source=(https://pypi.python.org/packages/source/x/xcffib/xcffib-$pkgver.tar.gz;)
-md5sums=('b398d5c6d8b190848c45287715da1383')
+ '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-$pkgver{,-py2}
+  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-$pkgver
+  cd $srcdir/xcffib
   python setup.py install --root=$pkgdir/ --optimize=1
 }
 
@@ -29,6 +58,6 @@
 package_python2-xcffib() {
   depends=('python2-six' 'python2-cffi' 'libxcb')
 
-  cd $srcdir/xcffib-$pkgver-py2
+  cd $srcdir/xcffib-py2
   python2 setup.py install --root=$pkgdir/ --optimize=1
 }


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-03-29 Thread Felix Yan
Date: Monday, March 30, 2015 @ 05:43:38
  Author: fyan
Revision: 130229

upgpkg: python-xcffib 0.2.2-1

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-30 02:05:48 UTC (rev 130228)
+++ PKGBUILD2015-03-30 03:43:38 UTC (rev 130229)
@@ -4,8 +4,8 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.2.0
-pkgrel=2
+pkgver=0.2.2
+pkgrel=1
 pkgdesc=Python3 drop in replacement for xpyb, an XCB python binding
 arch=('i686' 'x86_64')
 url=https://pypi.python.org/pypi/xcffib;
@@ -13,7 +13,7 @@
 makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 
'python2-cffi'
  'python-six' 'python2-six' 'libxcb')
 
source=(https://pypi.python.org/packages/source/x/xcffib/xcffib-$pkgver.tar.gz;)
-md5sums=('8242f543ff678621687dad01538259b8')
+md5sums=('b398d5c6d8b190848c45287715da1383')
 
 prepare() {
   cp -a xcffib-$pkgver{,-py2}


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-03-28 Thread Felix Yan
Date: Saturday, March 28, 2015 @ 18:45:21
  Author: fyan
Revision: 130169

upgpkg: python-xcffib 0.2.0-2

rebuild against python 3.4.3-2 (fix missing symbols)

Modified:
  python-xcffib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-28 17:45:13 UTC (rev 130168)
+++ PKGBUILD2015-03-28 17:45:21 UTC (rev 130169)
@@ -5,7 +5,7 @@
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
 pkgver=0.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc=Python3 drop in replacement for xpyb, an XCB python binding
 arch=('i686' 'x86_64')
 url=https://pypi.python.org/pypi/xcffib;


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-02-16 Thread Felix Yan
Date: Tuesday, February 17, 2015 @ 03:18:12
  Author: fyan
Revision: 127824

upgpkg: python-xcffib 0.2.0-1

Modified:
  python-xcffib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-02-17 02:15:28 UTC (rev 127823)
+++ PKGBUILD2015-02-17 02:18:12 UTC (rev 127824)
@@ -4,7 +4,7 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.1.11
+pkgver=0.2.0
 pkgrel=1
 pkgdesc=Python3 drop in replacement for xpyb, an XCB python binding
 arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@
 makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 
'python2-cffi'
  'python-six' 'python2-six' 'libxcb')
 
source=(https://pypi.python.org/packages/source/x/xcffib/xcffib-$pkgver.tar.gz;)
-md5sums=('a142ab769262fa60f1abbc68921ec4c7')
+md5sums=('8242f543ff678621687dad01538259b8')
 
 prepare() {
   cp -a xcffib-$pkgver{,-py2}


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-02-01 Thread Felix Yan
Date: Sunday, February 1, 2015 @ 09:17:37
  Author: fyan
Revision: 126899

upgpkg: python-xcffib 0.1.11-1

Modified:
  python-xcffib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-02-01 04:56:05 UTC (rev 126898)
+++ PKGBUILD2015-02-01 08:17:37 UTC (rev 126899)
@@ -4,7 +4,7 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.1.10
+pkgver=0.1.11
 pkgrel=1
 pkgdesc=Python3 drop in replacement for xpyb, an XCB python binding
 arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@
 makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 
'python2-cffi'
  'python-six' 'python2-six' 'libxcb')
 
source=(https://pypi.python.org/packages/source/x/xcffib/xcffib-$pkgver.tar.gz;)
-md5sums=('4481d40c16fa5511d2d0c9fdc05645ab')
+md5sums=('a142ab769262fa60f1abbc68921ec4c7')
 
 prepare() {
   cp -a xcffib-$pkgver{,-py2}


[arch-commits] Commit in python-xcffib/trunk (PKGBUILD)

2015-01-14 Thread Felix Yan
Date: Thursday, January 15, 2015 @ 06:16:00
  Author: fyan
Revision: 125944

upgpkg: python-xcffib 0.1.10-1

upstream new release

Modified:
  python-xcffib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-01-15 05:15:54 UTC (rev 125943)
+++ PKGBUILD2015-01-15 05:16:00 UTC (rev 125944)
@@ -4,7 +4,7 @@
 
 pkgbase=python-xcffib
 pkgname=(python-xcffib python2-xcffib)
-pkgver=0.1.9
+pkgver=0.1.10
 pkgrel=1
 pkgdesc=Python3 drop in replacement for xpyb, an XCB python binding
 arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@
 makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 
'python2-cffi'
  'python-six' 'python2-six' 'libxcb')
 
source=(https://pypi.python.org/packages/source/x/xcffib/xcffib-$pkgver.tar.gz;)
-md5sums=('bf9833c670c9dd0049e63cb7d58b536f')
+md5sums=('4481d40c16fa5511d2d0c9fdc05645ab')
 
 prepare() {
   cp -a xcffib-$pkgver{,-py2}