python/python-demjson: Renamed python2-demjson.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2021-05-06 17:11:14 +01:00 committed by Willy Sudiarto Raharjo
parent 15c2896b99
commit 43525e329e
No known key found for this signature in database
GPG key ID: 3F617144D7238786
5 changed files with 22 additions and 22 deletions

View file

@ -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:

View file

@ -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

View file

@ -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"

View file

@ -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: