[arch-commits] Commit in python-faker/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Mar 15 11:49:29 UTC 2020
Date: Sunday, March 15, 2020 @ 11:49:28
Author: felixonmars
Revision: 597840
archrelease: copy trunk to community-any
Added:
python-faker/repos/community-any/PKGBUILD
(from rev 597839, python-faker/trunk/PKGBUILD)
Deleted:
python-faker/repos/community-any/PKGBUILD
----------+
PKGBUILD | 79 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-15 11:49:12 UTC (rev 597839)
+++ PKGBUILD 2020-03-15 11:49:28 UTC (rev 597840)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com>
-# Contributor: dnuux <dnuuxx at gmail.com>
-
-pkgname=python-faker
-pkgver=1.0.7
-pkgrel=3
-pkgdesc='Faker generates fake data for you.'
-arch=('any')
-url='https://faker.readthedocs.io/en/master/'
-license=('MIT')
-depends=('python-setuptools' 'python-dateutil' 'python-text-unidecode')
-provides=("python-fake-factory=$pkgver")
-conflicts=('python-fake-factory')
-replaces=('python-fake-factory')
-checkdepends=('python-ukpostcodeparser' 'python-mock' 'python-email-validator' 'python-pytest'
- 'python-freezegun' 'python-random2')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/joke2k/faker/archive/v$pkgver.tar.gz")
-sha512sums=('e49d3298424e7ab552cdd3fe106d8ce63fc7d38b707a6093d2aee932507c13f75fe9794125e3ee99fcfe284cc61bf377899a7d3ebc55808df37007f7d01f3c51')
-
-prepare() {
- sed -i -e 's/<3.9/<6/' -e 's/==/>=/' faker-$pkgver/setup.py
-}
-
-build() {
- cd faker-$pkgver
- python setup.py build
-}
-
-check() {
- cd faker-$pkgver
- python setup.py pytest
-}
-
-package() {
- cd faker-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE.txt
-}
Copied: python-faker/repos/community-any/PKGBUILD (from rev 597839, python-faker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-15 11:49:28 UTC (rev 597840)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com>
+# Contributor: dnuux <dnuuxx at gmail.com>
+
+pkgname=python-faker
+pkgver=1.0.8
+pkgrel=1
+pkgdesc='Faker generates fake data for you.'
+arch=('any')
+url='https://faker.readthedocs.io/en/master/'
+license=('MIT')
+provides=("python-fake-factory=$pkgver")
+conflicts=('python-fake-factory')
+replaces=('python-fake-factory')
+depends=('python-setuptools' 'python-dateutil' 'python-text-unidecode')
+makedepends=('python-pip' 'python-wheel')
+checkdepends=('python-validators' 'python-ukpostcodeparser' 'python-pytest' 'python-random2'
+ 'python-freezegun')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/joke2k/faker/archive/v$pkgver.tar.gz")
+sha512sums=('4c38e9cd0d71d3878664fac3de5fc6f659fe39c2918691bfae55189766d95a5a67ef44a771c3319a7abc754ccf9594659f8d642a206151bd9d2c580886240158')
+
+prepare() {
+ sed -i -e 's/<3.9/<6/' -e 's/==/>=/' faker-$pkgver/setup.py
+}
+
+build() {
+ cd faker-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd faker-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd faker-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE.txt
+}
More information about the arch-commits
mailing list