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

Jelle van der Waa jelle at archlinux.org
Wed May 13 09:28:36 UTC 2020


    Date: Wednesday, May 13, 2020 @ 09:28:35
  Author: jelle
Revision: 627558

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   83 ++++++++++++++++++++++---------------------------------------
 1 file changed, 31 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-13 09:28:24 UTC (rev 627557)
+++ PKGBUILD	2020-05-13 09:28:35 UTC (rev 627558)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Roger Duran <rogerduran at gmail.com>
-
-pkgbase=python-xcffib
-pkgname=(python-xcffib python2-xcffib)
-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"
-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")
-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')
-
-  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
-}

Copied: python-xcffib/repos/community-any/PKGBUILD (from rev 627557, python-xcffib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-13 09:28:35 UTC (rev 627558)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Roger Duran <rogerduran at gmail.com>
+
+pkgname=python-xcffib
+pkgver=0.9.0
+pkgrel=2
+pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
+arch=('any')
+url="https://pypi.python.org/pypi/xcffib"
+license=('Apache')
+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')
+
+build() {
+  cd "$srcdir"/xcffib-$pkgver
+  make xcffib GEN=xcffibgen CABAL=true
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/xcffib-$pkgver
+  xvfb-run nosetests3
+}
+
+package() {
+  cd xcffib-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+}


More information about the arch-commits mailing list