aboutsummaryrefslogtreecommitdiff
path: root/python/pyperclip
diff options
context:
space:
mode:
Diffstat (limited to 'python/pyperclip')
-rw-r--r--python/pyperclip/README11
-rw-r--r--python/pyperclip/pyperclip-1.5-doc.pdfbin67983 -> 0 bytes
-rw-r--r--python/pyperclip/pyperclip.SlackBuild16
-rw-r--r--python/pyperclip/pyperclip.info6
4 files changed, 12 insertions, 21 deletions
diff --git a/python/pyperclip/README b/python/pyperclip/README
index f24b18ae6a8c..18b74d81c62a 100644
--- a/python/pyperclip/README
+++ b/python/pyperclip/README
@@ -1,15 +1,8 @@
Pyperclip is a cross-platform Python module for copy and paste clipboard
functions. It works with Python 2 and 3. It currently only handles
-plaintext.
+plain text.
-Example Usage:
-
->>> import pyperclip
->>> pyperclip.copy('The text to be copied to the clipboard.')
->>> pyperclip.paste()
-'The text to be copied to the clipboard.'
-
-PDF documentation included in /usr/doc/pyperclip-$VERSION
+For example usage see /usr/doc/pyperclip-$VERSION/README.md
Optional Dependencies:
- xclip
diff --git a/python/pyperclip/pyperclip-1.5-doc.pdf b/python/pyperclip/pyperclip-1.5-doc.pdf
deleted file mode 100644
index 99f743118e4c..000000000000
--- a/python/pyperclip/pyperclip-1.5-doc.pdf
+++ /dev/null
Binary files differ
diff --git a/python/pyperclip/pyperclip.SlackBuild b/python/pyperclip/pyperclip.SlackBuild
index 13e9bf3f3416..d4f5d51e8397 100644
--- a/python/pyperclip/pyperclip.SlackBuild
+++ b/python/pyperclip/pyperclip.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pyperclip
-# Copyright 2015-2016 Brenton Earl <brent@exitstatusone.com>
+# Copyright 2015-2016, 2018 Brenton Earl <brent@exitstatusone.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,12 +21,10 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Maintainer Notes:
-# PDF Documentation downloaded from pyperclip.readthedocs.org 12/1/2015
PRGNAM=pyperclip
-VERSION=${VERSION:-1.5.27}
+VERSION=${VERSION:-1.6.0}
+SRCVERSION=${SRCVERSION:-2f11f6302492e2dfc6b1a91eb9d5c0a6b68a71d5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVERSION
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
+cd $PRGNAM-$SRCVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -83,7 +81,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp $CWD/pyperclip-1.5-doc.pdf PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS* CHANGES* LICENSE* README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/pyperclip/pyperclip.info b/python/pyperclip/pyperclip.info
index 8ca1f99453f2..aa85e4eb0cb2 100644
--- a/python/pyperclip/pyperclip.info
+++ b/python/pyperclip/pyperclip.info
@@ -1,8 +1,8 @@
PRGNAM="pyperclip"
-VERSION="1.5.27"
+VERSION="1.6.0"
HOMEPAGE="https://github.com/asweigart/pyperclip"
-DOWNLOAD="https://pypi.python.org/packages/source/p/pyperclip/pyperclip-1.5.27.zip"
-MD5SUM="18b86c2e6d10ed827cdd42aed80b4cbe"
+DOWNLOAD="https://github.com/asweigart/pyperclip/archive/2f11f63/pyperclip-2f11f6302492e2dfc6b1a91eb9d5c0a6b68a71d5.tar.gz"
+MD5SUM="dcf9501316dbac3ab053700f247e4c8a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""