|
 |
5020902 |
%global pypi_name socialscan
|
|
 |
5020902 |
%bcond_with network
|
|
 |
5020902 |
|
|
 |
5020902 |
Name: %{pypi_name}
|
|
 |
f99a63e |
Version: 1.4.2
|
|
 |
891f791 |
Release: 7%{?dist}
|
|
 |
5020902 |
Summary: CLI and library for usage checking of user names and email addresses
|
|
 |
5020902 |
|
|
 |
5020902 |
License: MPLv2.0
|
|
 |
5020902 |
URL: https://github.com/iojw/socialscan
|
|
 |
5020902 |
Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
|
|
 |
5020902 |
BuildArch: noarch
|
|
 |
5020902 |
|
|
 |
5020902 |
BuildRequires: python3-devel
|
|
 |
5020902 |
BuildRequires: python3-setuptools
|
|
 |
5020902 |
%if %{with network}
|
|
 |
5020902 |
BuildRequires: python3-pytest
|
|
 |
5020902 |
BuildRequires: python3-aiohttp
|
|
 |
5020902 |
%endif
|
|
 |
5020902 |
|
|
 |
5020902 |
Requires: python3-%{pypi_name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
 |
5020902 |
|
|
 |
5020902 |
%description
|
|
 |
5020902 |
socialscan offers accurate and fast checks for email address and user name
|
|
 |
5020902 |
usage on online platforms. Given an email address or user name, socialscan
|
|
 |
5020902 |
returns whether it is available, taken or invalid on online platforms.
|
|
 |
5020902 |
|
|
 |
5020902 |
%package -n python3-%{pypi_name}
|
|
 |
5020902 |
Summary: %{summary}
|
|
 |
5020902 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
 |
5020902 |
|
|
 |
5020902 |
%description -n python3-%{pypi_name}
|
|
 |
5020902 |
socialscan offers accurate and fast checks for email address and user name
|
|
 |
5020902 |
usage on online platforms. Given an email address or user name, socialscan
|
|
 |
5020902 |
returns whether it is available, taken or invalid on online platforms.
|
|
 |
5020902 |
|
|
 |
5020902 |
%prep
|
|
 |
5020902 |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
5020902 |
rm -rf %{pypi_name}.egg-info
|
|
 |
5020902 |
|
|
 |
5020902 |
%build
|
|
 |
5020902 |
%py3_build
|
|
 |
5020902 |
|
|
 |
5020902 |
%install
|
|
 |
5020902 |
%py3_install
|
|
 |
5020902 |
|
|
 |
5020902 |
%if %{with network}
|
|
 |
5020902 |
%check
|
|
 |
5020902 |
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests \
|
|
 |
5020902 |
-k "not Instagram"
|
|
 |
5020902 |
%endif
|
|
 |
5020902 |
|
|
 |
5020902 |
%files
|
|
 |
5020902 |
%{_bindir}/%{pypi_name}
|
|
 |
5020902 |
|
|
 |
5020902 |
%files -n python3-%{pypi_name}
|
|
 |
5020902 |
%doc README.md
|
|
 |
5020902 |
%license LICENSE
|
|
 |
5020902 |
%{python3_sitelib}/%{pypi_name}/
|
|
 |
5020902 |
%{python3_sitelib}/%{pypi_name}-%{version}-py*.egg-info/
|
|
 |
5020902 |
|
|
 |
5020902 |
%changelog
|
|
 |
891f791 |
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-7
|
|
 |
891f791 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
 |
891f791 |
|
|
 |
4669ac4 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.4.2-6
|
|
 |
4669ac4 |
- Rebuilt for Python 3.12
|
|
 |
4669ac4 |
|
|
 |
f74683e |
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-5
|
|
 |
f74683e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
f74683e |
|
|
 |
d1e518f |
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-4
|
|
 |
d1e518f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
d1e518f |
|
|
 |
89ee6cf |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.4.2-3
|
|
 |
89ee6cf |
- Rebuilt for Python 3.11
|
|
 |
89ee6cf |
|
|
 |
c2de02e |
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
|
 |
c2de02e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
c2de02e |
|
|
 |
f99a63e |
* Wed Aug 25 2021 Fabian Affolter <mail@fabian-affolter.ch> - 1.4.2-1
|
|
 |
f99a63e |
- Update to latest upstream release 1.4.2 (rhbz#1983316)
|
|
 |
f99a63e |
|
|
 |
48e1ea8 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
|
|
 |
48e1ea8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
48e1ea8 |
|
|
 |
60995d3 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.4.0-3
|
|
 |
60995d3 |
- Rebuilt for Python 3.10
|
|
 |
60995d3 |
|
|
 |
7c3d01b |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
|
 |
7c3d01b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
7c3d01b |
|
|
 |
a309107 |
* Fri Oct 30 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.4.0-1
|
|
 |
a309107 |
- Update to latest upstream release 1.4.0 (#1893069)
|
|
 |
a309107 |
|
|
 |
6cd64de |
* Fri Sep 25 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.3.0-1
|
|
 |
6cd64de |
- Update to latest upstream release 1.3.0 (#1882611)
|
|
 |
6cd64de |
|
|
 |
de6054d |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-2
|
|
 |
de6054d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
de6054d |
|
|
 |
5020902 |
* Sun May 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.1.6-1
|
|
 |
5020902 |
- Initial package
|