diff options
author | Tim Harder <radhermit@gentoo.org> | 2014-03-09 22:05:28 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2014-03-09 22:05:28 +0000 |
commit | da44a7e4709561e9a8ed7b08e45c5b29435ddc96 (patch) | |
tree | a58cdde3afcb89536f2206db901acf68b71f543c /net-mail/mpop | |
parent | Version bump, migrate to python-single-r1. (diff) | |
download | gentoo-2-da44a7e4709561e9a8ed7b08e45c5b29435ddc96.tar.gz gentoo-2-da44a7e4709561e9a8ed7b08e45c5b29435ddc96.tar.bz2 gentoo-2-da44a7e4709561e9a8ed7b08e45c5b29435ddc96.zip |
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'net-mail/mpop')
-rw-r--r-- | net-mail/mpop/ChangeLog | 9 | ||||
-rw-r--r-- | net-mail/mpop/mpop-1.0.29.ebuild | 77 |
2 files changed, 84 insertions, 2 deletions
diff --git a/net-mail/mpop/ChangeLog b/net-mail/mpop/ChangeLog index 5284dca957b1..73eda9bb9522 100644 --- a/net-mail/mpop/ChangeLog +++ b/net-mail/mpop/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-mail/mpop -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mpop/ChangeLog,v 1.7 2013/09/05 19:44:54 mgorny Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mpop/ChangeLog,v 1.8 2014/03/09 22:05:28 radhermit Exp $ + +*mpop-1.0.29 (09 Mar 2014) + + 09 Mar 2014; Tim Harder <radhermit@gentoo.org> +mpop-1.0.29.ebuild: + Version bump. 05 Sep 2013; Michał Górny <mgorny@gentoo.org> mpop-1.0.28.ebuild: Clean up PYTHON_COMPAT from old implementations. diff --git a/net-mail/mpop/mpop-1.0.29.ebuild b/net-mail/mpop/mpop-1.0.29.ebuild new file mode 100644 index 000000000000..4b2f2ff6246d --- /dev/null +++ b/net-mail/mpop/mpop-1.0.29.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mpop/mpop-1.0.29.ebuild,v 1.1 2014/03/09 22:05:28 radhermit Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit python-single-r1 + +DESCRIPTION="A small, fast, and portable POP3 client" +HOMEPAGE="http://mpop.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome-keyring gnutls idn nls sasl ssl vim-syntax" +REQUIRED_USE="gnome-keyring? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + gnome-keyring? ( + ${PYTHON_DEPS} + dev-python/gnome-keyring-python + gnome-base/libgnome-keyring + ) + idn? ( net-dns/libidn ) + nls? ( virtual/libintl ) + sasl? ( virtual/gsasl ) + ssl? ( + gnutls? ( net-libs/gnutls ) + !gnutls? ( dev-libs/openssl ) + )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + virtual/pkgconfig" + +REQUIRED_USE="gnutls? ( ssl )" + +DOCS="AUTHORS ChangeLog NEWS NOTES README THANKS" + +src_configure() { + econf \ + $(use_with gnome-keyring ) \ + $(use_with idn libidn) \ + $(use_enable nls) \ + $(use_with sasl libgsasl) \ + $(use_with ssl ssl $(usex gnutls "gnutls" "openssl")) +} + +src_install() { + default + + if use gnome-keyring ; then + src_install_contrib mpop-gnome-tool mpop-gnome-tool.py README + python_fix_shebang "${D}"/usr/share/${PN}/mpop-gnome-tool/mpop-gnome-tool.py + fi + + if use vim-syntax ; then + insinto /usr/share/vim/vimfiles/syntax + doins scripts/vim/mpop.vim + fi +} + +src_install_contrib() { + subdir="$1" + bins="$2" + docs="$3" + local dir=/usr/share/${PN}/$subdir + insinto ${dir} + exeinto ${dir} + for i in $bins ; do + doexe scripts/$subdir/$i + done + for i in $docs ; do + newdoc scripts/$subdir/$i $subdir.$i + done +} |