Browse Source

l/python-cryptography: Upgraded to python-cryptography-2.8.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
3867885085
  1. 1
      l/python-cryptography/cryptography-2.1.4.tar.gz.sha256
  2. 1
      l/python-cryptography/cryptography-2.8.tar.gz.sha256
  3. 18
      l/python-cryptography/python-cryptography.SlackBuild

1
l/python-cryptography/cryptography-2.1.4.tar.gz.sha256

@ -1 +0,0 @@
e4d967371c5b6b2e67855066471d844c5d52d210c36c28d49a8507b96e2c5291 cryptography-2.1.4.tar.gz

1
l/python-cryptography/cryptography-2.8.tar.gz.sha256

@ -0,0 +1 @@
3cda1f0ed8747339bbdf71b9f38ca74c7b592f24f65cdb3ab3765e4b02871651 cryptography-2.8.tar.gz

18
l/python-cryptography/python-cryptography.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2016,2017 Damien Goutte-Gattat
# Copyright (C) 2016,2017,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -25,14 +25,13 @@
# Latest cryptography sourcecode is available at:
# <https://github.com/pyca/cryptography>.
#
# Depends: l/python-idna, l/python-asn1crypto, l/python-six
# Depends: l/python-cffi, l/python-enum34, l/python-ipaddress
# Source package infos
NAMESRC=${NAMESRC:-cryptography}
VERSION=${VERSION:-2.1.4}
VERSION=${VERSION:-2.8}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/78/c5/7188f15a92413096c93053d5304718e1f6ba88b818357d05d19250ebff85/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/be/60/da377e1bed002716fb2d5d1d1cab720f298cb33ecff7bf7adea72788e4e4/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-cryptography}
@ -87,8 +86,12 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python setup.py build
python setup.py install --root=$PKG
python2 setup.py build
python2 setup.py install --root=$PKG
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python3 setup.py build
python3 setup.py install --root=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
@ -104,9 +107,6 @@ install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF >$PKG/install/slack-required
python-idna
python-asn1crypto
python-six
python-cffi
python-enum34
python-ipaddress

Loading…
Cancel
Save