[gentoo-commits] repo/gentoo:master commit in: mail-client/alot/, mail-client/alot/files/
commit: 8023d110541af97e459c16fef950be57aada3292 Author: Sam James gentoo org> AuthorDate: Tue Mar 22 00:11:09 2022 + Commit: Sam James gentoo org> CommitDate: Tue Mar 22 00:27:05 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8023d110 mail-client/alot: use PEP 517; avoid network access during build; sync live Signed-off-by: Sam James gentoo.org> mail-client/alot/alot-0.10.ebuild | 14 --- mail-client/alot/alot-.ebuild | 29 ++ .../alot/files/alot-0.10-no-intersphinx-docs.patch | 23 + 3 files changed, 46 insertions(+), 20 deletions(-) diff --git a/mail-client/alot/alot-0.10.ebuild b/mail-client/alot/alot-0.10.ebuild index 9f911d049abb..dd3c5c8130c7 100644 --- a/mail-client/alot/alot-0.10.ebuild +++ b/mail-client/alot/alot-0.10.ebuild @@ -3,18 +3,23 @@ EAPI=8 -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10} ) inherit distutils-r1 DESCRIPTION="Experimental terminal UI for net-mail/notmuch written in Python" HOMEPAGE="https://github.com/pazz/alot; -SRC_URI="https://github.com/pazz/alot/archive/${PV}.tar.gz -> ${P}.tar.gz" +if [[ ${PV} == "" ]]; then + EGIT_REPO_URI="https://github.com/pazz/alot/; + inherit git-r3 +else + SRC_URI="https://github.com/pazz/alot/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" IUSE="doc" RDEPEND=" @@ -36,6 +41,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/0.9-0001-remove-non-working-test.patch" + "${FILESDIR}/${PN}-0.10-no-intersphinx-docs.patch" ) distutils_enable_tests unittest diff --git a/mail-client/alot/alot-.ebuild b/mail-client/alot/alot-.ebuild index 87b22470c579..dd3c5c8130c7 100644 --- a/mail-client/alot/alot-.ebuild +++ b/mail-client/alot/alot-.ebuild @@ -1,13 +1,15 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10} ) inherit distutils-r1 +DESCRIPTION="Experimental terminal UI for net-mail/notmuch written in Python" +HOMEPAGE="https://github.com/pazz/alot; if [[ ${PV} == "" ]]; then EGIT_REPO_URI="https://github.com/pazz/alot/; inherit git-r3 @@ -16,13 +18,9 @@ else KEYWORDS="~amd64 ~x86" fi -DESCRIPTION="Experimental terminal UI for net-mail/notmuch written in Python" -HOMEPAGE="https://github.com/pazz/alot; - LICENSE="GPL-3" SLOT="0" -IUSE="doc test" -RESTRICT="!test? ( test )" +IUSE="doc" RDEPEND=" app-crypt/gpgme[python,${PYTHON_USEDEP}] @@ -30,24 +28,23 @@ RDEPEND=" dev-python/python-magic[${PYTHON_USEDEP}] dev-python/urwid[${PYTHON_USEDEP}] dev-python/urwidtrees[${PYTHON_USEDEP}] - >=dev-python/twisted-18.4[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] net-mail/mailbase - net-mail/notmuch[crypt,python] + net-mail/notmuch[crypt,python,${PYTHON_USEDEP}] " -DEPEND=" - doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - ) +BDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] test? ( dev-python/mock[${PYTHON_USEDEP}] ) " PATCHES=( - "${FILESDIR}/${PV}-0001-remove-non-working-test.patch" + "${FILESDIR}/0.9-0001-remove-non-working-test.patch" + "${FILESDIR}/${PN}-0.10-no-intersphinx-docs.patch" ) -distutils_enable_tests setup.py +distutils_enable_tests unittest python_compile_all() { emake -C docs man diff --git a/mail-client/alot/files/alot-0.10-no-intersphinx-docs.patch b/mail-client/alot/files/alot-0.10-no-intersphinx-docs.patch new file mode 100644 index ..6cda5071e226 --- /dev/null +++ b/mail-client/alot/files/alot-0.10-no-intersphinx-docs.patch @@ -0,0 +1,23 @@ +Needs network access. +--- a/docs/source/api/conf.py b/docs/source/api/conf.py +@@ -56,7 +56,7 @@ from alot import __version__, __author__ + # Add any Sphinx extension module names here, as strings. They can be + # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom + # ones. +-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx'] ++extensions = ['sphinx.ext.autodoc'] + + # Add any paths that contain templates here, relative to this directory. + templates_path = ['_templates'] +--- a/docs/source/conf.py b/docs/source/conf.py +@@ -16,7 +16,7 @@ needs_sphinx = '1.3' # for autodoc_mock_imports setting below + + # Add any Sphinx extension module names here, as strings. They can be + # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. +-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx'] ++extensions = ['sphinx.ext.autodoc'] + + # autodoc tweaks
[gentoo-commits] repo/gentoo:master commit in: mail-client/alot/, mail-client/alot/files/
commit: 7b7bc73615399e1282e8b3fca08ac6a36ae73054 Author: Guillaume Seren gmail com> AuthorDate: Sun Feb 23 20:31:09 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Mar 5 11:58:30 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b7bc736 mail-client/alot: version bump 0.9 Closes: https://bugs.gentoo.org/710610 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Guillaume Seren gmail.com> Signed-off-by: Joonas Niilola gentoo.org> mail-client/alot/Manifest | 1 + mail-client/alot/alot-0.9.ebuild | 68 ++ .../files/0.9-0001-remove-non-working-test.patch | 31 ++ 9-0002-update-reference-to-envelope-body.patch | 28 + 4 files changed, 128 insertions(+) diff --git a/mail-client/alot/Manifest b/mail-client/alot/Manifest index 45b2450ac39..a09eea03999 100644 --- a/mail-client/alot/Manifest +++ b/mail-client/alot/Manifest @@ -1 +1,2 @@ DIST alot-0.8.1.tar.gz 220342 BLAKE2B 019f41f1f1fe73aa17a309a73b12883cbbae6a232d912d0e328b3862fc4e8e49ea6a3d0b6e2921ecb4d6ee8a58a9f6826facd7ff4cd6fafc17f6f5fe0195dd2c SHA512 bca4a01636594f0e71c6ea260d74cf26e74dfd7aca1ea7801714b4aaf9602ae7737769e77e3af0363ed2701df1494e0f87ce85b58c47a6380ad1a9098f8501d4 +DIST alot-0.9.tar.gz 224932 BLAKE2B 6063b9974ec54b51521ec52db41519bd9f16cc8da611b1a2da7de3f7581a924962a79ca8193ad0bb36633141182c047f32c5ab58132c78e1ec036e4da684181c SHA512 e630ea18702c570630deb10347c52e03aecb297bc1f76ce60318eeb8725274b12eb408cbceb69c8035b1ec9ea778f19a035f48070606bc6540b68a4bc5591860 diff --git a/mail-client/alot/alot-0.9.ebuild b/mail-client/alot/alot-0.9.ebuild new file mode 100644 index 000..248997e5196 --- /dev/null +++ b/mail-client/alot/alot-0.9.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Experimental terminal UI for net-mail/notmuch written in Python" +HOMEPAGE="https://github.com/pazz/alot; +SRC_URI="https://github.com/pazz/alot/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-crypt/gpgme[python,${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/python-magic[${PYTHON_USEDEP}] + dev-python/urwid[${PYTHON_USEDEP}] + dev-python/urwidtrees[${PYTHON_USEDEP}] + >=dev-python/twisted-18.4[${PYTHON_USEDEP}] + net-mail/mailbase + net-mail/notmuch[crypt,python] + " +DEPEND=" + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + ) + " + +PATCHES=( + "${FILESDIR}/${PV}-0001-remove-non-working-test.patch" + "${FILESDIR}/${PV}-0002-update-reference-to-envelope-body.patch" + ) + +distutils_enable_tests setup.py + +python_compile_all() { + emake -C docs man + use doc && emake -C docs html +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/build/html/. ) + doman docs/build/man/* + distutils-r1_python_install_all + + insinto /usr/share/alot + doins -r extra +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "" + elog "If you are new to Alot you may want to take a look at" + elog "the user manual:" + elog " https://alot.readthedocs.io/en/latest/; + elog "" + fi +} diff --git a/mail-client/alot/files/0.9-0001-remove-non-working-test.patch b/mail-client/alot/files/0.9-0001-remove-non-working-test.patch new file mode 100644 index 000..505f112e504 --- /dev/null +++ b/mail-client/alot/files/0.9-0001-remove-non-working-test.patch @@ -0,0 +1,31 @@ +From d534d65e1d4855565124906319c54b179dae20bd Mon Sep 17 00:00:00 2001 +From: Guillaume Seren +Date: Fri, 3 May 2019 18:17:05 +0200 +Subject: [PATCH] Remove non working test + +Some test are not working + fix for master +--- + tests/commands/test_global.py | 7 --- + 1 file changed, 7 deletions(-) + +diff --git a/tests/commands/test_global.py b/tests/commands/test_global.py +index 775a822c..ca79443f 100644 +--- a/tests/commands/test_global.py b/tests/commands/test_global.py +@@ -121,13 +121,6 @@ class TestExternalCommand(unittest.TestCase): + await cmd.apply(ui) + ui.notify.assert_not_called() + +-@utilities.async_test +-async def test_no_spawn_no_stdin_attached(self): +-ui = utilities.make_ui() +-cmd = g_commands.ExternalCommand('test -t 0', refocus=False) +-await cmd.apply(ui) +-ui.notify.assert_not_called() +- + @utilities.async_test + async def test_no_spawn_stdin_attached(self): + ui = utilities.make_ui() +--
[gentoo-commits] repo/gentoo:master commit in: mail-client/alot/, mail-client/alot/files/
commit: 22046f284caf056941115fdfab83331d8ba86605 Author: Guillaume Seren gmail com> AuthorDate: Sun Dec 29 16:53:24 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Jan 8 17:53:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22046f28 mail-client/alot: Fix tests on version 0.8.1 Closes: https://bugs.gentoo.org/704192 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Guillaume Seren gmail.com> Signed-off-by: Joonas Niilola gentoo.org> mail-client/alot/alot-0.8.1.ebuild | 3 +- .../0.8.1-0002-changed-expired-test-keys.patch | 266 + 2 files changed, 268 insertions(+), 1 deletion(-) diff --git a/mail-client/alot/alot-0.8.1.ebuild b/mail-client/alot/alot-0.8.1.ebuild index 04187457f1e..7594d4ca93e 100644 --- a/mail-client/alot/alot-0.8.1.ebuild +++ b/mail-client/alot/alot-0.8.1.ebuild @@ -23,7 +23,7 @@ RDEPEND=" dev-python/python-magic[${PYTHON_USEDEP}] >=dev-python/urwid-1.3.0[${PYTHON_USEDEP}] >=dev-python/urwidtrees-1.0[${PYTHON_USEDEP}] - dev-python/twisted[${PYTHON_USEDEP}] + >=dev-python/twisted-18.4[${PYTHON_USEDEP}] net-mail/mailbase >=net-mail/notmuch-0.27[crypt,python] " @@ -38,6 +38,7 @@ DEPEND=" PATCHES=( "${FILESDIR}/${PV}-0001-remove-non-working-test.patch" + "${FILESDIR}/${PV}-0002-changed-expired-test-keys.patch" ) python_compile_all() { diff --git a/mail-client/alot/files/0.8.1-0002-changed-expired-test-keys.patch b/mail-client/alot/files/0.8.1-0002-changed-expired-test-keys.patch new file mode 100644 index 000..97b719abfba --- /dev/null +++ b/mail-client/alot/files/0.8.1-0002-changed-expired-test-keys.patch @@ -0,0 +1,266 @@ +diff --git a/tests/static/gpg-keys/ambig1-pub.gpg b/tests/static/gpg-keys/ambig1-pub.gpg +index 8bc893d6e..88d10835b 100644 +--- a/tests/static/gpg-keys/ambig1-pub.gpg b/tests/static/gp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wyQ0jWBezn/4MNCiJoacPR+YVo6CVi/R/Kc7qfiqxVp ++5mfxSf4qpbC1esZ0L20VdhUnWKc+YvSUhGPIe73ruiDVXt+QnyZiLm9BniUNaEL/ ++j8GI9o5J6y2v3IQJwO9cmVKuQa2aE1c9zG4ZxIrzlgrI8bF2jcm/olx6a1X55Tsq ++QEA/CEl5tsyr5gOBa/4qXc1STUCZthEKffbDsSH+8d+26Y7Qw201BWWQ6Hx/8jny ++aKzmP+ANymG2Bj4lioEY96Qu6vzzQ4RwUvkcJB6K1Osr/diwhkeJABEBAAGJATYE ++GAEIACACGwwWIQTdGYYoCadXOnQFj/JVk3r7sVYkXQUCXTAboQAKCRBVk3r7sVYk ++Xe3ZCACD1TGV9es49NnyfSBZ3kSJIOFT6uD7akjHTqsDEet+kpufP7jVsL3mZ3MY ++8WV4VC9KW+VgPgWGMLDIiTNrQ240XFXhiGs+W45Nf9EdS1o7f9yQwskIERd0ZNJq ++kJ4AoHyz4zVS0+krSqrMWHUkjrbVwS80/kc08yTrBos+spDeDsSn6x9Ebrs5n4gW ++6xeKHvJXAJWU/wsgU6t47BWD6aX4pbh3SG/umrWHJ6oiM2zPMvP4D5vxXyHj3guf ++0yqm4SG125KECJt/Jy/YdIwu7ksppLxY5mD517iBwEZnd8QY/jRa/V2rLJltL8AT ++wRUHSm/4vOCLTuZsDm0ZmWcdNNYO ++=CY00 + -END PGP PUBLIC KEY BLOCK- +diff --git
[gentoo-commits] repo/gentoo:master commit in: mail-client/alot/, mail-client/alot/files/
commit: fbe2846a30eaeffcb3b245008ab51513fa22a258 Author: Amadeusz Żołnowski aidecoe AT gentoo DOT org AuthorDate: Mon Aug 17 22:41:22 2015 + Commit: Amadeusz Żołnowski aidecoe AT gentoo DOT org CommitDate: Mon Aug 17 22:42:44 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe2846a mail-client/alot: Remove older version Package-Manager: portage-2.2.20.1 mail-client/alot/Manifest | 1 - mail-client/alot/alot-0.3.5.ebuild | 87 -- ...01-Use-Unicode-strings-when-dealing-with-.patch | 78 --- 3 files changed, 166 deletions(-) diff --git a/mail-client/alot/Manifest b/mail-client/alot/Manifest index 3104fe5..55c4496 100644 --- a/mail-client/alot/Manifest +++ b/mail-client/alot/Manifest @@ -1,2 +1 @@ -DIST alot-0.3.5.tar.gz 1201061 SHA256 7f273b0657e7ee22fd65d6030a536c99ced39d6537c17eb186187923daa9125a SHA512 e781f63971dd1df46f221d0a11e14e4d0e1cb3a307ac317e950a53e28445130822c9d65c3bc99489d68500d4cc864c38c06f3f79e5fe98813d049a0dde22c22c WHIRLPOOL 1dc67524f0be9eb3088ce0710fa06205ac80dc63b3b194fc3bf0cb9a8c35139723372de27a21c466b8c3f3b01a6b4bb47fbdda109e3e13d915ef11fc72eebe37 DIST alot-0.3.6.tar.gz 1492278 SHA256 b8e6092f18e503a528e934231c448db0e03d00e11d844192ba7eeb483838fee7 SHA512 30037ca1d2c169dda6c1660a24dadee12c6b5858d733ec7cd78e49d633850eecb763852c16565340596e32a6831ff8c36764d3f812de7f7947584defe05322b4 WHIRLPOOL cd4aab9dd84a441b92f5d4c62c783d58d8c4fafca614bf8bf462c1b3f0ffb4266e083380712b16f9469a0b418af1672625a21a6ae1f82f6623c6c22e005be6e9 diff --git a/mail-client/alot/alot-0.3.5.ebuild b/mail-client/alot/alot-0.3.5.ebuild deleted file mode 100644 index c3299d1..000 --- a/mail-client/alot/alot-0.3.5.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 eutils vcs-snapshot - -DESCRIPTION=Experimental terminal UI for net-mail/notmuch written in Python -HOMEPAGE=https://github.com/pazz/alot; -SRC_URI=${HOMEPAGE}/tarball/${PV} - ${P}.tar.gz - -LICENSE=GPL-3 -SLOT=0 -KEYWORDS=~amd64 ~x86 -IUSE=doc - -DEPEND= - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - -RDEPEND= - =dev-python/configobj-4.6.0[${PYTHON_USEDEP}] - dev-python/pygpgme[${PYTHON_USEDEP}] - =dev-python/twisted-core-10.2.0 - =dev-python/urwid-1.1.0[${PYTHON_USEDEP}] - net-mail/mailbase - =net-mail/notmuch-0.13[crypt,python] - sys-apps/file[python] - - -ALOT_UPDATE= - -pkg_setup() { - if has_version ${CATEGORY}/${PN}-0.3.2; then - ALOT_UPDATE=yes - fi -} - -src_prepare() { - epatch ${FILESDIR}/${PV}-0001-Use-Unicode-strings-when-dealing-with-.patch - - find ${S} -name '*.py' -print0 | xargs -0 -- sed \ - -e '1i# -*- coding: utf-8 -*-' -i || die - - distutils-r1_src_prepare - - local md - for md in *.md; do - mv ${md} ${md%.md} - done -} - -src_compile() { - distutils-r1_src_compile - - if use doc; then - pushd docs || die - emake html - popd || die - fi -} - -src_install() { - distutils-r1_src_install - - dodir /usr/share/alot - insinto /usr/share/alot - doins -r extra - - if use doc; then - dohtml -r docs/build/html/* - fi -} - -pkg_postinst() { - if [[ ${ALOT_UPDATE} = yes ]]; then - ewarn The syntax of theme-files and custom tags-sections of the config - ewarn has been changed. You have to revise your config. There are - ewarn converter scripts in /usr/share/alot/extra to help you out with - ewarn this: - ewarn - ewarn * tagsections_convert.py for your ~/.config/alot/config - ewarn * theme_convert.py to update your custom theme files - fi -} diff --git a/mail-client/alot/files/0.3.5-0001-Use-Unicode-strings-when-dealing-with-.patch b/mail-client/alot/files/0.3.5-0001-Use-Unicode-strings-when-dealing-with-.patch deleted file mode 100644 index c7809fa..000 --- a/mail-client/alot/files/0.3.5-0001-Use-Unicode-strings-when-dealing-with-.patch +++ /dev/null @@ -1,78 +0,0 @@ -From 119e15cae5367d86e3754a337558eb98a420f46a Mon Sep 17 00:00:00 2001 -From: Simon Chopin chopin.si...@gmail.com -Date: Wed, 24 Jul 2013 15:13:20 +0200 -Subject: [PATCH] Use Unicode strings when dealing with GPG - -This delays the encoding of special chars, if any, to the actual display -which is supposed to know into what it should be encoded. - alot/db/utils.py | 16 - 1 file changed, 8 insertions(+), 8 deletions(-) - -diff --git a/alot/db/utils.py b/alot/db/utils.py -index ba6d466..7fb2deb 100644 a/alot/db/utils.py -+++ b/alot/db/utils.py -@@ -51,9 +51,9 @@ def