diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2020-11-20 12:04:18 -0800 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2020-11-20 12:04:18 -0800 |
commit | cba5ac752df5c68302e7d795f48b3373b610d026 (patch) | |
tree | fd98468b6cb3a42a93166a0d92f0d34a791c5b58 | |
parent | 000a1f4e26c3c354cd84a0fa80c2cd0facc16e26 (diff) | |
download | specs-cba5ac752df5c68302e7d795f48b3373b610d026.tar.gz specs-cba5ac752df5c68302e7d795f48b3373b610d026.tar.xz specs-cba5ac752df5c68302e7d795f48b3373b610d026.zip |
- ./python/python-fissix.spec
-rw-r--r-- | python/python-fissix.spec | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/python/python-fissix.spec b/python/python-fissix.spec deleted file mode 100644 index d2fe5f4..0000000 --- a/python/python-fissix.spec +++ /dev/null @@ -1,68 +0,0 @@ -%global srcname fissix - -%bcond_without tests - -Name: python-%{srcname} -Version: 20.8.0 -Release: 1%{?dist} -Summary: Monkeypatches to override default behavior of lib2to3 -License: Python -URL: https://github.com/jreese/fissix -Source0: %{pypi_source} -Patch0: %{srcname}-dont_ship_tests.patch - -BuildArch: noarch - -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%if %{with tests} -BuildRequires: python3-test -BuildRequires: %{py3_dist appdirs} -BuildRequires: %{py3_dist pytest} -%endif - - -%global _description %{expand: -Backport of latest lib2to3, with enhancements.} - - -%description %_description - - -%package -n python3-%{srcname} -Summary: %{summary} -# not sure why but automatic requires don't work -Requires: %{py3_dist appdirs} - -%description -n python3-%{srcname} %_description - - -%prep -%autosetup -p1 -n %{srcname}-%{version} -sed -i '1d' fissix/pgen2/token.py - - -%build -%py3_build - - -%install -%py3_install -cp -p fissix/*.txt %{buildroot}%{python3_sitelib}/%{srcname}/ - - -%check -# mv fissix-tests fissix/tests -%{python3} -m pytest --verbose fissix/tests - - -%files -n python3-%{srcname} -%license LICENSE -%doc README.md -%{python3_sitelib}/%{srcname}/ -%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info - - -%changelog -* Thu Nov 19 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.9.0-1 -- Initial package |