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
===================================================================
--- PKGBUILD    2018-03-07 06:39:53 UTC (rev 303463)
+++ PKGBUILD    2018-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
 }

Reply via email to