[arch-commits] Commit in python-factory-boy/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Nov 7 20:19:10 UTC 2021
Date: Sunday, November 7, 2021 @ 20:19:10
Author: felixonmars
Revision: 1038709
archrelease: copy trunk to community-any
Added:
python-factory-boy/repos/community-any/PKGBUILD
(from rev 1038708, python-factory-boy/trunk/PKGBUILD)
Deleted:
python-factory-boy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-07 20:18:56 UTC (rev 1038708)
+++ PKGBUILD 2021-11-07 20:19:10 UTC (rev 1038709)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgname=python-factory-boy
-pkgver=3.2.0
-pkgrel=1
-pkgdesc="A versatile test fixtures replacement based on thoughtbot's factory_bot for Ruby"
-url="https://github.com/FactoryBoy/factory_boy"
-license=('MIT')
-arch=('any')
-depends=('python-faker')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-flask' 'python-django' 'python-sqlalchemy'
- 'python-flask-sqlalchemy' 'python-mongoengine' 'python-mongomock')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/FactoryBoy/factory_boy/archive/$pkgver.tar.gz")
-sha512sums=('1e9736491229aa1648cfe9956c157738f5b9ecfd43e39a2f1d299e3c018763518f04b9bde7b19c1c7dbef48e5a93db818f1010068be541b02453313f71bc37c0')
-
-prepare() {
- cd factory_boy-$pkgver
- # Use mongomock
- sed -i '/serverselectiontimeoutms/a is_mock=True' tests/test_mongoengine.py
-}
-
-build() {
- cd factory_boy-$pkgver
- python setup.py build
-}
-
-check() {
- cd factory_boy-$pkgver
- python setup.py pytest
-}
-
-package() {
- cd factory_boy-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-factory-boy/repos/community-any/PKGBUILD (from rev 1038708, python-factory-boy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-07 20:19:10 UTC (rev 1038709)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-factory-boy
+pkgver=3.2.1
+pkgrel=1
+pkgdesc="A versatile test fixtures replacement based on thoughtbot's factory_bot for Ruby"
+url="https://github.com/FactoryBoy/factory_boy"
+license=('MIT')
+arch=('any')
+depends=('python-faker')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-flask' 'python-django' 'python-sqlalchemy'
+ 'python-flask-sqlalchemy' 'python-mongoengine' 'python-mongomock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/FactoryBoy/factory_boy/archive/$pkgver.tar.gz")
+sha512sums=('45f88970fa2adf15160d489335d7843ebf78178ae619e6b1ad2cc2e3af8e6c14763cf1afe21bc4e66d1d7196458d8045862db4d5878d5cfc1f2aa658ccba1812')
+
+prepare() {
+ cd factory_boy-$pkgver
+ # Use mongomock
+ sed -i '/serverselectiontimeoutms/a is_mock=True' tests/test_mongoengine.py
+}
+
+build() {
+ cd factory_boy-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd factory_boy-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd factory_boy-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list