l/pysocks: Upgraded to pysocks-1.7.1.
This commit is contained in:
parent
3f65e0a8a8
commit
f30ae0cf1e
|
@ -1 +0,0 @@
|
|||
d9031ea45fdfacbe59a99273e9f0448ddb33c1580fe3831c1b09557c5718977c PySocks-1.7.0.tar.gz
|
|
@ -0,0 +1 @@
|
|||
3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0 PySocks-1.7.1.tar.gz
|
|
@ -27,9 +27,8 @@
|
|||
|
||||
# Source package infos
|
||||
NAMESRC=${NAMESRC:-PySocks}
|
||||
VERSION=${VERSION:-1.7.0}
|
||||
VERSION=${VERSION:-1.7.1}
|
||||
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
|
||||
WGET=${WGET:-https://files.pythonhosted.org/packages/15/ab/35824cfdee1aac662e3298275fa1e6cbedb52126d1785f8977959b769ccf/$ARCHIVE}
|
||||
|
||||
# Build infos
|
||||
NAMEPKG=${NAMEPKG:-pysocks}
|
||||
|
@ -58,8 +57,7 @@ fi
|
|||
|
||||
# Get and verify the source archive
|
||||
if [ ! -r $ARCHIVE ]; then
|
||||
wget -c -O $ARCHIVE.part "$WGET"
|
||||
mv $ARCHIVE.part $ARCHIVE
|
||||
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
|
||||
fi
|
||||
sha256sum -c $ARCHIVE.sha256
|
||||
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
|
||||
|
@ -69,8 +67,10 @@ cd $TMP
|
|||
echo "Building $ARCHIVE..."
|
||||
tar xf $CWD/$ARCHIVE
|
||||
cd $NAME
|
||||
python setup.py build
|
||||
python setup.py install --root=$PKG
|
||||
python2 setup.py build
|
||||
python2 setup.py install --root=$PKG
|
||||
python3 setup.py build
|
||||
python3 setup.py install --root=$PKG
|
||||
|
||||
# Install the documentation
|
||||
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
|
||||
|
|
Loading…
Reference in New Issue