summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-08-17 20:24:09 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-08-17 20:24:09 +0000
commit07653bdf4fcad8cf55dd11e2ec1374fedd19c62c (patch)
tree6ba7118a6a2cff5941bf0e44cd0f450cfa952b12
parentNew port: devel/fp16: Conversion to/from half-precision floating point formats (diff)
New port: devel/py-opcodes: Database of processor instructions/opcodes
Notes
Notes: svn path=/head/; revision=509168
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-opcodes/Makefile19
-rw-r--r--devel/py-opcodes/distinfo3
-rw-r--r--devel/py-opcodes/pkg-descr10
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3705c9c70464..34856c39cfaf 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4678,6 +4678,7 @@
SUBDIR += py-oletools
SUBDIR += py-omnijson
SUBDIR += py-omniorb
+ SUBDIR += py-opcodes
SUBDIR += py-openapi-codec
SUBDIR += py-openapi-spec-validator
SUBDIR += py-opendht
diff --git a/devel/py-opcodes/Makefile b/devel/py-opcodes/Makefile
new file mode 100644
index 000000000000..d0fee1da07c7
--- /dev/null
+++ b/devel/py-opcodes/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= opcodes
+DISTVERSION= 0.3.14
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Database of processor instructions/opcodes
+
+LICENSE= BSD2CLAUSE
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-opcodes/distinfo b/devel/py-opcodes/distinfo
new file mode 100644
index 000000000000..dc217b71b790
--- /dev/null
+++ b/devel/py-opcodes/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1566073193
+SHA256 (opcodes-0.3.14.tar.gz) = 16ec1cea4cf3dda767e6c0a718f664ef97a34ed24c91998a3c25c3f960c15fba
+SIZE (opcodes-0.3.14.tar.gz) = 218202
diff --git a/devel/py-opcodes/pkg-descr b/devel/py-opcodes/pkg-descr
new file mode 100644
index 000000000000..ed88e4bdd6be
--- /dev/null
+++ b/devel/py-opcodes/pkg-descr
@@ -0,0 +1,10 @@
+The goal of this project is to document instruction sets in a format convenient
+for tools development.
+
+An instruction set is represented by three files:
+* An XML file that describes instructions
+* An XSD file that describes the structure of the XML file
+* A Python module that reads the XML file and represents it as a set of Python
+ objects
+
+WWW: https://github.com/Maratyszcza/Opcodes