[arch-commits] Commit in python-faker/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Feb 14 05:38:47 UTC 2018
Date: Wednesday, February 14, 2018 @ 05:38:47
Author: felixonmars
Revision: 293965
archrelease: copy trunk to community-any
Added:
python-faker/repos/community-any/PKGBUILD
(from rev 293964, python-faker/trunk/PKGBUILD)
Deleted:
python-faker/repos/community-any/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-14 05:38:24 UTC (rev 293964)
+++ PKGBUILD 2018-02-14 05:38:47 UTC (rev 293965)
@@ -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.10
-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=('fc5b2f1f2d75e9aa7501b7bd6e9fc1557e137eed575bcd08c21c05fc9ab977742f58c65fa398f427f5ce0d0593ff8b24041eaf4c184cbe40b9b4fba648e44353')
-
-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 293964, python-faker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-14 05:38:47 UTC (rev 293965)
@@ -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.11
+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=('ce20860f84a4de5fcd1c53ca23ca62401c335bc4559db773ae1888781cf7b030f3cf1c73325c43d49a86b2ce564fb41b6bc5ae4efc1590f1584eaa4606274919')
+
+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