commit 2f0b7de6c4b8d02898f2d6f4607529f88caa5dc680577663a98843de505240af Author: Tomáš Chvátal Date: Wed Sep 4 06:49:28 2019 +0000 Accepting request 728076 from home:mslacken:ml now with tests OBS-URL: https://build.opensuse.org/request/show/728076 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opcodes?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/opcodes-0.3.14.tar.gz b/opcodes-0.3.14.tar.gz new file mode 100644 index 0000000..c0b4b36 --- /dev/null +++ b/opcodes-0.3.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16ec1cea4cf3dda767e6c0a718f664ef97a34ed24c91998a3c25c3f960c15fba +size 218202 diff --git a/python-opcodes.changes b/python-opcodes.changes new file mode 100644 index 0000000..2971988 --- /dev/null +++ b/python-opcodes.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Apr 2 12:20:00 UTC 2019 - Christian Goll + +- inital release of python-opcodes which does documents the CPU intructions + sets diff --git a/python-opcodes.spec b/python-opcodes.spec new file mode 100644 index 0000000..10be6c2 --- /dev/null +++ b/python-opcodes.spec @@ -0,0 +1,66 @@ +# +# spec file for package python-opcodes +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-opcodes +Version: 0.3.14 +Release: 0 +Summary: Database of Processor Instructions/Opcodes +License: BSD-2-Clause +Group: Development/Languages/Python +Url: https://github.com/Maratyszcza/Opcodes +Source: https://files.pythonhosted.org/packages/source/o/opcodes/opcodes-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module nose} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch + +%python_subpackages + +%description +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 + +This project is a spin-off from