Группа :: Разработка/Python
Пакет: python3-module-txtorcon
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define modulename txtorcon
Name: python3-module-txtorcon
Version: 22.0.0
Release: alt1
Summary: txtorcon password-authenticated key exchange (pure python)
Url: https://pypi.python.org/pypi/txtorcon
License: MIT
Group: Development/Python
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: https://pypi.io/packages/source/t/%modulename/%modulename-%version.tar.gz
Source: %modulename-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-dev python3-module-setuptools
BuildArch: noarch
AutoReq:yes,nopython
%description
Twisted-based Tor controller client, with state-tracking and configuration abstractions.
https://txtorcon.readthedocs.org
%prep
%setup -n %modulename-%version
%build
%python3_build
%install
%python3_install
rm -rfv %buildroot%python3_sitelibdir/test/
# drop python2 files
rm -rfv %buildroot%_datadir/%modulename/examples/
rm -rfv %buildroot%_datadir/%modulename/*.py
%files
%python3_sitelibdir/%modulename/
%python3_sitelibdir/twisted/plugins/
%python3_sitelibdir/*.egg-info/
%_datadir/%modulename/
%changelog
…
Полный changelog можно просмотреть здесь
Name: python3-module-txtorcon
Version: 22.0.0
Release: alt1
Summary: txtorcon password-authenticated key exchange (pure python)
Url: https://pypi.python.org/pypi/txtorcon
License: MIT
Group: Development/Python
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: https://pypi.io/packages/source/t/%modulename/%modulename-%version.tar.gz
Source: %modulename-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-dev python3-module-setuptools
BuildArch: noarch
AutoReq:yes,nopython
%description
Twisted-based Tor controller client, with state-tracking and configuration abstractions.
https://txtorcon.readthedocs.org
%prep
%setup -n %modulename-%version
%build
%python3_build
%install
%python3_install
rm -rfv %buildroot%python3_sitelibdir/test/
# drop python2 files
rm -rfv %buildroot%_datadir/%modulename/examples/
rm -rfv %buildroot%_datadir/%modulename/*.py
%files
%python3_sitelibdir/%modulename/
%python3_sitelibdir/twisted/plugins/
%python3_sitelibdir/*.egg-info/
%_datadir/%modulename/
%changelog
…
Полный changelog можно просмотреть здесь