[arch-commits] Commit in python-faker/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Dec 17 07:38:10 UTC 2016
Date: Saturday, December 17, 2016 @ 07:38:10
Author: felixonmars
Revision: 199910
upgpkg: python-faker 0.7.5-1
Modified:
python-faker/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-12-17 07:06:37 UTC (rev 199909)
+++ PKGBUILD 2016-12-17 07:38:10 UTC (rev 199910)
@@ -3,9 +3,10 @@
# Contributor: Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com>
# Contributor: dnuux <dnuuxx at gmail.com>
-pkgbase=python-fake-factory
-pkgname=(python-fake-factory python2-fake-factory)
-pkgver=0.7.2
+pkgbase=python-faker
+pkgname=(python-faker python2-faker)
+pkgver=0.7.5
+_commit=c921d966a0ba6732272009773a36c5e0daf0f924
pkgrel=1
pkgdesc='Faker generates fake data for you.'
arch=('any')
@@ -15,7 +16,7 @@
checkdepends=('python-ukpostcodeparser' 'python2-ukpostcodeparser' 'python-nose' 'python2-nose'
'python-mock' 'python2-mock' 'python-email-validator' 'python2-email-validator'
'python2-ipaddress')
-source=("git+https://github.com/joke2k/faker.git#tag=v$pkgver")
+source=("git+https://github.com/joke2k/faker.git#commit=$_commit")
sha256sums=('SKIP')
prepare() {
@@ -38,8 +39,11 @@
nosetests2
}
-package_python-fake-factory() {
+package_python-faker() {
depends=('python-setuptools' 'python-dateutil')
+ provides=("python-fake-factory=$pkgver")
+ conflicts=('python-fake-factory')
+ replaces=('python-fake-factory')
cd "$srcdir"/faker
python setup.py install --root="$pkgdir" --optimize=1
@@ -46,8 +50,11 @@
install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE.txt
}
-package_python2-fake-factory() {
+package_python2-faker() {
depends=('python2-setuptools' 'python2-dateutil' 'python2-ipaddress')
+ provides=("python2-fake-factory=$pkgver")
+ conflicts=('python2-fake-factory')
+ replaces=('python2-fake-factory')
cd "$srcdir"/faker-py2
python2 setup.py install --root="$pkgdir" --optimize=1
More information about the arch-commits
mailing list