mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
python/pyperclip: Updated for version 1.6.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
d86134cae1
commit
2342bc51e1
4 changed files with 12 additions and 21 deletions
|
@ -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
|
||||
|
|
Binary file not shown.
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue