development/ophis: Updated for version 2.2.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-08-14 01:56:21 -04:00 committed by Willy Sudiarto Raharjo
parent 3147029159
commit afdb6e10a0
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 18 additions and 15 deletions

View file

@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "OPHIS" 1 "2023-04-21" "2.1" "SlackBuilds.org"
.TH "OPHIS" 1 "2024-08-14" "2.2" "SlackBuilds.org"
.SH NAME
ophis \- cross assembler for the 6502 and related CPUs
.\" RST source for ophis(1) man page. Convert with:
@ -48,7 +48,7 @@ the "undocumented opcodes" in the 6510 chip used on the Commodore
The full \fBophis\fP manual is available at:
.INDENT 0.0
.INDENT 3.5
/usr/doc/ophis\-2.1/ophismanual.pdf
/usr/doc/ophis\-2.2/ophismanual.pdf
.UNINDENT
.UNINDENT
.sp
@ -120,7 +120,7 @@ Disable branch\-extension pass
.UNINDENT
.SH COPYRIGHT
.sp
See the file /usr/doc/ophis\-2.1/README for license information.
See the file /usr/doc/ophis\-2.2/README for license information.
.SH AUTHORS
.sp
\fBophis\fP was written by Michael C. Martin.

View file

@ -9,7 +9,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ophis
VERSION=${VERSION:-2.1+20190412_99f074d}
SRCNAM=Ophis
VERSION=${VERSION:-2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -36,16 +37,18 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
cd src
python3 setup.py install --root=$PKG
cd -
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages/
python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl
# if any test fails, this script will exit.
cd tests

View file

@ -1,10 +1,10 @@
PRGNAM="ophis"
VERSION="2.1+20190412_99f074d"
VERSION="2.2"
HOMEPAGE="https://michaelcmartin.github.io/Ophis/"
DOWNLOAD="https://slackware.uk/~urchlay/src/ophis-2.1+20190412_99f074d.tar.xz"
MD5SUM="91257c97472eeaf5e96bc7d3b84e4cd0"
DOWNLOAD="https://github.com/michaelcmartin/Ophis/archive/v2.2/Ophis-2.2.tar.gz"
MD5SUM="901a7333105625ae0fd0f441a81a5e31"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="python3-setuptools-opt"
MAINTAINER="B. Watson"
EMAIL="urchlay@slackware.uk"

View file

@ -1,7 +1,7 @@
.. RST source for ophis(1) man page. Convert with:
.. rst2man.py ophis.rst > ophis.1
.. |version| replace:: 2.1
.. |version| replace:: 2.2
.. |date| date::
=====