Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37841662
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-astor

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and 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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin