Group :: Development/Python3
RPM: python3-module-astor
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname astor
Name: python3-module-%oname
Version: 0.8.1
Release: alt1.1
Summary: Python AST read/write
License: BSD-3-Clause
Group: Development/Python3
Url: https://github.com/berkerpeksag/astor
BuildArch: noarch
# https://github.com/berkerpeksag/astor.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-pytest
%description
astor is designed to allow easy manipulation of Python source via the AST.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
# https://github.com/berkerpeksag/astor/issues/212
PYTHONPATH=$(pwd) py.test3 -vv \
--deselect=tests/test_rtrip.py::RtripTestCase::test_convert_stdlib \
--deselect=tests/test_code_gen.py::CodegenTestCase::test_huge_int \
%nil
%files
%doc LICENSE
%doc AUTHORS README.rst
%python3_sitelibdir/%oname-%version-py3*.egg-info
%python3_sitelibdir/%oname
%changelog
…
Todas as alterações você pod ver aqui
%define oname astor
Name: python3-module-%oname
Version: 0.8.1
Release: alt1.1
Summary: Python AST read/write
License: BSD-3-Clause
Group: Development/Python3
Url: https://github.com/berkerpeksag/astor
BuildArch: noarch
# https://github.com/berkerpeksag/astor.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-pytest
%description
astor is designed to allow easy manipulation of Python source via the AST.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
# https://github.com/berkerpeksag/astor/issues/212
PYTHONPATH=$(pwd) py.test3 -vv \
--deselect=tests/test_rtrip.py::RtripTestCase::test_convert_stdlib \
--deselect=tests/test_code_gen.py::CodegenTestCase::test_huge_int \
%nil
%files
%doc LICENSE
%doc AUTHORS README.rst
%python3_sitelibdir/%oname-%version-py3*.egg-info
%python3_sitelibdir/%oname
%changelog
…
Todas as alterações você pod ver aqui