[arch-commits] Commit in python-tzlocal/trunk (PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Tue Oct 19 04:26:32 UTC 2021
Date: Tuesday, October 19, 2021 @ 04:26:32
Author: polyzen
Revision: 1030937
upgpkg: python-tzlocal 4.0-1
Modified:
python-tzlocal/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-19 04:22:52 UTC (rev 1030936)
+++ PKGBUILD 2021-10-19 04:26:32 UTC (rev 1030937)
@@ -6,17 +6,18 @@
_name=tzlocal
pkgname=python-tzlocal
-pkgver=2.1
-pkgrel=3
+pkgver=4.0
+pkgrel=1
pkgdesc="Tzinfo object for the local timezone"
arch=('any')
url="https://github.com/regebro/tzlocal"
license=('MIT')
-depends=('python-pytz')
+depends=('python-pytz-deprecation-shim')
makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-mock')
+checkdepends=('python-pytest' 'python-pytest-mock')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('5419f3316dfcbf0355cc6f0790454fe6cecfa8b1ae17bfa7bf8aff89b0af3e63c94ffe9c22b11f612e53826a33e7179ff71bc2a86f6a358cdff36c7ae34e2453')
+sha256sums=('02a29b12b3bb30bc33d0f0184dcf32944bf41d3f0aa1c7c21a9621ca4326b260')
+b2sums=('bbf6628471fc8fc3f1ad541d6b8c20fde9cb75e819120648ca7bb526ff2ebbf352b467fd7bbfbb0c79cbe218a9aa1c5fbc1125edbfeff05247c312d6f21387f6')
prepare() {
mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
@@ -34,9 +35,7 @@
check() {
cd "${pkgname}-${pkgver}"
export PYTHONPATH="build:${PYTHONPATH}"
- # disable failing timezone test:
- # https://github.com/regebro/tzlocal/issues/89
- pytest -v tests/tests.py -k 'not test_fail'
+ pytest -v
}
package() {
More information about the arch-commits
mailing list