[arch-commits] Commit in python-sqlalchemy/trunk (PKGBUILD pytest3.0.7.patch)
Felix Yan
felixonmars at archlinux.org
Sat May 27 17:12:46 UTC 2017
Date: Saturday, May 27, 2017 @ 17:12:45
Author: felixonmars
Revision: 230568
upgpkg: python-sqlalchemy 1.1.10-1
Added:
python-sqlalchemy/trunk/pytest3.0.7.patch
Modified:
python-sqlalchemy/trunk/PKGBUILD
-------------------+
PKGBUILD | 11 +++++++----
pytest3.0.7.patch | 25 +++++++++++++++++++++++++
2 files changed, 32 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-27 16:55:27 UTC (rev 230567)
+++ PKGBUILD 2017-05-27 17:12:45 UTC (rev 230568)
@@ -5,7 +5,7 @@
pkgbase=python-sqlalchemy
pkgname=('python-sqlalchemy' 'python2-sqlalchemy')
-pkgver=1.1.9
+pkgver=1.1.10
pkgrel=1
arch=('i686' 'x86_64') # python2 package contain .so
url="http://www.sqlalchemy.org/"
@@ -12,12 +12,15 @@
license=('MIT')
makedepends=('python-setuptools' 'python2-setuptools')
checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-xdist' 'python2-pytest-xdist' 'python-mock' 'python2-mock')
-source=("https://pypi.io/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz"{,.asc})
+source=("https://pypi.io/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz"{,.asc}
+ pytest3.0.7.patch)
validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1')
-sha512sums=('95df08e6bca0013ddc7e61aa82d7d51eb133a9b34aa430a785bd8cec8eb79a2b6e1503c1757a71487b09e2f292b5916e6797efb2026d43175e34a52b68cf81c6'
- 'SKIP')
+sha512sums=('96b9d8630ceffc26eb9a707fba004c8ea8d551835a4aec45cad7185f51cca9fd16fc49715fb158cb861e2db1b2fb9baf23f3cce0c856a27a49899272b91bd9f4'
+ 'SKIP'
+ '4731c03dbab27e189128d882360d81f8eab1df64ad8acfb8dca67282e44ed83f7e43cdfb96bfc98419c1b65f328e6573a2f58210cb73c157d35c0b9c2698eef2')
prepare() {
+ (cd SQLAlchemy-$pkgver; patch -p1 -i ../pytest3.0.7.patch)
cp -a SQLAlchemy-$pkgver SQLAlchemy2-$pkgver
}
Added: pytest3.0.7.patch
===================================================================
--- pytest3.0.7.patch (rev 0)
+++ pytest3.0.7.patch 2017-05-27 17:12:45 UTC (rev 230568)
@@ -0,0 +1,25 @@
+From a987942761542666be89f40a9ac4a35e001b8265 Mon Sep 17 00:00:00 2001
+From: Mike Bayer <mike_mp at zzzcomputing.com>
+Date: Tue, 23 May 2017 12:24:26 -0400
+Subject: [PATCH] - add option to disable py.test warnings plugin; lift cap on
+ py.test. references: https://github.com/pytest-dev/pytest/issues/2430
+
+Change-Id: Ieb8a6258ba1d15efa570d9cda2b51cf021499a23
+---
+ setup.cfg | 2 +-
+ tox.ini | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index d858a2435..f79060c54 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -9,7 +9,7 @@ first-package-wins = true
+ where = test
+
+ [tool:pytest]
+-addopts = --tb native -v -r fxX --maxfail=25
++addopts = --tb native -v -r fxX --maxfail=25 -p no:warnings
+ python_files = test/*test_*.py
+
+ [upload]
More information about the arch-commits
mailing list