]> git.pld-linux.org Git - packages/python-uncompyle6.git/blob - python-uncompyle6.spec
42e6220aac17421cbbea71b658a1812aa9ddaaec
[packages/python-uncompyle6.git] / python-uncompyle6.spec
1 Summary:        A Python decompiler, disassembler and cross-version bytecode library
2 Name:           python-uncompyle6
3 Version:        2.3.1
4 Release:        1
5 License:        GPL v3
6 Group:          Applications
7 Source0:        https://github.com/rocky/python-uncompyle6/archive/release-%{version}.tar.gz
8 # Source0-md5:  da124157e8a7cf72d88a82650704ebeb
9 URL:            https://github.com/rocky/python-uncompyle6/
10 BuildRequires:  rpm-pythonprov
11 BuildRequires:  rpmbuild(macros) >= 1.219
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 uncompyle6 translates Python bytecode back into equivalent Python
17 source code. It accepts bytecodes from Python version 2.5 to 3.4 or so
18 and has been tested on Python running versions 2.6, 2.7, 3.3, 3.4 and
19 3.5.
20
21 %prep
22 %setup -qc
23 mv %{name}-*/* .
24
25 %build
26 %py_build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 %py_install
32 %py_postclean
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %attr(755,root,root) %{_bindir}/pydisassemble
40 %attr(755,root,root) %{_bindir}/uncompyle6
41 %{py_sitescriptdir}/uncompyle6
42 %{py_sitescriptdir}/uncompyle6-%{version}-py*.egg-info
This page took 0.10717 seconds and 2 git commands to generate.