[arch-commits] Commit in python-pyperclip/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Mar 21 01:21:24 UTC 2016
Date: Monday, March 21, 2016 @ 02:21:23
Author: fyan
Revision: 167765
archrelease: copy trunk to community-any
Added:
python-pyperclip/repos/community-any/PKGBUILD
(from rev 167764, python-pyperclip/trunk/PKGBUILD)
Deleted:
python-pyperclip/repos/community-any/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-21 01:21:06 UTC (rev 167764)
+++ PKGBUILD 2016-03-21 01:21:23 UTC (rev 167765)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Jim Bridgewater <jwbwater at gmail dot com>
-# Contributor: delta48 <dark.magician.48[at]gmail[dot]com>
-
-pkgbase=python-pyperclip
-pkgname=('python-pyperclip' 'python2-pyperclip')
-_pypiname=pyperclip
-pkgver=1.5.26
-_commit=8f26a5932bcf8a0cb73d7527f3572e9b03e8c14d
-pkgrel=1
-pkgdesc="A cross-platform clipboard module for Python"
-arch=('any')
-url="https://github.com/asweigart/pyperclip"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-# GTK/Qt tests crash xvfb, and Klipper tests require a running klipper
-checkdepends=('xorg-server-xvfb' 'python-pytest' 'python2-pytest'
- 'xsel' 'xclip')
-source=("git+https://github.com/asweigart/pyperclip.git#commit=$_commit")
-md5sums=('SKIP')
-
-prepare() {
- cp -a $_pypiname{,-py2}
-}
-
-check() {
- cd "$srcdir/$_pypiname"
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" xvfb-run py.test
-
- cd "$srcdir/$_pypiname-py2"
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" xvfb-run py.test2
-}
-
-package_python-pyperclip() {
- depends=('python')
- optdepends=('xclip: xclip backend'
- 'xsel: xsel backend'
- 'python-pyqt4: qt backend'
- 'plasma-workspace: klipper backend')
-
- cd "$srcdir/$_pypiname"
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-}
-
-package_python2-pyperclip() {
- depends=('python2')
- optdepends=('xclip: xclip backend'
- 'xsel: xsel backend'
- 'python2-pyqt4: qt backend'
- 'plasma-workspace: klipper backend'
- 'pygtk: gtk backend')
-
- cd "$srcdir/$_pypiname-py2"
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pyperclip/repos/community-any/PKGBUILD (from rev 167764, python-pyperclip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-03-21 01:21:23 UTC (rev 167765)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jim Bridgewater <jwbwater at gmail dot com>
+# Contributor: delta48 <dark.magician.48[at]gmail[dot]com>
+
+pkgbase=python-pyperclip
+pkgname=('python-pyperclip' 'python2-pyperclip')
+_pypiname=pyperclip
+pkgver=1.5.27
+_commit=7deec0b6464bbda18ce2f700980edba2d6c51e10
+pkgrel=1
+pkgdesc="A cross-platform clipboard module for Python"
+arch=('any')
+url="https://github.com/asweigart/pyperclip"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+# GTK/Qt tests crash xvfb, and Klipper tests require a running klipper
+checkdepends=('xorg-server-xvfb' 'python-pytest' 'python2-pytest'
+ 'xsel' 'xclip')
+source=("git+https://github.com/asweigart/pyperclip.git#commit=$_commit")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a $_pypiname{,-py2}
+}
+
+check() {
+ cd "$srcdir/$_pypiname"
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" xvfb-run py.test
+
+ cd "$srcdir/$_pypiname-py2"
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" xvfb-run py.test2
+}
+
+package_python-pyperclip() {
+ depends=('python')
+ optdepends=('xclip: xclip backend'
+ 'xsel: xsel backend'
+ 'python-pyqt4: qt backend'
+ 'plasma-workspace: klipper backend')
+
+ cd "$srcdir/$_pypiname"
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}
+
+package_python2-pyperclip() {
+ depends=('python2')
+ optdepends=('xclip: xclip backend'
+ 'xsel: xsel backend'
+ 'python2-pyqt4: qt backend'
+ 'plasma-workspace: klipper backend'
+ 'pygtk: gtk backend')
+
+ cd "$srcdir/$_pypiname-py2"
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list