[arch-commits] Commit in python-faker/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Mar 15 20:02:44 UTC 2020
Date: Sunday, March 15, 2020 @ 20:02:43
Author: felixonmars
Revision: 598449
archrelease: copy trunk to community-any
Added:
python-faker/repos/community-any/PKGBUILD
(from rev 598448, 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-15 20:02:32 UTC (rev 598448)
+++ PKGBUILD 2020-03-15 20:02:43 UTC (rev 598449)
@@ -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=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
-}
Copied: python-faker/repos/community-any/PKGBUILD (from rev 598448, python-faker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-15 20:02:43 UTC (rev 598449)
@@ -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=2.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=('639114c795d4794d90e422645b7073be909ded803fb9796b76f2033d5f7353cdcacf4f586fdf784b087ecfcf1dba96f9b2c35642a55c3ed846d1c4f4660db421')
+
+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