[arch-commits] Commit in python-faker/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Aug 29 06:36:17 UTC 2017
Date: Tuesday, August 29, 2017 @ 06:36:17
Author: felixonmars
Revision: 254712
archrelease: copy trunk to community-any
Added:
python-faker/repos/community-any/PKGBUILD
(from rev 254711, python-faker/trunk/PKGBUILD)
Deleted:
python-faker/repos/community-any/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-29 06:35:50 UTC (rev 254711)
+++ PKGBUILD 2017-08-29 06:36:17 UTC (rev 254712)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com>
-# Contributor: dnuux <dnuuxx at gmail.com>
-
-pkgbase=python-faker
-pkgname=(python-faker python2-faker)
-pkgver=0.7.18
-pkgrel=1
-pkgdesc='Faker generates fake data for you.'
-arch=('any')
-url='http://www.joke2k.net/faker/'
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-dateutil' 'python2-dateutil')
-checkdepends=('python-ukpostcodeparser' 'python2-ukpostcodeparser'
- 'python-mock' 'python2-mock' 'python-email-validator' 'python2-email-validator'
- 'python2-ipaddress')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/joke2k/faker/archive/v$pkgver.tar.gz")
-sha512sums=('2a2e84d01820ff4f55b43f212f51e60eae67f310b770514ee42f8fa5b68d850e4f73f35d9e1f8c8f4375e83c49a4f1b8299e2e32b537bd4648b590b2e22e9f40')
-
-prepare() {
- cp -a faker-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/faker-$pkgver
- python setup.py build
-
- cd "$srcdir"/faker-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/faker-$pkgver
- python setup.py test
-
- cd "$srcdir"/faker-$pkgver-py2
- python2 setup.py test
-}
-
-package_python-faker() {
- depends=('python-setuptools' 'python-dateutil')
- provides=("python-fake-factory=$pkgver")
- conflicts=('python-fake-factory')
- replaces=('python-fake-factory')
-
- cd "$srcdir"/faker-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE.txt
-}
-
-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-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- mv "$pkgdir"/usr/bin/faker{,2}
- install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE.txt
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-faker/repos/community-any/PKGBUILD (from rev 254711, python-faker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-08-29 06:36:17 UTC (rev 254712)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com>
+# Contributor: dnuux <dnuuxx at gmail.com>
+
+pkgbase=python-faker
+pkgname=(python-faker python2-faker)
+pkgver=0.8.0
+pkgrel=1
+pkgdesc='Faker generates fake data for you.'
+arch=('any')
+url='http://www.joke2k.net/faker/'
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-dateutil' 'python2-dateutil')
+checkdepends=('python-ukpostcodeparser' 'python2-ukpostcodeparser'
+ 'python-mock' 'python2-mock' 'python-email-validator' 'python2-email-validator'
+ 'python2-ipaddress')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/joke2k/faker/archive/v$pkgver.tar.gz")
+sha512sums=('1fb7ec7b5c54c2635f0508e4f46e55c33172e3e8a547c3d1dc61f55f94bc5528e40dc422103169b87a2088a35b50460be27526d7d9a89ecbc46477c8f0e6d17b')
+
+prepare() {
+ cp -a faker-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/faker-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/faker-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/faker-$pkgver
+ python setup.py test
+
+ cd "$srcdir"/faker-$pkgver-py2
+ python2 setup.py test
+}
+
+package_python-faker() {
+ depends=('python-setuptools' 'python-dateutil')
+ provides=("python-fake-factory=$pkgver")
+ conflicts=('python-fake-factory')
+ replaces=('python-fake-factory')
+
+ cd "$srcdir"/faker-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE.txt
+}
+
+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-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ mv "$pkgdir"/usr/bin/faker{,2}
+ install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE.txt
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list