[arch-commits] Commit in python-factory-boy/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 19:18:56 UTC 2020
Date: Thursday, November 12, 2020 @ 19:18:56
Author: felixonmars
Revision: 753422
archrelease: copy trunk to community-staging-any
Added:
python-factory-boy/repos/community-staging-any/PKGBUILD
(from rev 753421, python-factory-boy/trunk/PKGBUILD)
Deleted:
python-factory-boy/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 19:18:50 UTC (rev 753421)
+++ PKGBUILD 2020-11-12 19:18:56 UTC (rev 753422)
@@ -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.1.0
-pkgrel=2
-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=('6fff7b26f1a8a2c533591699527f40d922f287663fe4fab3ce38204651d57bd6b287a4e01e5e0195cf5337cc48b25db0e97f64acd5b5b3799f3814f14da8e5a5')
-
-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-staging-any/PKGBUILD (from rev 753421, python-factory-boy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 19:18:56 UTC (rev 753422)
@@ -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.1.0
+pkgrel=3
+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=('6fff7b26f1a8a2c533591699527f40d922f287663fe4fab3ce38204651d57bd6b287a4e01e5e0195cf5337cc48b25db0e97f64acd5b5b3799f3814f14da8e5a5')
+
+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