diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:31:05 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:31:05 +0000 |
commit | 6d709d89a46effdfe41706e556b59e27525cf739 (patch) | |
tree | 85c3956ec22e2594d926d9c2be028a648e9ec2c7 | |
parent | dc851203d9433e3337b02c134cf6a9526809738d (diff) |
automatic import of python-magma-langopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-magma-lang.spec | 267 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 269 insertions, 0 deletions
@@ -0,0 +1 @@ +/magma-lang-2.2.57.tar.gz diff --git a/python-magma-lang.spec b/python-magma-lang.spec new file mode 100644 index 0000000..e8fdfdb --- /dev/null +++ b/python-magma-lang.spec @@ -0,0 +1,267 @@ +%global _empty_manifest_terminate_build 0 +Name: python-magma-lang +Version: 2.2.57 +Release: 1 +Summary: An embedded DSL for constructing hardware circuits +License: MIT +URL: https://github.com/phanrahan/magma +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/47/d7/ad0cdb4d25444c35ea31ccac0ee4f092fda0150a238de7ced71cccc72382/magma-lang-2.2.57.tar.gz +BuildArch: noarch + + +%description +platform darwin -- Python 3.6.1, pytest-3.0.7, py-1.4.33, pluggy-0.4.0 +rootdir: ..../repos/magmacore, inifile: +collected 70 items +tests/test_circuit/test_anon.py . +tests/test_circuit/test_declare.py . +tests/test_circuit/test_define.py . +tests/test_higher/test_braid.py . +tests/test_higher/test_curry.py . +tests/test_higher/test_currylut.py . +tests/test_higher/test_curryrom.py . +tests/test_higher/test_flat.py . +tests/test_higher/test_fork.py . +tests/test_higher/test_higher_compose.py . +tests/test_higher/test_join.py . +tests/test_interface/test_interface.py .... +tests/test_io/test_inout1.py . +tests/test_io/test_inout2.py . +tests/test_io/test_out1.py . +tests/test_io/test_out2.py . +tests/test_ir/test_declaretest.py . +tests/test_ir/test_ir.py . +tests/test_meta/test_class.py . +tests/test_meta/test_creg.py . +tests/test_simulator/test_counter.py . +tests/test_simulator/test_ff.py . +tests/test_simulator/test_logic.py . +tests/test_type/test_anon_type.py . +tests/test_type/test_array.py . +tests/test_type/test_array2d.py . +tests/test_type/test_arrayconstruct.py . +tests/test_type/test_arrayflip.py . +tests/test_type/test_arrayval.py . +tests/test_type/test_awire1.py . +tests/test_type/test_bit.py . +tests/test_type/test_bitflip.py . +tests/test_type/test_bitval.py . +tests/test_type/test_tuple.py . +tests/test_type/test_tupleconstruct.py . +tests/test_type/test_tupleflip.py . +tests/test_type/test_tupleval.py . +tests/test_type/test_twire1.py . +tests/test_type/test_type_errors.py ... +tests/test_type/test_vcc.py . +tests/test_type/test_whole.py . +tests/test_type/test_wire1.py . +tests/test_type/test_wire2.py . +tests/test_type/test_wire3.py . +tests/test_type/test_wire4.py . +tests/test_type/test_wire5.py . +tests/test_verilog/test_verilog.py . +tests/test_wire/test_arg1.py . +tests/test_wire/test_arg2.py . +tests/test_wire/test_array1.py . +tests/test_wire/test_array2.py . +tests/test_wire/test_array3.py . +tests/test_wire/test_call1.py . +tests/test_wire/test_call2.py . +tests/test_wire/test_compose.py . +tests/test_wire/test_const0.py . +tests/test_wire/test_const1.py . +tests/test_wire/test_errors.py .. +tests/test_wire/test_flip.py . +tests/test_wire/test_named1.py . +tests/test_wire/test_named2a.py . +tests/test_wire/test_named2b.py . +tests/test_wire/test_named2c.py . + +%package -n python3-magma-lang +Summary: An embedded DSL for constructing hardware circuits +Provides: python-magma-lang +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-magma-lang +platform darwin -- Python 3.6.1, pytest-3.0.7, py-1.4.33, pluggy-0.4.0 +rootdir: ..../repos/magmacore, inifile: +collected 70 items +tests/test_circuit/test_anon.py . +tests/test_circuit/test_declare.py . +tests/test_circuit/test_define.py . +tests/test_higher/test_braid.py . +tests/test_higher/test_curry.py . +tests/test_higher/test_currylut.py . +tests/test_higher/test_curryrom.py . +tests/test_higher/test_flat.py . +tests/test_higher/test_fork.py . +tests/test_higher/test_higher_compose.py . +tests/test_higher/test_join.py . +tests/test_interface/test_interface.py .... +tests/test_io/test_inout1.py . +tests/test_io/test_inout2.py . +tests/test_io/test_out1.py . +tests/test_io/test_out2.py . +tests/test_ir/test_declaretest.py . +tests/test_ir/test_ir.py . +tests/test_meta/test_class.py . +tests/test_meta/test_creg.py . +tests/test_simulator/test_counter.py . +tests/test_simulator/test_ff.py . +tests/test_simulator/test_logic.py . +tests/test_type/test_anon_type.py . +tests/test_type/test_array.py . +tests/test_type/test_array2d.py . +tests/test_type/test_arrayconstruct.py . +tests/test_type/test_arrayflip.py . +tests/test_type/test_arrayval.py . +tests/test_type/test_awire1.py . +tests/test_type/test_bit.py . +tests/test_type/test_bitflip.py . +tests/test_type/test_bitval.py . +tests/test_type/test_tuple.py . +tests/test_type/test_tupleconstruct.py . +tests/test_type/test_tupleflip.py . +tests/test_type/test_tupleval.py . +tests/test_type/test_twire1.py . +tests/test_type/test_type_errors.py ... +tests/test_type/test_vcc.py . +tests/test_type/test_whole.py . +tests/test_type/test_wire1.py . +tests/test_type/test_wire2.py . +tests/test_type/test_wire3.py . +tests/test_type/test_wire4.py . +tests/test_type/test_wire5.py . +tests/test_verilog/test_verilog.py . +tests/test_wire/test_arg1.py . +tests/test_wire/test_arg2.py . +tests/test_wire/test_array1.py . +tests/test_wire/test_array2.py . +tests/test_wire/test_array3.py . +tests/test_wire/test_call1.py . +tests/test_wire/test_call2.py . +tests/test_wire/test_compose.py . +tests/test_wire/test_const0.py . +tests/test_wire/test_const1.py . +tests/test_wire/test_errors.py .. +tests/test_wire/test_flip.py . +tests/test_wire/test_named1.py . +tests/test_wire/test_named2a.py . +tests/test_wire/test_named2b.py . +tests/test_wire/test_named2c.py . + +%package help +Summary: Development documents and examples for magma-lang +Provides: python3-magma-lang-doc +%description help +platform darwin -- Python 3.6.1, pytest-3.0.7, py-1.4.33, pluggy-0.4.0 +rootdir: ..../repos/magmacore, inifile: +collected 70 items +tests/test_circuit/test_anon.py . +tests/test_circuit/test_declare.py . +tests/test_circuit/test_define.py . +tests/test_higher/test_braid.py . +tests/test_higher/test_curry.py . +tests/test_higher/test_currylut.py . +tests/test_higher/test_curryrom.py . +tests/test_higher/test_flat.py . +tests/test_higher/test_fork.py . +tests/test_higher/test_higher_compose.py . +tests/test_higher/test_join.py . +tests/test_interface/test_interface.py .... +tests/test_io/test_inout1.py . +tests/test_io/test_inout2.py . +tests/test_io/test_out1.py . +tests/test_io/test_out2.py . +tests/test_ir/test_declaretest.py . +tests/test_ir/test_ir.py . +tests/test_meta/test_class.py . +tests/test_meta/test_creg.py . +tests/test_simulator/test_counter.py . +tests/test_simulator/test_ff.py . +tests/test_simulator/test_logic.py . +tests/test_type/test_anon_type.py . +tests/test_type/test_array.py . +tests/test_type/test_array2d.py . +tests/test_type/test_arrayconstruct.py . +tests/test_type/test_arrayflip.py . +tests/test_type/test_arrayval.py . +tests/test_type/test_awire1.py . +tests/test_type/test_bit.py . +tests/test_type/test_bitflip.py . +tests/test_type/test_bitval.py . +tests/test_type/test_tuple.py . +tests/test_type/test_tupleconstruct.py . +tests/test_type/test_tupleflip.py . +tests/test_type/test_tupleval.py . +tests/test_type/test_twire1.py . +tests/test_type/test_type_errors.py ... +tests/test_type/test_vcc.py . +tests/test_type/test_whole.py . +tests/test_type/test_wire1.py . +tests/test_type/test_wire2.py . +tests/test_type/test_wire3.py . +tests/test_type/test_wire4.py . +tests/test_type/test_wire5.py . +tests/test_verilog/test_verilog.py . +tests/test_wire/test_arg1.py . +tests/test_wire/test_arg2.py . +tests/test_wire/test_array1.py . +tests/test_wire/test_array2.py . +tests/test_wire/test_array3.py . +tests/test_wire/test_call1.py . +tests/test_wire/test_call2.py . +tests/test_wire/test_compose.py . +tests/test_wire/test_const0.py . +tests/test_wire/test_const1.py . +tests/test_wire/test_errors.py .. +tests/test_wire/test_flip.py . +tests/test_wire/test_named1.py . +tests/test_wire/test_named2a.py . +tests/test_wire/test_named2b.py . +tests/test_wire/test_named2c.py . + +%prep +%autosetup -n magma-lang-2.2.57 + +%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-magma-lang -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.57-1 +- Package Spec generated @@ -0,0 +1 @@ +df6a61c23cbcfc6d2e621206b3450658 magma-lang-2.2.57.tar.gz |