[arch-commits] Commit in python-faker/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Mar 19 17:22:50 UTC 2020
Date: Thursday, March 19, 2020 @ 17:22:49
Author: felixonmars
Revision: 600972
archrelease: copy trunk to community-any
Added:
python-faker/repos/community-any/PKGBUILD
(from rev 600971, python-faker/trunk/PKGBUILD)
Deleted:
python-faker/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-19 17:22:33 UTC (rev 600971)
+++ PKGBUILD 2020-03-19 17:22:49 UTC (rev 600972)
@@ -1,40 +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=3.0.0
-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=('021b0b50f5431955e966be3fd9d2cc70e2521c47c129dc9ce04b19a722e60316db8d3eb446e226207ca0413d3c32af22d12e73be2c8d51ea6fdd7fb77ef057b3')
-
-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 600971, python-faker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-19 17:22:49 UTC (rev 600972)
@@ -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=3.0.1
+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=('58a6b32dab1a1de3840b49d92b179d15a759c4d8d547aabb1bdb3e2f0fb96e4b92870db0fe30c02dac1523296a92724203819b8d490f97be2ad7a835f5a5b964')
+
+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 -m 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