1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com>
3 # Contributor: dnuux <dnuuxx@gmail.com>
7 _commit=2c39895b8602ed179c975dba6f0a23936e8969e4
9 pkgdesc='Faker generates fake data for you.'
11 url='https://faker.readthedocs.io/en/master/'
13 depends=('python-dateutil')
14 makedepends=('git' 'python-setuptools' 'python-pytest')
15 checkdepends=('python-validators' 'python-ukpostcodeparser' 'python-freezegun' 'python-pillow')
16 source=("git+https://github.com/joke2k/faker.git#commit=$_commit")
20 sed -i -e 's/==/>=/' faker/setup.py
30 python setup.py egg_info
36 python setup.py install --root="$pkgdir" --optimize=1
37 install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/