[arch-commits] Commit in python-xcffib/repos/community-any (4 files)
Felix Yan
felixonmars at archlinux.org
Sat Feb 4 07:34:31 UTC 2017
Date: Saturday, February 4, 2017 @ 07:34:30
Author: felixonmars
Revision: 209823
archrelease: copy trunk to community-any
Added:
python-xcffib/repos/community-any/PKGBUILD
(from rev 209822, python-xcffib/trunk/PKGBUILD)
python-xcffib/repos/community-any/optparse-applicative-0.13.patch
(from rev 209822, python-xcffib/trunk/optparse-applicative-0.13.patch)
Deleted:
python-xcffib/repos/community-any/PKGBUILD
python-xcffib/repos/community-any/optparse-applicative-0.13.patch
---------------------------------+
PKGBUILD | 111 ++++++++++++++++++--------------------
optparse-applicative-0.13.patch | 78 +++++++++++++-------------
2 files changed, 92 insertions(+), 97 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-04 07:34:15 UTC (rev 209822)
+++ PKGBUILD 2017-02-04 07:34:30 UTC (rev 209823)
@@ -1,58 +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.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' '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() {
- # Somehow broken, we do it ourselves
- sed -i '/ffi_build.py/d' xcffib/Makefile
-
- cp -a xcffib{,-py2}
-}
-
-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
-}
-
-check() {
- cd "$srcdir/xcffib"
- nosetests3
-
- cd "$srcdir/xcffib-py2"
- nosetests2
-}
-
-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 209822, python-xcffib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-02-04 07:34:30 UTC (rev 209823)
@@ -0,0 +1,53 @@
+# $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.5.1
+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' '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() {
+ cp -a xcffib{,-py2}
+}
+
+build() {
+ cd "$srcdir/xcffib"
+ make xcffib GEN=xcffibgen CABAL=true
+ python setup.py build
+
+ cd "$srcdir/xcffib-py2"
+ make xcffib GEN=xcffibgen CABAL=true
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/xcffib"
+ nosetests3
+
+ cd "$srcdir/xcffib-py2"
+ nosetests2
+}
+
+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
+}
Deleted: optparse-applicative-0.13.patch
===================================================================
--- optparse-applicative-0.13.patch 2017-02-04 07:34:15 UTC (rev 209822)
+++ optparse-applicative-0.13.patch 2017-02-04 07:34:30 UTC (rev 209823)
@@ -1,39 +0,0 @@
-From e0bd193a756235e3186b2b7464ee61025ff3e344 Mon Sep 17 00:00:00 2001
-From: Tycho Andersen <tycho at tycho.ws>
-Date: Sun, 18 Sep 2016 19:30:32 -0600
-Subject: [PATCH] fix build with latest verison of optparse-applicative
-
-Apparently it stopped exporting <>, so let's import that by hand.
-
-Signed-off-by: Tycho Andersen <tycho at tycho.ws>
----
- generator/xcffibgen.hs | 1 +
- xcffib.cabal | 3 ++-
- 2 files changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/generator/xcffibgen.hs b/generator/xcffibgen.hs
-index 52d89a5..bbad4de 100644
---- a/generator/xcffibgen.hs
-+++ b/generator/xcffibgen.hs
-@@ -16,6 +16,7 @@
- module Main where
-
-
-+import Data.Semigroup
- import Data.XCB.Types
- import Data.XCB.Python.Parse
-
-diff --git a/xcffib.cabal b/xcffib.cabal
-index 711cae3..8ee3222 100644
---- a/xcffib.cabal
-+++ b/xcffib.cabal
-@@ -54,7 +54,8 @@ executable xcffibgen
- containers,
- mtl >= 2.1,
- attoparsec,
-- bytestring
-+ bytestring,
-+ semigroups
- ghc-options: -Wall
-
- test-suite PyHelpersTests
Copied: python-xcffib/repos/community-any/optparse-applicative-0.13.patch (from rev 209822, python-xcffib/trunk/optparse-applicative-0.13.patch)
===================================================================
--- optparse-applicative-0.13.patch (rev 0)
+++ optparse-applicative-0.13.patch 2017-02-04 07:34:30 UTC (rev 209823)
@@ -0,0 +1,39 @@
+From e0bd193a756235e3186b2b7464ee61025ff3e344 Mon Sep 17 00:00:00 2001
+From: Tycho Andersen <tycho at tycho.ws>
+Date: Sun, 18 Sep 2016 19:30:32 -0600
+Subject: [PATCH] fix build with latest verison of optparse-applicative
+
+Apparently it stopped exporting <>, so let's import that by hand.
+
+Signed-off-by: Tycho Andersen <tycho at tycho.ws>
+---
+ generator/xcffibgen.hs | 1 +
+ xcffib.cabal | 3 ++-
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/generator/xcffibgen.hs b/generator/xcffibgen.hs
+index 52d89a5..bbad4de 100644
+--- a/generator/xcffibgen.hs
++++ b/generator/xcffibgen.hs
+@@ -16,6 +16,7 @@
+ module Main where
+
+
++import Data.Semigroup
+ import Data.XCB.Types
+ import Data.XCB.Python.Parse
+
+diff --git a/xcffib.cabal b/xcffib.cabal
+index 711cae3..8ee3222 100644
+--- a/xcffib.cabal
++++ b/xcffib.cabal
+@@ -54,7 +54,8 @@ executable xcffibgen
+ containers,
+ mtl >= 2.1,
+ attoparsec,
+- bytestring
++ bytestring,
++ semigroups
+ ghc-options: -Wall
+
+ test-suite PyHelpersTests
More information about the arch-commits
mailing list