diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 04:52:27 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 04:52:27 +0000 |
commit | 52f42983886ca2db14bab904d7fe137087b52e23 (patch) | |
tree | e98c69e5c8a7dd1e2db17cbe72a89d2e5875c641 | |
parent | 8c0f4fbd489eaf1b5299fa25ddab32dc54422859 (diff) |
automatic import of python-systemrdl-compileropeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-systemrdl-compiler.spec | 161 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 163 insertions, 0 deletions
@@ -0,0 +1 @@ +/systemrdl-compiler-1.25.7.tar.gz diff --git a/python-systemrdl-compiler.spec b/python-systemrdl-compiler.spec new file mode 100644 index 0000000..3d02d8d --- /dev/null +++ b/python-systemrdl-compiler.spec @@ -0,0 +1,161 @@ +%global _empty_manifest_terminate_build 0 +Name: python-systemrdl-compiler +Version: 1.25.7 +Release: 1 +Summary: Parse and elaborate front-end for SystemRDL 2.0 +License: MIT License +URL: https://github.com/SystemRDL/systemrdl-compiler +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/69/49/aaa05567ddd5c4d7f3180250242e6c8fed704e031b254b6d439e3b70625c/systemrdl-compiler-1.25.7.tar.gz + +Requires: python3-antlr4-python3-runtime +Requires: python3-colorama +Requires: python3-markdown + +%description +[](http://systemrdl-compiler.readthedocs.io) +[](https://github.com/SystemRDL/systemrdl-compiler/actions?query=workflow%3Abuild+branch%3Amain) +[](https://coveralls.io/github/SystemRDL/systemrdl-compiler?branch=main) +[](https://pypi.org/project/systemrdl-compiler) + +# SystemRDL Compiler + +The `systemrdl-compiler` project implements a generic compiler front-end for +Accellera's [SystemRDL 2.0](http://accellera.org/downloads/standards/systemrdl) +register description language. The goal of this project is to provide a free and +open compiler that lowers the barrier to entry to using an industry standard +register description language. + +By providing an elaborated register model that is easy to traverse and query, +it should be far easier to write custom register space view generators. + + + +## Documentation +See the [SystemRDL Compiler Documentation](http://systemrdl-compiler.readthedocs.io) for more details + +## Related Projects + +If you are looking for a complete SystemRDL command line tool, see the [PeakRDL project](https://peakrdl.readthedocs.io). + +## License + +The SystemRDL Compiler is published and distributed under the [MIT License](LICENSE). + + +%package -n python3-systemrdl-compiler +Summary: Parse and elaborate front-end for SystemRDL 2.0 +Provides: python-systemrdl-compiler +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-systemrdl-compiler +[](http://systemrdl-compiler.readthedocs.io) +[](https://github.com/SystemRDL/systemrdl-compiler/actions?query=workflow%3Abuild+branch%3Amain) +[](https://coveralls.io/github/SystemRDL/systemrdl-compiler?branch=main) +[](https://pypi.org/project/systemrdl-compiler) + +# SystemRDL Compiler + +The `systemrdl-compiler` project implements a generic compiler front-end for +Accellera's [SystemRDL 2.0](http://accellera.org/downloads/standards/systemrdl) +register description language. The goal of this project is to provide a free and +open compiler that lowers the barrier to entry to using an industry standard +register description language. + +By providing an elaborated register model that is easy to traverse and query, +it should be far easier to write custom register space view generators. + + + +## Documentation +See the [SystemRDL Compiler Documentation](http://systemrdl-compiler.readthedocs.io) for more details + +## Related Projects + +If you are looking for a complete SystemRDL command line tool, see the [PeakRDL project](https://peakrdl.readthedocs.io). + +## License + +The SystemRDL Compiler is published and distributed under the [MIT License](LICENSE). + + +%package help +Summary: Development documents and examples for systemrdl-compiler +Provides: python3-systemrdl-compiler-doc +%description help +[](http://systemrdl-compiler.readthedocs.io) +[](https://github.com/SystemRDL/systemrdl-compiler/actions?query=workflow%3Abuild+branch%3Amain) +[](https://coveralls.io/github/SystemRDL/systemrdl-compiler?branch=main) +[](https://pypi.org/project/systemrdl-compiler) + +# SystemRDL Compiler + +The `systemrdl-compiler` project implements a generic compiler front-end for +Accellera's [SystemRDL 2.0](http://accellera.org/downloads/standards/systemrdl) +register description language. The goal of this project is to provide a free and +open compiler that lowers the barrier to entry to using an industry standard +register description language. + +By providing an elaborated register model that is easy to traverse and query, +it should be far easier to write custom register space view generators. + + + +## Documentation +See the [SystemRDL Compiler Documentation](http://systemrdl-compiler.readthedocs.io) for more details + +## Related Projects + +If you are looking for a complete SystemRDL command line tool, see the [PeakRDL project](https://peakrdl.readthedocs.io). + +## License + +The SystemRDL Compiler is published and distributed under the [MIT License](LICENSE). + + +%prep +%autosetup -n systemrdl-compiler-1.25.7 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-systemrdl-compiler -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.25.7-1 +- Package Spec generated @@ -0,0 +1 @@ +2e2026c353e97b79344bfaee44d79875 systemrdl-compiler-1.25.7.tar.gz |