mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
mail-client/alot: Clean old version 0.8.1
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Guillaume Seren <guillaumeseren@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
2cfe6d7166
commit
a65c62be7e
@@ -1,3 +1,2 @@
|
||||
DIST alot-0.8.1.tar.gz 220342 BLAKE2B 019f41f1f1fe73aa17a309a73b12883cbbae6a232d912d0e328b3862fc4e8e49ea6a3d0b6e2921ecb4d6ee8a58a9f6826facd7ff4cd6fafc17f6f5fe0195dd2c SHA512 bca4a01636594f0e71c6ea260d74cf26e74dfd7aca1ea7801714b4aaf9602ae7737769e77e3af0363ed2701df1494e0f87ce85b58c47a6380ad1a9098f8501d4
|
||||
DIST alot-0.9.1.tar.gz 228645 BLAKE2B 7a44542513bc6d90df43cb21daf2ba103cbbae4dd81b44eaf935d764ba11d6c5640774e72728725eca83a777dcf3583bebaa57c9061191499f74ed89d4c11b4f SHA512 ac65c742d5bfb4827482c881ec2eb95b9215e9a5c49d7001421d62ffb1f38c7792dbbf94c0f16578da70b5ce15ba7a28cea0c1bbd34080f8132c80f4a0a2199b
|
||||
DIST alot-0.9.tar.gz 224932 BLAKE2B 6063b9974ec54b51521ec52db41519bd9f16cc8da611b1a2da7de3f7581a924962a79ca8193ad0bb36633141182c047f32c5ab58132c78e1ec036e4da684181c SHA512 e630ea18702c570630deb10347c52e03aecb297bc1f76ce60318eeb8725274b12eb408cbceb69c8035b1ec9ea778f19a035f48070606bc6540b68a4bc5591860
|
||||
|
||||
@@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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-1.9.0[python,${PYTHON_USEDEP}]
|
||||
>=dev-python/configobj-4.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/python-magic[${PYTHON_USEDEP}]
|
||||
>=dev-python/urwid-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/urwidtrees-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/twisted-18.4[${PYTHON_USEDEP}]
|
||||
net-mail/mailbase
|
||||
>=net-mail/notmuch-0.27[crypt,python]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
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-changed-expired-test-keys.patch"
|
||||
)
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
emake -C docs html
|
||||
HTML_DOCS=( docs/build/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
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 ""
|
||||
else
|
||||
local rv
|
||||
for rv in ${REPLACING_VERSIONS} ; do
|
||||
if ver_test "${rv}" -le "0.5.1"; then
|
||||
ewarn ""
|
||||
ewarn "Since 0.6 version the GPG engine has switched to app-crypt/gpgme"
|
||||
ewarn "to use GPG signing operations, you can pass the key id has arg"
|
||||
ewarn "or setup the gpg_key value in your config file, see"
|
||||
ewarn " https://alot.readthedocs.io/en/latest/usage/crypto.html?highlight=gpg"
|
||||
ewarn ""
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user