Browse Source

l/pyopenssl: Upgraded to pyopenssl-16.0.0.

slackware-14.2
Damien Goutte-Gattat 6 years ago
parent
commit
eca2fb776f
  1. 1
      l/pyopenssl/pyOpenSSL-0.11.tar.gz.sha1
  2. 1
      l/pyopenssl/pyOpenSSL-16.0.0.tar.gz.sha1
  3. 17
      l/pyopenssl/pyopenssl.SlackBuild

1
l/pyopenssl/pyOpenSSL-0.11.tar.gz.sha1

@ -1 +0,0 @@
92b550853626d2959c44abb72944b83403427497 pyOpenSSL-0.11.tar.gz

1
l/pyopenssl/pyOpenSSL-16.0.0.tar.gz.sha1

@ -0,0 +1 @@
4efb8f880743acf48070d3adaf9f0bce5601e6a8 pyOpenSSL-16.0.0.tar.gz

17
l/pyopenssl/pyopenssl.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010 Damien Goutte-Gattat
# Copyright (C) 2010,2016 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -23,13 +23,15 @@
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest pyopenssl sourcecode is available at:
# <https://launchpad.net/pyopenssl>.
# <https://github.com/pyca/pyopenssl>.
#
# Depends: l/python-six, l/python-cryptography
# Source package infos
NAMESRC=${NAMESRC:-pyOpenSSL}
VERSION=${VERSION:-0.11}
VERSION=${VERSION:-16.0.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://launchpad.net/pyopenssl/main/$VERSION/+download/$ARCHIVE}
WGET=${WGET:-https://pypi.python.org/packages/source/p/pyOpenSSL/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-pyopenssl}
@ -86,13 +88,10 @@ CXXFLAGS=$CPUOPT \
python setup.py build
python setup.py install --root=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 COPYING ChangeLog README TODO $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 CHANGELOG.rst CONTRIBUTING.rst LICENSE PKG-INFO README.rst \
$PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save