[arch-commits] Commit in python-faker/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Feb 26 01:47:25 UTC 2017
Date: Sunday, February 26, 2017 @ 01:47:25
Author: felixonmars
Revision: 213845
archrelease: copy trunk to community-any
Added:
python-faker/repos/community-any/PKGBUILD
(from rev 213844, python-faker/trunk/PKGBUILD)
Deleted:
python-faker/repos/community-any/PKGBUILD
----------+
PKGBUILD | 129 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-26 01:47:04 UTC (rev 213844)
+++ PKGBUILD 2017-02-26 01:47:25 UTC (rev 213845)
@@ -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.7.7
-_commit=3764f7bdf0d630bfcc6538bac195e7580d4b178d
-pkgrel=2
-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#commit=$_commit")
-sha256sums=('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 213844, python-faker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-02-26 01:47:25 UTC (rev 213845)
@@ -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.8
+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")
+sha256sums=('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:
More information about the arch-commits
mailing list