Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37868885
en ru br
ALT Linux repos
S:19.6.2-alt1

Group :: Development/Python3
RPM: python3-module-faker

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define  oname faker

%def_with check

Name:    python3-module-%oname
Version: 19.6.1
Release: alt1

Summary: Faker is a Python package that generates fake data for you.

License: MIT
Group:   Development/Python3
URL:     https://pypi.org/project/Faker
VCS:     https://github.com/joke2k/faker

Packager: Grigory Ustinov <grenka at altlinux.org>

BuildArch: noarch

Source:  %name-%version.tar

BuildRequires(pre): rpm-build-python3

%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-dateutil
BuildRequires: python3-module-text-unidecode
BuildRequires: python3-module-validators
BuildRequires: python3-module-freezegun
BuildRequires: python3-module-random2
%endif

%description
%summary

%prep
%setup

%build
%python3_build

%install
%python3_install

%check
export PYTHONPATH=%buildroot%python3_sitelibdir
# Exclude tests that require the faker.sphinx module
py.test3 --ignore-glob='tests/sphinx/*'

%files
%doc LICENSE.txt *.rst *.md
%_bindir/%oname
%python3_sitelibdir/%oname/
%python3_sitelibdir/Faker-%version-py%_python3_version.egg-info

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin