%global _empty_manifest_terminate_build 0 Name: python-PyIsEven Version: 0.8.11 Release: 1 Summary: Check is a integer is even License: MIT URL: https://github.com/rosineygp/PyIsEven Source0: https://mirrors.aliyun.com/pypi/web/packages/c9/59/917e3ebe62b534cc4a62d0482f4574f61bd563af3d5576a47d1b5a4c9bc9/PyIsEven-0.8.11.tar.gz BuildArch: noarch Requires: python3-requests Requires: python3-retry Requires: python3-typing-extensions %description # Is Even ![PyPI - Downloads](https://img.shields.io/pypi/dm/PyIsEven) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rosineygp_PyIsEven&metric=alert_status)](https://sonarcloud.io/dashboard?id=rosineygp_PyIsEven) Check if interger is even using `isevenapi`. https://isevenapi.xyz/ Main features: - cache memoization - api retry handler - hide ads ## Install ```bash pip install PyIsEven ``` ## Usage ```python from is_even import is_even as ie ie.is_even(10) > True # Get AD v = ie.is_even(10) v.ad > "HONDA CIVIC '96, AM/FM/CD, low miles, Good condition. Speaks Spanish $3500 339-555-6289" ie.is_even(10).ad > "CHINA CABINET, buffet, hutch solid pine, 6.5 tall x 4.5 wide, lighted windows. few cat scratches but cat has died. $700. Call 435-555-6421" ``` %package -n python3-PyIsEven Summary: Check is a integer is even Provides: python-PyIsEven BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-PyIsEven # Is Even ![PyPI - Downloads](https://img.shields.io/pypi/dm/PyIsEven) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rosineygp_PyIsEven&metric=alert_status)](https://sonarcloud.io/dashboard?id=rosineygp_PyIsEven) Check if interger is even using `isevenapi`. https://isevenapi.xyz/ Main features: - cache memoization - api retry handler - hide ads ## Install ```bash pip install PyIsEven ``` ## Usage ```python from is_even import is_even as ie ie.is_even(10) > True # Get AD v = ie.is_even(10) v.ad > "HONDA CIVIC '96, AM/FM/CD, low miles, Good condition. Speaks Spanish $3500 339-555-6289" ie.is_even(10).ad > "CHINA CABINET, buffet, hutch solid pine, 6.5 tall x 4.5 wide, lighted windows. few cat scratches but cat has died. $700. Call 435-555-6421" ``` %package help Summary: Development documents and examples for PyIsEven Provides: python3-PyIsEven-doc %description help # Is Even ![PyPI - Downloads](https://img.shields.io/pypi/dm/PyIsEven) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rosineygp_PyIsEven&metric=alert_status)](https://sonarcloud.io/dashboard?id=rosineygp_PyIsEven) Check if interger is even using `isevenapi`. https://isevenapi.xyz/ Main features: - cache memoization - api retry handler - hide ads ## Install ```bash pip install PyIsEven ``` ## Usage ```python from is_even import is_even as ie ie.is_even(10) > True # Get AD v = ie.is_even(10) v.ad > "HONDA CIVIC '96, AM/FM/CD, low miles, Good condition. Speaks Spanish $3500 339-555-6289" ie.is_even(10).ad > "CHINA CABINET, buffet, hutch solid pine, 6.5 tall x 4.5 wide, lighted windows. few cat scratches but cat has died. $700. Call 435-555-6421" ``` %prep %autosetup -n PyIsEven-0.8.11 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-PyIsEven -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri Jun 09 2023 Python_Bot - 0.8.11-1 - Package Spec generated