[arch-commits] Commit in python-icalendar/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed May 6 21:32:11 UTC 2020
Date: Wednesday, May 6, 2020 @ 21:32:10
Author: dvzrv
Revision: 625200
upgpkg: python-icalendar 4.0.6-1: Upgrading to 4.0.6.
Switching to python-pytest for the test suite.
Moving python-setuptools to depends, as there is an entry_point.
Modified:
python-icalendar/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-06 21:29:22 UTC (rev 625199)
+++ PKGBUILD 2020-05-06 21:32:10 UTC (rev 625200)
@@ -5,17 +5,16 @@
_name=icalendar
pkgname=python-icalendar
-pkgver=4.0.5
+pkgver=4.0.6
pkgrel=1
pkgdesc='A parser/generator of iCalendar files (RFC 2445)'
arch=('any')
url="https://github.com/collective/icalendar"
license=('BSD')
-depends=('python-dateutil' 'python-pytz')
-makedepends=('python-setuptools')
-optdepends=('python-setuptools: for icalendar')
+depends=('python-dateutil' 'python-pytz' 'python-setuptools')
+checkdepends=('python-hypothesis' 'python-pytest')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('48f6ecc24ee154f25982e54c1c0ef75146bc27ae90e3743d46407c730124a1b0fb4be8123e1f779d46aaf4297642f0f053794f5cc354816d9926dcf2a2b76912')
+sha512sums=('e8f7ee878cc14b75636268d7b8c79569ce1875142fb907b1eb74bc6b9cf96f218e4be63828190aa2a27978c431437c1d454febe9a2da58c5f2785e283ae725b2')
build() {
cd "${_name}-${pkgver}"
@@ -24,7 +23,8 @@
check() {
cd "${_name}-${pkgver}"
- python -m unittest discover src
+ PYTHONPATH="${PWD}:${PYTHONPATH}"
+ pytest -v "src/${_name}/tests"
}
package() {
More information about the arch-commits
mailing list