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

Felix Yan felixonmars at archlinux.org
Sun Mar 17 10:50:01 UTC 2019


    Date: Sunday, March 17, 2019 @ 10:50:00
  Author: felixonmars
Revision: 442353

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   71 +++++++++++++++++++++----------------------------------------
 1 file changed, 25 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-17 10:49:42 UTC (rev 442352)
+++ PKGBUILD	2019-03-17 10:50:00 UTC (rev 442353)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-xpybutil
-pkgname=(python-xpybutil python2-xpybutil)
-pkgver=0.0.5
-pkgrel=2
-pkgdesc="An incomplete xcb-util port plus some extras"
-arch=('any')
-url="https://github.com/BurntSushi/xpybutil"
-license=('custom:WTFPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-xcffib' 'python2-xcffib')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/BurntSushi/xpybutil/archive/$pkgver.tar.gz")
-sha512sums=('fdae21af40737715722e0650f436329358c475a6d2fee5b260b0655f71234e8c9639516927e78836ed54651780a6998593535680bda6e7feef38295f6f4a0442')
-
-prepare() {
-  cp -a xpybutil-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir/xpybutil-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/xpybutil-$pkgver-py2"
-  python2 setup.py build
-}
-
-package_python-xpybutil() {
-  depends=('python-xcffib')
-
-  cd "${srcdir}/xpybutil-$pkgver"
-  python setup.py install --root="${pkgdir}/" --optimize=1
-
-  install -Dm664 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-  mv "$pkgdir/usr/share/doc/"{,python-}xpybutil
-}
-
-package_python2-xpybutil() {
-  depends=('python2-xcffib')
-
-  cd "${srcdir}/xpybutil-$pkgver-py2"
-  python2 setup.py install --root="${pkgdir}/" --optimize=1
-
-  install -Dm664 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-  mv "$pkgdir/usr/share/doc/"{,python2-}xpybutil
-}

Copied: python-xpybutil/repos/community-any/PKGBUILD (from rev 442352, python-xpybutil/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-17 10:50:00 UTC (rev 442353)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-xpybutil
+pkgver=0.0.5
+pkgrel=3
+pkgdesc="An incomplete xcb-util port plus some extras"
+arch=('any')
+url="https://github.com/BurntSushi/xpybutil"
+license=('custom:WTFPL')
+depends=('python-xcffib')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/BurntSushi/xpybutil/archive/$pkgver.tar.gz")
+sha512sums=('fdae21af40737715722e0650f436329358c475a6d2fee5b260b0655f71234e8c9639516927e78836ed54651780a6998593535680bda6e7feef38295f6f4a0442')
+
+build() {
+  cd xpybutil-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd xpybutil-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -Dm664 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+  mv "$pkgdir/usr/share/doc/"{,python-}xpybutil
+}


More information about the arch-commits mailing list