[arch-commits] Commit in python-faker/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Jun 3 07:38:34 UTC 2017


    Date: Saturday, June 3, 2017 @ 07:38:34
  Author: felixonmars
Revision: 233645

archrelease: copy trunk to community-any

Added:
  python-faker/repos/community-any/PKGBUILD
    (from rev 233644, python-faker/trunk/PKGBUILD)
Deleted:
  python-faker/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  128 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 64 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-03 07:37:58 UTC (rev 233644)
+++ PKGBUILD	2017-06-03 07:38:34 UTC (rev 233645)
@@ -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.12
-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' 'git')
-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")
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a faker{,-py2}
-}
-
-build() {
-  cd "$srcdir"/faker
-  python setup.py build
-
-  cd "$srcdir"/faker-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/faker
-  nosetests3
-
-  cd "$srcdir"/faker-py2
-  nosetests2
-}
-
-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
-  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-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 233644, python-faker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-06-03 07:38:34 UTC (rev 233645)
@@ -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.7.15
+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=('7e7101060c7312b3cff0f66cbf40465290797c85087f5b68c551aef420ab2118a425da9b4e840682174ff7d9ac73a120f85f5a28fa9cf7fd6d643853a13b46fb')
+
+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