summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Arn0 <yth@ythogtha.org>2022-03-08 23:07:04 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-09 09:45:15 +0700
commit2dbccc389685fbbcc0b3a29ccc5ce82c3317486a (patch)
treee6b6497ccb15cb8dacc95cf4ceb6d6e28d47228c
parentec86cc612a7ce2faf1c1730ab880b468730eb630 (diff)
downloadslackbuilds-2dbccc389685fbbcc0b3a29ccc5ce82c3317486a.tar.gz
slackbuilds-2dbccc389685fbbcc0b3a29ccc5ce82c3317486a.tar.xz
python/python3-repoze.lru: renamed from repoze.lru for python3
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-repoze.lru/README (renamed from python/repoze.lru/README)0
-rw-r--r--python/python3-repoze.lru/python3-repoze.lru.SlackBuild (renamed from python/repoze.lru/repoze.lru.SlackBuild)14
-rw-r--r--python/python3-repoze.lru/python3-repoze.lru.info (renamed from python/repoze.lru/repoze.lru.info)4
-rw-r--r--python/python3-repoze.lru/slack-desc (renamed from python/repoze.lru/slack-desc)24
4 files changed, 20 insertions, 22 deletions
diff --git a/python/repoze.lru/README b/python/python3-repoze.lru/README
index a5034412d5..a5034412d5 100644
--- a/python/repoze.lru/README
+++ b/python/python3-repoze.lru/README
diff --git a/python/repoze.lru/repoze.lru.SlackBuild b/python/python3-repoze.lru/python3-repoze.lru.SlackBuild
index 28486cabdd..53b68c69de 100644
--- a/python/repoze.lru/repoze.lru.SlackBuild
+++ b/python/python3-repoze.lru/python3-repoze.lru.SlackBuild
@@ -22,7 +22,8 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=repoze.lru
+PRGNAM=python3-repoze.lru
+SRCNAM=${PRGNAM#python3-*}
VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,9 +54,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -63,10 +64,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/python/repoze.lru/repoze.lru.info b/python/python3-repoze.lru/python3-repoze.lru.info
index 5fce2c770e..1a5888cec4 100644
--- a/python/repoze.lru/repoze.lru.info
+++ b/python/python3-repoze.lru/python3-repoze.lru.info
@@ -1,6 +1,6 @@
-PRGNAM="repoze.lru"
+PRGNAM="python3-repoze.lru"
VERSION="0.7"
-HOMEPAGE="http://www.repoze.org/"
+HOMEPAGE="https://pypi.org/project/repoze.lru/"
DOWNLOAD="https://pypi.python.org/packages/source/r/repoze.lru/repoze.lru-0.7.tar.gz"
MD5SUM="c08cc030387e0b1fc53c5c7d964b35e2"
DOWNLOAD_x86_64=""
diff --git a/python/repoze.lru/slack-desc b/python/python3-repoze.lru/slack-desc
index 800f854d2a..38a2f37ebe 100644
--- a/python/repoze.lru/slack-desc
+++ b/python/python3-repoze.lru/slack-desc
@@ -5,15 +5,15 @@
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
- |-----handy-ruler------------------------------------------------------|
-repoze.lru: repoze.lru (A tiny LRU cache implementation and decorator)
-repoze.lru:
-repoze.lru:
-repoze.lru:
-repoze.lru:
-repoze.lru:
-repoze.lru:
-repoze.lru:
-repoze.lru:
-repoze.lru:
-repoze.lru:
+ |-----handy-ruler------------------------------------------------------|
+python3-repoze.lru: python3-repoze.lru (A tiny LRU cache implementation and decorator)
+python3-repoze.lru:
+python3-repoze.lru:
+python3-repoze.lru:
+python3-repoze.lru:
+python3-repoze.lru:
+python3-repoze.lru:
+python3-repoze.lru:
+python3-repoze.lru:
+python3-repoze.lru:
+python3-repoze.lru: