[arch-commits] Commit in python-faker/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Apr 14 04:38:52 UTC 2018
Date: Saturday, April 14, 2018 @ 04:38:51
Author: felixonmars
Revision: 316246
archrelease: copy trunk to community-any
Added:
python-faker/repos/community-any/PKGBUILD
(from rev 316245, python-faker/trunk/PKGBUILD)
Deleted:
python-faker/repos/community-any/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-14 04:38:26 UTC (rev 316245)
+++ PKGBUILD 2018-04-14 04:38:51 UTC (rev 316246)
@@ -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.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'
- '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=('11045932ea1fb633fe414bb4536cfe11e930e94b0abeb47746c321b3defd900ecba8cf15385fc13d66826295917478560a476e4a534eee6c8568ab5ae8b8a2ec')
-
-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 316245, python-faker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-14 04:38:51 UTC (rev 316246)
@@ -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.13
+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=('7ff7d01a456dbee71e08451f3f38194c677939318518819fc2bfd0ace1030f266011e0e2bb341dc9e7b981cdebc7279d7cc12557c704c1b5a6852662fa96c9a7')
+
+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