From 52f42983886ca2db14bab904d7fe137087b52e23 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 04:52:27 +0000 Subject: automatic import of python-systemrdl-compiler --- .gitignore | 1 + python-systemrdl-compiler.spec | 161 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 163 insertions(+) create mode 100644 python-systemrdl-compiler.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..07e86c5 100644 --- a/.gitignore +++ b/.gitignore @@ -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 +[![Documentation Status](https://readthedocs.org/projects/systemrdl-compiler/badge/?version=latest)](http://systemrdl-compiler.readthedocs.io) +[![build](https://github.com/SystemRDL/systemrdl-compiler/workflows/build/badge.svg)](https://github.com/SystemRDL/systemrdl-compiler/actions?query=workflow%3Abuild+branch%3Amain) +[![Coverage Status](https://coveralls.io/repos/github/SystemRDL/systemrdl-compiler/badge.svg?branch=main)](https://coveralls.io/github/SystemRDL/systemrdl-compiler?branch=main) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/systemrdl-compiler.svg)](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. + +![overview](https://raw.githubusercontent.com/SystemRDL/systemrdl-compiler/main/docs/img/overview.svg?sanitize=true) + +## 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 +[![Documentation Status](https://readthedocs.org/projects/systemrdl-compiler/badge/?version=latest)](http://systemrdl-compiler.readthedocs.io) +[![build](https://github.com/SystemRDL/systemrdl-compiler/workflows/build/badge.svg)](https://github.com/SystemRDL/systemrdl-compiler/actions?query=workflow%3Abuild+branch%3Amain) +[![Coverage Status](https://coveralls.io/repos/github/SystemRDL/systemrdl-compiler/badge.svg?branch=main)](https://coveralls.io/github/SystemRDL/systemrdl-compiler?branch=main) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/systemrdl-compiler.svg)](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. + +![overview](https://raw.githubusercontent.com/SystemRDL/systemrdl-compiler/main/docs/img/overview.svg?sanitize=true) + +## 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 +[![Documentation Status](https://readthedocs.org/projects/systemrdl-compiler/badge/?version=latest)](http://systemrdl-compiler.readthedocs.io) +[![build](https://github.com/SystemRDL/systemrdl-compiler/workflows/build/badge.svg)](https://github.com/SystemRDL/systemrdl-compiler/actions?query=workflow%3Abuild+branch%3Amain) +[![Coverage Status](https://coveralls.io/repos/github/SystemRDL/systemrdl-compiler/badge.svg?branch=main)](https://coveralls.io/github/SystemRDL/systemrdl-compiler?branch=main) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/systemrdl-compiler.svg)](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. + +![overview](https://raw.githubusercontent.com/SystemRDL/systemrdl-compiler/main/docs/img/overview.svg?sanitize=true) + +## 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 - 1.25.7-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..0b8389c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +2e2026c353e97b79344bfaee44d79875 systemrdl-compiler-1.25.7.tar.gz -- cgit v1.2.3