mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/py3-caldav: upgrade to 2.0.1
This commit is contained in:
parent
a25919859d
commit
db628f53ce
1 changed files with 10 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Contributor: Galen Abell <galen@galenabell.com>
|
# Contributor: Galen Abell <galen@galenabell.com>
|
||||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||||
pkgname=py3-caldav
|
pkgname=py3-caldav
|
||||||
pkgver=1.6.0
|
pkgver=2.0.1
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="caldav client library for Python"
|
pkgdesc="caldav client library for Python"
|
||||||
url="https://github.com/python-caldav/caldav"
|
url="https://github.com/python-caldav/caldav"
|
||||||
|
@ -16,7 +16,7 @@ depends="
|
||||||
py3-tzlocal
|
py3-tzlocal
|
||||||
py3-vobject
|
py3-vobject
|
||||||
"
|
"
|
||||||
makedepends="py3-gpep517 py3-setuptools py3-setuptools_scm py3-wheel"
|
makedepends="py3-gpep517 py3-hatchling py3-hatch-vcs py3-wheel"
|
||||||
checkdepends="py3-pytest"
|
checkdepends="py3-pytest"
|
||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/python-caldav/caldav/archive/v$pkgver.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://github.com/python-caldav/caldav/archive/v$pkgver.tar.gz"
|
||||||
|
@ -32,7 +32,13 @@ build() {
|
||||||
check() {
|
check() {
|
||||||
python3 -m venv --clear --system-site-packages .testenv
|
python3 -m venv --clear --system-site-packages .testenv
|
||||||
.testenv/bin/python3 -m installer .dist/*.whl
|
.testenv/bin/python3 -m installer .dist/*.whl
|
||||||
.testenv/bin/python3 -m pytest
|
# Skip:
|
||||||
|
# - Integration tests against actual servers (requires network + missing dependency)
|
||||||
|
# - Doc tests (requires missing dependency, plus we don't package docs)
|
||||||
|
.testenv/bin/python3 -m pytest \
|
||||||
|
--ignore 'tests/test_caldav.py' \
|
||||||
|
--ignore 'tests/test_examples.py' \
|
||||||
|
--ignore 'tests/test_docs.py'
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
@ -41,5 +47,5 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
002ccba278a44e19aaedf9cf25b7279a1d9d42f6584c6b4ac1ee121d08981c92f600df8c793961810552afa4e43eb60c8cba6b092256dd1e127d2e7b4e4e22b7 py3-caldav-1.6.0.tar.gz
|
f12a2fe75b0d13c170b0c2b1498f77d53c7a88d61aaff334c63329402df892b9972403a0623a80a498ca733ad2526d8eef93e58079f55938f0be79d955332c77 py3-caldav-2.0.1.tar.gz
|
||||||
"
|
"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue