Files
packages/anda/langs/python/txtorcon/txtorcon.spec
T
Raboneko cbf385defa add: txtorcon (#7056) (#7061)
(cherry picked from commit a2a498f167)

Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
2025-11-03 20:08:07 -06:00

55 lines
1.5 KiB
RPMSpec

%global pypi_name txtorcon
%global _desc Twisted-based asynchronous Tor control protocol implementation. Includes unit-tests, examples, state-tracking code and configuration abstraction.
Name: python-%{pypi_name}
Version: 24.8.0
Release: 1%?dist
Summary: Twisted-based asynchronous Tor control protocol implementation. Includes unit-tests, examples, state-tracking code and configuration abstraction
License: MIT
URL: https://github.com/meejah/txtorcon
Source0: %{pypi_source}
Patch0: shebangs.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
Provides: txtorcon
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -p1 -n txtorcon-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files txtorcon
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.rst INSTALL
%license LICENSE
%python3_sitelib/twisted/plugins/__pycache__/txtorcon_endpoint_parser.*.pyc
%python3_sitelib/txtorcon-%version.dist-info/*
%python3_sitelib/twisted/plugins/*.py
%{_datadir}/txtorcon/*
%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc
%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc
%changelog
* Mon Nov 03 2025 Owen Zimmerman <owen@fyralabs.com>
- Initial commit