aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-08-14 01:56:21 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-17 18:14:20 +0700
commitafdb6e10a0f2fde56966132c9f0f64d8be5f9f5e (patch)
tree12602479287cf66ce6fd1ba2946619a74e07e90a /development
parent31470291593cb60073a56f7be56bce9c6adecc6b (diff)
development/ophis: Updated for version 2.2.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/ophis/ophis.16
-rw-r--r--development/ophis/ophis.SlackBuild17
-rw-r--r--development/ophis/ophis.info8
-rw-r--r--development/ophis/ophis.rst2
4 files changed, 18 insertions, 15 deletions
diff --git a/development/ophis/ophis.1 b/development/ophis/ophis.1
index 3706106b8b2c..747462d25051 100644
--- a/development/ophis/ophis.1
+++ b/development/ophis/ophis.1
@@ -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.
diff --git a/development/ophis/ophis.SlackBuild b/development/ophis/ophis.SlackBuild
index 921e5a28ba1a..4d98a2d52aa4 100644
--- a/development/ophis/ophis.SlackBuild
+++ b/development/ophis/ophis.SlackBuild
@@ -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
diff --git a/development/ophis/ophis.info b/development/ophis/ophis.info
index d73a05fc65f5..bb10051f648c 100644
--- a/development/ophis/ophis.info
+++ b/development/ophis/ophis.info
@@ -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"
diff --git a/development/ophis/ophis.rst b/development/ophis/ophis.rst
index 85b96d0c8f0f..2d5cd4de1464 100644
--- a/development/ophis/ophis.rst
+++ b/development/ophis/ophis.rst
@@ -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::
=====