diff options
author | Brenton Earl <brent@exitstatusone.com> | 2018-03-19 20:55:07 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-03-19 20:55:07 +0000 |
commit | 2342bc51e1239b717a9e9bc899d68f0b451e82a7 (patch) | |
tree | 5e5275aef031e739a35f573083de8f5d2a1c89fc /python | |
parent | d86134cae1ae77d575dc75f0141aa17f3b3b8420 (diff) |
python/pyperclip: Updated for version 1.6.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/pyperclip/README | 11 | ||||
-rw-r--r-- | python/pyperclip/pyperclip-1.5-doc.pdf | bin | 67983 -> 0 bytes | |||
-rw-r--r-- | python/pyperclip/pyperclip.SlackBuild | 16 | ||||
-rw-r--r-- | python/pyperclip/pyperclip.info | 6 |
4 files changed, 12 insertions, 21 deletions
diff --git a/python/pyperclip/README b/python/pyperclip/README index f24b18ae6a8cb..18b74d81c62ad 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 Binary files differdeleted file mode 100644 index 99f743118e4c6..0000000000000 --- a/python/pyperclip/pyperclip-1.5-doc.pdf +++ /dev/null diff --git a/python/pyperclip/pyperclip.SlackBuild b/python/pyperclip/pyperclip.SlackBuild index 13e9bf3f34166..d4f5d51e8397a 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 8ca1f99453f27..aa85e4eb0cb23 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="" |