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

Felix Yan felixonmars at archlinux.org
Tue May 15 04:43:27 UTC 2018


    Date: Tuesday, May 15, 2018 @ 04:43:26
  Author: felixonmars
Revision: 322245

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  130 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 65 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-15 04:43:02 UTC (rev 322244)
+++ PKGBUILD	2018-05-15 04:43:26 UTC (rev 322245)
@@ -1,65 +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.8.14
-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'
-             'python-text-unidecode' 'python2-text-unidecode')
-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=('c8d0288dd7c9621c8f96089e4cab3aa5a9aa554f3f2b19a822dec60845fa6bf44007c03aca77afef888080bfe09c3a606e8964db3afed359e2f4db6e413fcf4e')
-
-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' 'python-text-unidecode')
-  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-text-unidecode' '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 322244, python-faker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-15 04:43:26 UTC (rev 322245)
@@ -0,0 +1,65 @@
+# $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.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'
+             'python-text-unidecode' 'python2-text-unidecode')
+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=('dbcc44a8d5e17a5d444e9c1e923796c8bad9a1cb19fcea18c5c9a8526952474be33b3cf26f0e46e5d7d7c2a65facbe5b24f80cd9eb0aff39e5aff8668aba65ba')
+
+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' 'python-text-unidecode')
+  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-text-unidecode' '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