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