From 2688dbe4209dad85f84585cf0c7c42c016e8633c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Apr 08 2019 10:52:19 +0000 Subject: Initial import Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2bb2c15 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/aiohttp_socks-0.2.2.tar.gz diff --git a/python-aiohttp-socks.spec b/python-aiohttp-socks.spec new file mode 100644 index 0000000..9c40d87 --- /dev/null +++ b/python-aiohttp-socks.spec @@ -0,0 +1,52 @@ +%{?python_enable_dependency_generator} +%global pypi_name aiohttp-socks +%global srcname aiohttp_socks +%global _description \ +SOCKS proxy connector for aiohttp. SOCKS4(a) and SOCKS5 are supported. + +Name: python-%{pypi_name} +Version: 0.2.2 +Release: 1%{?dist} +Summary: SOCKS proxy connector for aiohttp + +License: ASL 2.0 +URL: https://pypi.org/project/aiohttp-socks/ +Source: %{pypi_source} + +BuildArch: noarch + +%description %{_description} + +%package -n python3-%{pypi_name} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} %{_description} + +Python 3 version. + +%prep +%autosetup -n %{srcname}-%{version} +rm -vrf *.egg-info +sed -i -e 's/\r//' README.md + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE.txt +%doc README.md +%{python3_sitelib}/%{srcname}/ +%{python3_sitelib}/%{srcname}-*.egg-info/ + +%changelog +* Mon Dec 31 2018 Igor Gnatenko - 0.2.2-1 +- Update to 0.2.2 + +* Sun Dec 30 2018 Igor Gnatenko - 0.2.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..f62fe34 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (aiohttp_socks-0.2.2.tar.gz) = b31c1dc4e32a0a4259bacdd4837f70e35994172a2a20b6797007181c50d4a06bdc1fa052006964297b68a4dc8f790bb28e416b3848932b838a9da967090b23bb