aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 17:11:27 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:51 +0700
commit8c21e86fee5458e12b8ecfe8f936b49de687f6b4 (patch)
tree4c71db6dca9f6a6721b36c40f96b1f0e04e7ca6f /python
parent6ef5e3566b814c3ed560907cfb764ba64f1e230e (diff)
python/python-uuid: Renamed python2-uuid.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python2-uuid/README (renamed from python/python-uuid/README)0
-rw-r--r--python/python2-uuid/python2-uuid.SlackBuild (renamed from python/python-uuid/python-uuid.SlackBuild)4
-rw-r--r--python/python2-uuid/python2-uuid.info (renamed from python/python-uuid/python-uuid.info)2
-rw-r--r--python/python2-uuid/slack-desc (renamed from python/python-uuid/slack-desc)24
4 files changed, 15 insertions, 15 deletions
diff --git a/python/python-uuid/README b/python/python2-uuid/README
index 5a99b952732dc..5a99b952732dc 100644
--- a/python/python-uuid/README
+++ b/python/python2-uuid/README
diff --git a/python/python-uuid/python-uuid.SlackBuild b/python/python2-uuid/python2-uuid.SlackBuild
index 85c66c5a90261..a1622014fc50d 100644
--- a/python/python-uuid/python-uuid.SlackBuild
+++ b/python/python2-uuid/python2-uuid.SlackBuild
@@ -21,7 +21,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=python-uuid
+PRGNAM=python2-uuid
VERSION=${VERSION:-1.30}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,7 +70,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/python-uuid/python-uuid.info b/python/python2-uuid/python2-uuid.info
index c155467fbcb7e..e9ce75a54906f 100644
--- a/python/python-uuid/python-uuid.info
+++ b/python/python2-uuid/python2-uuid.info
@@ -1,4 +1,4 @@
-PRGNAM="python-uuid"
+PRGNAM="python2-uuid"
VERSION="1.30"
HOMEPAGE="https://pypi.python.org/pypi/uuid"
DOWNLOAD="https://pypi.python.org/packages/source/u/uuid/uuid-1.30.tar.gz"
diff --git a/python/python-uuid/slack-desc b/python/python2-uuid/slack-desc
index b855e7d81458d..276ed7cffbc4b 100644
--- a/python/python-uuid/slack-desc
+++ b/python/python2-uuid/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------------------------------------------------------|
-python-uuid: python-uuid (UUID object and generation functions)
-python-uuid:
-python-uuid: UUID object and generation functions (Python 2.3 or higher)
-python-uuid:
-python-uuid: Homepage: https://pypi.python.org/pypi/uuid
-python-uuid:
-python-uuid:
-python-uuid:
-python-uuid:
-python-uuid:
-python-uuid:
+ |-----handy-ruler------------------------------------------------------|
+python2-uuid: python2-uuid (UUID object and generation functions)
+python2-uuid:
+python2-uuid: UUID object and generation functions (Python 2.3 or higher)
+python2-uuid:
+python2-uuid: Homepage: https://pypi.python.org/pypi/uuid
+python2-uuid:
+python2-uuid:
+python2-uuid:
+python2-uuid:
+python2-uuid:
+python2-uuid: