[arch-commits] Commit in python-pyperclip/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Sep 25 00:33:03 UTC 2018
Date: Tuesday, September 25, 2018 @ 00:33:03
Author: felixonmars
Revision: 384704
archrelease: copy trunk to community-any
Added:
python-pyperclip/repos/community-any/PKGBUILD
(from rev 384703, python-pyperclip/trunk/PKGBUILD)
Deleted:
python-pyperclip/repos/community-any/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-25 00:32:35 UTC (rev 384703)
+++ PKGBUILD 2018-09-25 00:33:03 UTC (rev 384704)
@@ -1,59 +0,0 @@
-# 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')
-pkgver=1.6.5
-_commit=92834679086757361bbdd5e45769b608253709cd
-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')
-# GTK/Qt tests crash xvfb, and Klipper tests require a running klipper
-checkdepends=('xorg-server-xvfb' 'python-pytest' 'python2-pytest' 'xsel' 'xclip')
-source=("$pkgbase-$_commit.tar.gz::https://github.com/asweigart/pyperclip/archive/$_commit.tar.gz")
-sha512sums=('0ccfe3398f8856cc6f4199282810ecccd15b1e923d7bf3a025b5b5790c6cd6038340c5e922bd68660e43f07188a7585bf7e3d651a9bf85799703eb7e41b25561')
-
-prepare() {
- mv pyperclip-{$_commit,$pkgver}
-}
-
-build() {
- cd pyperclip-$pkgver
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd pyperclip-$pkgver
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" xvfb-run py.test
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" xvfb-run py.test2
-}
-
-package_python-pyperclip() {
- depends=('python')
- optdepends=('xclip: xclip backend'
- 'xsel: xsel backend'
- 'plasma-workspace: klipper backend')
-
- cd pyperclip-$pkgver
- 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'
- 'plasma-workspace: klipper backend'
- 'pygtk: gtk backend')
-
- cd pyperclip-$pkgver
- 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 384703, python-pyperclip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-09-25 00:33:03 UTC (rev 384704)
@@ -0,0 +1,59 @@
+# 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')
+pkgver=1.7.0
+_commit=92834679086757361bbdd5e45769b608253709cd
+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')
+# GTK/Qt tests crash xvfb, and Klipper tests require a running klipper
+checkdepends=('xorg-server-xvfb' 'python-pytest' 'python2-pytest' 'xsel' 'xclip')
+source=("$pkgbase-$_commit.tar.gz::https://github.com/asweigart/pyperclip/archive/$_commit.tar.gz")
+sha512sums=('0ccfe3398f8856cc6f4199282810ecccd15b1e923d7bf3a025b5b5790c6cd6038340c5e922bd68660e43f07188a7585bf7e3d651a9bf85799703eb7e41b25561')
+
+prepare() {
+ mv pyperclip-{$_commit,$pkgver}
+}
+
+build() {
+ cd pyperclip-$pkgver
+ python setup.py build
+ python2 setup.py build
+}
+
+check() {
+ cd pyperclip-$pkgver
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" xvfb-run py.test
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" xvfb-run py.test2
+}
+
+package_python-pyperclip() {
+ depends=('python')
+ optdepends=('xclip: xclip backend'
+ 'xsel: xsel backend'
+ 'plasma-workspace: klipper backend')
+
+ cd pyperclip-$pkgver
+ 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'
+ 'plasma-workspace: klipper backend'
+ 'pygtk: gtk backend')
+
+ cd pyperclip-$pkgver
+ 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