summaryrefslogtreecommitdiff
path: root/python-genuine-fake.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-genuine-fake.spec')
-rw-r--r--python-genuine-fake.spec227
1 files changed, 115 insertions, 112 deletions
diff --git a/python-genuine-fake.spec b/python-genuine-fake.spec
index 6681d53..4169b84 100644
--- a/python-genuine-fake.spec
+++ b/python-genuine-fake.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
-Name: python-Genuine-fake
-Version: 1.2.20
+Name: python-genuine-fake
+Version: 1.2.21
Release: 1
Summary: Get genuine data for your testing requirements.
License: MIT
URL: https://github.com/xeroxzen/genuine-fake
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/14/31/53b26fbe4c132a03e36397f5e11291f0f7c27f2cfcb8477e7db9eb01283b/Genuine-fake-1.2.20.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/c6/bd/f814092f921f54c31c2869feafaf474020d56f8486c7844418c3101451da/Genuine-fake-1.2.21.tar.gz
BuildArch: noarch
@@ -26,7 +26,7 @@ Well, truthfully the inspiration came from me trying to challenge myself and be
### How It Works
-### Installation
+### ```Installation```
```sh
$ pip install genuine-fake
@@ -34,65 +34,68 @@ $ pip install genuine-fake
### Different Environments
+#### ```MacOS and Linux Terminal```
```python
-Terminal
-$ pip3 install genuine-fake
+$ pip3 install Genuine-fake
$ python3
>>>
```
-```python
-Windows Command Prompt
-C:\Users\Andile XeroxZen> pip install genuine-fake
-C:\Users\Andile XeroxZen> python
+#### ```Windows Command Prompt```
+```cmd
+C:\Users\andil> pip install genuine-fake
+C:\Users\andil> python
+```
+```py
+>>> from genuine.fake import GenuineFake as gf
>>>
```
-### Usage
+### ```In Action```
```python
->>> from genuine.fake import GenuineFake as data
->>> data.name()
+>>> from genuine.fake import GenuineFake as gf
+>>> gf.name()
'Mbonisi Ncube'
->>> data.first_name()
+>>> gf.first_name()
'Phumzile'
->>> data.last_name()
+>>> gf.last_name()
'Moyo'
->>> data.hospital()
+>>> gf.hospital()
'Queen of Peace Clinic'
->>> data.medical_aid()
+>>> gf.medical_aid()
'For All Medical Aid Society'
->>> data.medical_professions()
+>>> gf.medical_professions()
'Orthotist'
->>> data.national_id()
+>>> gf.national_id()
'08-906712V35'
->>> data.phone_number()
+>>> gf.phone_number()
'+263 77 647 5160'
->>> data.email()
+>>> gf.email()
'ivynkala@outlook.com'
->>> data.address()
+>>> gf.address()
'32 Casper Road, Sunninghill'
->>> data.career()
+>>> gf.career()
'Physician'
->>> data.company()
+>>> gf.company()
'Standard Chartered Bank'
->>> data.career_position()
+>>> gf.career_position()
'Chauffeur'
->>> data.date()
+>>> gf.date()
'2020-04-13'
->>> data.random_date()
+>>> gf.random_date()
'1988-06-21'
->>> data.date_of_birth()
+>>> gf.date_of_birth()
'1995-05-19'
->>> data.allergies()
+>>> gf.allergies()
'Fish'
->>> data.house_account_number()
+>>> gf.house_account_number()
'34746237'
->>> data.covid_symptom()
+>>> gf.covid_symptom()
'fever'
->>> data.payment_method()
+>>> gf.payment_method()
'EcoCash'
->>> data.covid_age_group()
+>>> gf.covid_age_group()
'13 - 19'
```
@@ -112,15 +115,13 @@ C:\Users\Andile XeroxZen> python
```
-
-
-%package -n python3-Genuine-fake
+%package -n python3-genuine-fake
Summary: Get genuine data for your testing requirements.
-Provides: python-Genuine-fake
+Provides: python-genuine-fake
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
-%description -n python3-Genuine-fake
+%description -n python3-genuine-fake
# Genuine-Fake documentation
### Definition
@@ -137,7 +138,7 @@ Well, truthfully the inspiration came from me trying to challenge myself and be
### How It Works
-### Installation
+### ```Installation```
```sh
$ pip install genuine-fake
@@ -145,65 +146,68 @@ $ pip install genuine-fake
### Different Environments
+#### ```MacOS and Linux Terminal```
```python
-Terminal
-$ pip3 install genuine-fake
+$ pip3 install Genuine-fake
$ python3
>>>
```
-```python
-Windows Command Prompt
-C:\Users\Andile XeroxZen> pip install genuine-fake
-C:\Users\Andile XeroxZen> python
+#### ```Windows Command Prompt```
+```cmd
+C:\Users\andil> pip install genuine-fake
+C:\Users\andil> python
+```
+```py
+>>> from genuine.fake import GenuineFake as gf
>>>
```
-### Usage
+### ```In Action```
```python
->>> from genuine.fake import GenuineFake as data
->>> data.name()
+>>> from genuine.fake import GenuineFake as gf
+>>> gf.name()
'Mbonisi Ncube'
->>> data.first_name()
+>>> gf.first_name()
'Phumzile'
->>> data.last_name()
+>>> gf.last_name()
'Moyo'
->>> data.hospital()
+>>> gf.hospital()
'Queen of Peace Clinic'
->>> data.medical_aid()
+>>> gf.medical_aid()
'For All Medical Aid Society'
->>> data.medical_professions()
+>>> gf.medical_professions()
'Orthotist'
->>> data.national_id()
+>>> gf.national_id()
'08-906712V35'
->>> data.phone_number()
+>>> gf.phone_number()
'+263 77 647 5160'
->>> data.email()
+>>> gf.email()
'ivynkala@outlook.com'
->>> data.address()
+>>> gf.address()
'32 Casper Road, Sunninghill'
->>> data.career()
+>>> gf.career()
'Physician'
->>> data.company()
+>>> gf.company()
'Standard Chartered Bank'
->>> data.career_position()
+>>> gf.career_position()
'Chauffeur'
->>> data.date()
+>>> gf.date()
'2020-04-13'
->>> data.random_date()
+>>> gf.random_date()
'1988-06-21'
->>> data.date_of_birth()
+>>> gf.date_of_birth()
'1995-05-19'
->>> data.allergies()
+>>> gf.allergies()
'Fish'
->>> data.house_account_number()
+>>> gf.house_account_number()
'34746237'
->>> data.covid_symptom()
+>>> gf.covid_symptom()
'fever'
->>> data.payment_method()
+>>> gf.payment_method()
'EcoCash'
->>> data.covid_age_group()
+>>> gf.covid_age_group()
'13 - 19'
```
@@ -223,11 +227,9 @@ C:\Users\Andile XeroxZen> python
```
-
-
%package help
-Summary: Development documents and examples for Genuine-fake
-Provides: python3-Genuine-fake-doc
+Summary: Development documents and examples for genuine-fake
+Provides: python3-genuine-fake-doc
%description help
# Genuine-Fake documentation
@@ -245,7 +247,7 @@ Well, truthfully the inspiration came from me trying to challenge myself and be
### How It Works
-### Installation
+### ```Installation```
```sh
$ pip install genuine-fake
@@ -253,65 +255,68 @@ $ pip install genuine-fake
### Different Environments
+#### ```MacOS and Linux Terminal```
```python
-Terminal
-$ pip3 install genuine-fake
+$ pip3 install Genuine-fake
$ python3
>>>
```
-```python
-Windows Command Prompt
-C:\Users\Andile XeroxZen> pip install genuine-fake
-C:\Users\Andile XeroxZen> python
+#### ```Windows Command Prompt```
+```cmd
+C:\Users\andil> pip install genuine-fake
+C:\Users\andil> python
+```
+```py
+>>> from genuine.fake import GenuineFake as gf
>>>
```
-### Usage
+### ```In Action```
```python
->>> from genuine.fake import GenuineFake as data
->>> data.name()
+>>> from genuine.fake import GenuineFake as gf
+>>> gf.name()
'Mbonisi Ncube'
->>> data.first_name()
+>>> gf.first_name()
'Phumzile'
->>> data.last_name()
+>>> gf.last_name()
'Moyo'
->>> data.hospital()
+>>> gf.hospital()
'Queen of Peace Clinic'
->>> data.medical_aid()
+>>> gf.medical_aid()
'For All Medical Aid Society'
->>> data.medical_professions()
+>>> gf.medical_professions()
'Orthotist'
->>> data.national_id()
+>>> gf.national_id()
'08-906712V35'
->>> data.phone_number()
+>>> gf.phone_number()
'+263 77 647 5160'
->>> data.email()
+>>> gf.email()
'ivynkala@outlook.com'
->>> data.address()
+>>> gf.address()
'32 Casper Road, Sunninghill'
->>> data.career()
+>>> gf.career()
'Physician'
->>> data.company()
+>>> gf.company()
'Standard Chartered Bank'
->>> data.career_position()
+>>> gf.career_position()
'Chauffeur'
->>> data.date()
+>>> gf.date()
'2020-04-13'
->>> data.random_date()
+>>> gf.random_date()
'1988-06-21'
->>> data.date_of_birth()
+>>> gf.date_of_birth()
'1995-05-19'
->>> data.allergies()
+>>> gf.allergies()
'Fish'
->>> data.house_account_number()
+>>> gf.house_account_number()
'34746237'
->>> data.covid_symptom()
+>>> gf.covid_symptom()
'fever'
->>> data.payment_method()
+>>> gf.payment_method()
'EcoCash'
->>> data.covid_age_group()
+>>> gf.covid_age_group()
'13 - 19'
```
@@ -331,10 +336,8 @@ C:\Users\Andile XeroxZen> python
```
-
-
%prep
-%autosetup -n Genuine-fake-1.2.20
+%autosetup -n Genuine-fake-1.2.21
%build
%py3_build
@@ -348,31 +351,31 @@ 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
+ 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
+ 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
+ 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
+ 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
+ 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-Genuine-fake -f filelist.lst
+%files -n python3-genuine-fake -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.20-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.21-1
- Package Spec generated