[arch-commits] Commit in python-dateutil/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Feb 25 10:57:10 UTC 2020


    Date: Tuesday, February 25, 2020 @ 10:56:52
  Author: felixonmars
Revision: 581000

upgpkg: python-dateutil 2.8.1-3: disable python2 tests

Modified:
  python-dateutil/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-25 10:54:50 UTC (rev 580999)
+++ PKGBUILD	2020-02-25 10:56:52 UTC (rev 581000)
@@ -5,14 +5,13 @@
 pkgbase=python-dateutil
 pkgname=('python-dateutil' 'python2-dateutil')
 pkgver=2.8.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Provides powerful extensions to the standard datetime module"
 arch=('any')
 license=('BSD' 'Apache')
 url="https://github.com/dateutil/dateutil"
 makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-six' 'python2-six')
-checkdepends=('python-pytest' 'python-freezegun' 'python-hypothesis'
-              'python2-pytest' 'python2-freezegun' 'python2-hypothesis')
+checkdepends=('python-pytest' 'python-freezegun' 'python-hypothesis')
 source=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
 sha256sums=('73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c'
             'SKIP')
@@ -33,11 +32,8 @@
 }
 
 check() {
-  cd "$srcdir"/python-dateutil-$pkgver
+  cd python-dateutil-$pkgver
   pytest -W ignore::pytest.PytestUnknownMarkWarning # https://github.com/pytest-dev/pytest/issues/5678
-
-  cd "$srcdir"/python2-dateutil-$pkgver
-  pytest2 -W ignore::pytest.PytestUnknownMarkWarning
 }
 
 package_python-dateutil() {



More information about the arch-commits mailing list