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

Felix Yan felixonmars at archlinux.org
Tue Jan 22 17:58:29 UTC 2019


    Date: Tuesday, January 22, 2019 @ 17:58:27
  Author: felixonmars
Revision: 427028

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-22 17:58:08 UTC (rev 427027)
+++ PKGBUILD	2019-01-22 17:58:27 UTC (rev 427028)
@@ -1,65 +0,0 @@
-# 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=1.0.1
-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' 'python-pytest' 'python2-pytest')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/joke2k/faker/archive/v$pkgver.tar.gz")
-sha512sums=('e9d5a3de07e3fc84ee8972e658e9fca5164ba75be7e80141e14fdd31ec8891e192dc629837154a2fac482414f740e734d39da80d90576eaaca81814da6f82f89')
-
-prepare() {
-  sed -i 's/<3.9/<6/' faker-$pkgver/setup.py
-  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 pytest
-
-  cd "$srcdir"/faker-$pkgver-py2
-  python2 setup.py pytest
-}
-
-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 427027, python-faker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-22 17:58:27 UTC (rev 427028)
@@ -0,0 +1,65 @@
+# 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=1.0.2
+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' 'python-pytest' 'python2-pytest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/joke2k/faker/archive/v$pkgver.tar.gz")
+sha512sums=('4c9e7264d15453da7bbfd0e6b83ea3fa0592ea770adb60f34d39e07b59a7aa1e5968409c76ec1a67579c0b8219bedb2ea4fed70e82505eb847eaa56442706efd')
+
+prepare() {
+  sed -i 's/<3.9/<6/' faker-$pkgver/setup.py
+  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 pytest
+
+  cd "$srcdir"/faker-$pkgver-py2
+  python2 setup.py pytest
+}
+
+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