diff options
Diffstat (limited to 'testing/khal/APKBUILD')
-rw-r--r-- | testing/khal/APKBUILD | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/testing/khal/APKBUILD b/testing/khal/APKBUILD deleted file mode 100644 index 9161ab00bd4..00000000000 --- a/testing/khal/APKBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# Contributor: Galen Abell <galen@galenabell.com> -# Maintainer: Galen Abell <galen@galenabell.com> -pkgname=khal -_pyname=$pkgname -pkgver=0.10.4 -pkgrel=1 -pkgdesc="CLI calendar application build around CalDAV" -url="https://lostpackets.de/khal" -arch="noarch" -license="MIT" -options="net" -depends=" - python3 - py3-atomicwrites - py3-click - py3-click-log - py3-configobj - py3-dateutil - py3-icalendar - py3-tz - py3-tzlocal - py3-urwid - py3-xdg - " -makedepends="py3-setuptools py3-setuptools_scm py3-sphinx py3-sphinxcontrib-newsfeed" -checkdepends="py3-pytest py3-freezegun vdirsyncer" -subpackages="$pkgname-doc" -source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz" - -build() { - python3 setup.py build - make -C doc man PYTHONPATH="$PWD" -} - -check() { - # skip locale tests - # many tests are flaky: https://github.com/pimutils/khal/issues/860 - # test_import_from_stdin doesn't work in docker: https://github.com/pimutils/khal/issues/683 - local skip_tests=" - not test_vertical_month_unicode \ - and not test_vertical_month_unicode_weekdeays \ - and not test_vertical_month_unicode_weekdeays_gr \ - and not test_vertical_month_abbr_fr \ - and not test_multi_uid_vdir \ - and not test_event_different_timezones \ - and not test_birthdays \ - and not test_birthdays_no_year \ - and not test_birthdays_29feb \ - and not test_import_from_stdin" - pytest -v -k "$skip_tests" -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" - install -Dm644 doc/build/man/$pkgname.1 "$pkgdir"/usr/share/man/man1/$pkgname.1 -} - -sha512sums=" -b32f1bfe5d3a3976278726a6570eb345a5ad44f63a52b75f045fd0509d145edd5b76e11a10acffd9c3982edc124f93daec34a37c39299c2311796c0314016eb6 khal-0.10.4.tar.gz -" |