mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
Closes: https://github.com/gentoo/gentoo/pull/14246 Signed-off-by: Michał Górny <mgorny@gentoo.org>
26 lines
555 B
Bash
26 lines
555 B
Bash
# 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="Python interface to sendmail milter API"
|
|
HOMEPAGE="https://github.com/sdgathman/pymilter"
|
|
SRC_URI="https://github.com/sdgathman/${PN}/archive/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
|
|
DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${WORKDIR}/${PN}-${P}"
|
|
|
|
python_test() {
|
|
"${EPYTHON}" -m unittest discover -v || die
|
|
}
|