public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hanno Böck" <hanno@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/courier-pythonfilter/
Date: Tue, 10 Sep 2024 08:55:32 +0000 (UTC)	[thread overview]
Message-ID: <1725958514.e729e1f5240fc2e934fe484271ae6cd68af4e3c2.hanno@gentoo> (raw)

commit:     e729e1f5240fc2e934fe484271ae6cd68af4e3c2
Author:     Hanno Böck <hanno <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 10 08:52:49 2024 +0000
Commit:     Hanno Böck <hanno <AT> gentoo <DOT> org>
CommitDate: Tue Sep 10 08:55:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e729e1f5

mail-filter/courier-pythonfilter: properly install config files

As python's packaging no longer allows installing outside its
module dir, we have to manually place the configs into /etc.

See https://github.com/gordonmessmer/courier-pythonfilter/issues/8

Signed-off-by: Hanno Böck <hanno <AT> gentoo.org>

 .../courier-pythonfilter-3.0.6-r1.ebuild           | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.6-r1.ebuild b/mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.6-r1.ebuild
new file mode 100644
index 000000000000..e55bd80615cf
--- /dev/null
+++ b/mail-filter/courier-pythonfilter/courier-pythonfilter-3.0.6-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9,10,11,12,13} )
+PYPI_NO_NORMALIZE=1
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python filtering architecture for the Courier MTA"
+HOMEPAGE="https://pypi.org/project/courier-pythonfilter/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="mail-mta/courier"
+
+python_install() {
+	distutils-r1_python_install
+	rm -rf "${D}$(python_get_sitedir)/etc" || die
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	insinto /etc
+	doins pythonfilter.conf pythonfilter-modules.conf
+}


             reply	other threads:[~2024-09-10  8:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-10  8:55 Hanno Böck [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-24  7:45 [gentoo-commits] repo/gentoo:master commit in: mail-filter/courier-pythonfilter/ Hanno Böck
2024-04-26 19:47 Hanno Böck
2023-05-20  8:43 Michał Górny
2023-05-01 12:41 Michał Górny
2023-04-19  9:43 Sam James
2023-02-26 19:08 Hanno Böck
2022-03-05  0:05 Sam James
2022-02-01 15:00 Hanno Böck
2020-11-18 10:40 Sam James
2020-11-18  9:08 Hanno Böck
2020-11-11 16:13 Hanno Böck
2020-09-02 17:18 Hanno Böck
2020-08-23 11:45 David Seifert
2019-12-07  7:34 Hanno Böck
2019-11-09  7:42 Hanno Böck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1725958514.e729e1f5240fc2e934fe484271ae6cd68af4e3c2.hanno@gentoo \
    --to=hanno@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox