Browse Source

l/python-asn1crypto: Upgraded to python-asn1crypto-1.2.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
2e181991a7
  1. 1
      l/python-asn1crypto/asn1crypto-0.24.0.tar.gz.sha256
  2. 1
      l/python-asn1crypto/asn1crypto-1.2.0.tar.gz.sha256
  3. 12
      l/python-asn1crypto/python-asn1crypto.SlackBuild

1
l/python-asn1crypto/asn1crypto-0.24.0.tar.gz.sha256

@ -1 +0,0 @@
9d5c20441baf0cb60a4ac34cc447c6c189024b6b4c6cd7877034f4965c464e49 asn1crypto-0.24.0.tar.gz

1
l/python-asn1crypto/asn1crypto-1.2.0.tar.gz.sha256

@ -0,0 +1 @@
87620880a477123e01177a1f73d0f327210b43a3cdbd714efcd2fa49a8d7b384 asn1crypto-1.2.0.tar.gz

12
l/python-asn1crypto/python-asn1crypto.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2017 Damien Goutte-Gattat
# Copyright (C) 2017,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,9 +27,9 @@
# Source package infos
NAMESRC=${NAMESRC:-asn1crypto}
VERSION=${VERSION:-0.24.0}
VERSION=${VERSION:-1.2.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/fc/f1/8db7daa71f414ddabfa056c4ef792e1461ff655c2ae2928a2b675bfed6b4/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/c1/a9/86bfedaf41ca590747b4c9075bc470d0b2ec44fb5db5d378bc61447b3b6b/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-asn1crypto}
@ -69,8 +69,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…
Cancel
Save