blob: aab0c6d0c679ecf3ddbc850a88313464e64d0ffb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1 git-r3
DESCRIPTION="Threaded Python IMAP4 client."
HOMEPAGE="https://github.com/jazzband/imaplib2"
EGIT_REPO_URI="https://github.com/jazzband/${PN}.git"
EGIT_COMMIT="08e267c2cdfa189b4bdfa138d7143ad247e2ca2a"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_prepare() {
sed -i "/version=/ s/\"\(.*\)\"/\"${PV}\"/" setup.py
distutils-r1_src_prepare
}
|