aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 17:11:14 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:47 +0700
commit43525e329ee83100ce1e3d86e0eefd30b43e4c9a (patch)
tree4d1db6106d20b2acfd155880df4acdb4591e6dec
parent15c2896b99888c51880334dfebd58468328929e4 (diff)
python/python-demjson: Renamed python2-demjson.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python-demjson/slack-desc19
-rw-r--r--python/python2-demjson/README (renamed from python/python-demjson/README)0
-rw-r--r--python/python2-demjson/python2-demjson.SlackBuild (renamed from python/python-demjson/python-demjson.SlackBuild)4
-rw-r--r--python/python2-demjson/python2-demjson.info (renamed from python/python-demjson/python-demjson.info)2
-rw-r--r--python/python2-demjson/slack-desc19
5 files changed, 22 insertions, 22 deletions
diff --git a/python/python-demjson/slack-desc b/python/python-demjson/slack-desc
deleted file mode 100644
index 4133967640f8..000000000000
--- a/python/python-demjson/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# 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-demjson: python-demjson (Encoder, decoder, and lint/validator for JSON)
-python-demjson:
-python-demjson: Encoder, decoder, and lint/validator for JSON (JavaScript Object
-python-demjson: Notation) compliant with RFC 4627
-python-demjson:
-python-demjson: Homepage: https://pypi.python.org/pypi/demjson
-python-demjson:
-python-demjson:
-python-demjson:
-python-demjson:
-python-demjson:
diff --git a/python/python-demjson/README b/python/python2-demjson/README
index cfac5b4bda3e..cfac5b4bda3e 100644
--- a/python/python-demjson/README
+++ b/python/python2-demjson/README
diff --git a/python/python-demjson/python-demjson.SlackBuild b/python/python2-demjson/python2-demjson.SlackBuild
index ff734ca4a64d..1d09ec057751 100644
--- a/python/python-demjson/python-demjson.SlackBuild
+++ b/python/python2-demjson/python2-demjson.SlackBuild
@@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=python-demjson
+PRGNAM=python2-demjson
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,7 +71,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-demjson/python-demjson.info b/python/python2-demjson/python2-demjson.info
index 88d187bdc550..939740a41db0 100644
--- a/python/python-demjson/python-demjson.info
+++ b/python/python2-demjson/python2-demjson.info
@@ -1,4 +1,4 @@
-PRGNAM="python-demjson"
+PRGNAM="python2-demjson"
VERSION="1.4"
HOMEPAGE="https://pypi.python.org/pypi/demjson"
DOWNLOAD="https://pypi.python.org/packages/source/d/demjson/demjson-1.4.tar.gz"
diff --git a/python/python2-demjson/slack-desc b/python/python2-demjson/slack-desc
new file mode 100644
index 000000000000..04820eae3fdb
--- /dev/null
+++ b/python/python2-demjson/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# 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------------------------------------------------------|
+python2-demjson: python2-demjson (Encoder, decoder, and lint/validator for JSON)
+python2-demjson:
+python2-demjson: Encoder, decoder, and lint/validator for JSON (JavaScript Object
+python2-demjson: Notation) compliant with RFC 4627
+python2-demjson:
+python2-demjson: Homepage: https://pypi.python.org/pypi/demjson
+python2-demjson:
+python2-demjson:
+python2-demjson:
+python2-demjson:
+python2-demjson: