Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 5BE117807A5 for <~alpine/aports@lists.alpinelinux.org>; Fri, 10 Dec 2021 12:47:31 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dhruvin.dev; s=key1; t=1639140084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=btUD+/ZQ0NDTqJoEbmVD3/UtZoogd0owNg3jvK7WSpg=; b=MwPI7T1ENrXN6fuSxu3RfP+H9L1abTjkIKkPPhTFkAMLJUcUkzP5leh992rwQyNqSTbal/ TMDoMe336NrmEgLGh+vAv4P73GrV6uQfrqepG6hnVBygEtTJtn9so6WoQcEB+uDbj8Mtc+ gdJOpDJ2SHSUq7II3qttnPGHuTYV3fU= From: Dhruvin Gandhi To: ~alpine/aports@lists.alpinelinux.org Cc: Dhruvin Gandhi Subject: [PATCH 3/3] testing/todoman: upgrade to 4.0.1 Date: Fri, 10 Dec 2021 18:11:11 +0530 Message-Id: <20211210124111.488-4-contact@dhruvin.dev> In-Reply-To: <20211210124111.488-1-contact@dhruvin.dev> References: <20211210124111.488-1-contact@dhruvin.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: contact@dhruvin.dev --- testing/todoman/APKBUILD | 49 +++++++++++--------------- testing/todoman/remove-rtd-theme.patch | 21 +++++++++++ 2 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 testing/todoman/remove-rtd-theme.patch diff --git a/testing/todoman/APKBUILD b/testing/todoman/APKBUILD index 2b319744e8..7672606e1c 100644 --- a/testing/todoman/APKBUILD +++ b/testing/todoman/APKBUILD @@ -1,47 +1,38 @@ # Contributor: Philipp Glaum -# Maintainer: Philipp Glaum +# Maintainer: Dhruvin Gandhi pkgname=todoman -_pkgname=todoman -pkgver=3.8.0 -pkgrel=2 +pkgver=4.0.1 +pkgrel=0 pkgdesc="A simple CalDav-based todo manager" url="https://pypi.org/project/todoman/" arch="noarch" license="ISC" -depends="python3 - py3-atomicwrites - py3-click - py3-click-log - py3-configobj - py3-humanize - py3-icalendar - py3-parsedatetime - py3-dateutil - py3-xdg - py3-tabulate - py3-urwid - " -makedepends="py3-setuptools_scm py3-setuptools" -checkdepends="py3-flake8 - py3-flake8-import-order - py3-freezegun - py3-hypothesis - py3-pytest - py3-pytest-cov - py3-pytest-runner - " -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +depends="python3 py3-atomicwrites py3-click py3-click-log py3-humanize py3-icalendar + py3-parsedatetime py3-dateutil py3-xdg py3-tabulate py3-urwid" +makedepends="py3-setuptools py3-setuptools_scm py3-sphinx py3-sphinx-click + py3-sphinx-autorun" +checkdepends="py-tox py3-flake8 py3-flake8-import-order py3-freezegun py3-hypothesis + py3-pytest py3-pytest-cov py3-pytest-runner" +source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz + remove-rtd-theme.patch" +subpackages="$pkgname-doc" +builddir="$srcdir/$pkgname-$pkgver" build() { python3 setup.py build + make -C docs man PYTHONPATH="$PWD" } check() { - python3 setup.py test + tox -e py39 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" + install -Dm644 docs/build/man/todo.1 "$pkgdir"/usr/share/man/man1/todo.1 } -sha512sums="67cb498265fdb802ca0993618ae8e06918d0440d6f1092d155571d85a507f098e9e172e852b82f3854a965d72c57aba749ad964922f274be03181def4a527198 todoman-3.8.0.tar.gz" +sha512sums=" +606be4553330741bb664c2261ba33f9feb68023c38c4e5278febadae3c9267d5bcc0b63966a41ac3d2ec38f44c16f9368ec502d2ce1a782a9108ca4a38d9e04c todoman-4.0.1.tar.gz +2eb6a2f3af64c23004a278aea52120dd0376d3b37a9aafdda233d47de530f99adf75e4bbb82678353eddf42229c9713dcf8d939a12c157f910f3c774f947ab64 remove-rtd-theme.patch +" diff --git a/testing/todoman/remove-rtd-theme.patch b/testing/todoman/remove-rtd-theme.patch new file mode 100644 index 0000000000..68b97223b2 --- /dev/null +++ b/testing/todoman/remove-rtd-theme.patch @@ -0,0 +1,21 @@ +--- a/docs/source/conf.py ++++ b/docs/source/conf.py +@@ -42,7 +42,6 @@ + "sphinx_autorun", + "sphinx.ext.todo", + "sphinx.ext.viewcode", +- "sphinx_rtd_theme", + ] + + source_suffix = ".rst" +@@ -63,10 +62,6 @@ + + # If true, `todo` and `todoList` produce output, else they produce nothing. + todo_include_todos = True +- +-# -- Options for HTML output ---------------------------------------------- +- +-html_theme = "sphinx_rtd_theme" + + # -- Options for manual page output --------------------------------------- + -- 2.34.1