aboutsummaryrefslogtreecommitdiff
path: root/python/python2-pycrypto
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-12 13:13:57 -0500
committerB. Watson <yalhcru@gmail.com>2022-03-12 13:14:44 -0500
commit326a8840b801e546dd0953f99e7a3379e4b3871a (patch)
tree30eea9039f045d7e598d29189f00a84b5b013f2a /python/python2-pycrypto
parent56a15e250e0cbc1c7df0408feb2036d40c1836f4 (diff)
python/python2-pycrypto: Fix PRGNAM in script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'python/python2-pycrypto')
-rw-r--r--python/python2-pycrypto/README6
-rw-r--r--python/python2-pycrypto/python2-pycrypto.SlackBuild10
2 files changed, 8 insertions, 8 deletions
diff --git a/python/python2-pycrypto/README b/python/python2-pycrypto/README
index ed205757794ef..5829911f9246a 100644
--- a/python/python2-pycrypto/README
+++ b/python/python2-pycrypto/README
@@ -1,3 +1,3 @@
-This is a collection of both secure hash functions (such as MD5 and SHA),
-and various encryption algorithms (AES, DES, IDEA, RSA, ElGamal, etc.).
-The package is structured to make adding new modules easy.
+This is a collection of both secure hash functions (such as MD5 and
+SHA), and various encryption algorithms (AES, DES, IDEA, RSA, ElGamal,
+etc). The package is structured to make adding new modules easy.
diff --git a/python/python2-pycrypto/python2-pycrypto.SlackBuild b/python/python2-pycrypto/python2-pycrypto.SlackBuild
index bb9bc9099cca9..a92721bbe2595 100644
--- a/python/python2-pycrypto/python2-pycrypto.SlackBuild
+++ b/python/python2-pycrypto/python2-pycrypto.SlackBuild
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220312 bkw: Modified by SlackBuilds.org: PRGNAM must be constant,
+# and match PRGNAM in the .info file.
+
cd $(dirname $0) ; CWD=$(pwd)
SRCNAM=pycrypto
-PRGNAM=python2-$SRCNAM
+PRGNAM=python2-pycrypto
VERSION=${VERSION:-2.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -33,15 +36,12 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0