summaryrefslogtreecommitdiff
blob: 4059028ee04c19b41f3184ed6c8f604dd9187e34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

PYTHON_COMPAT=( python3_{7..9} )

inherit distutils-r1 flag-o-matic

DESCRIPTION="A Python wrapper for the GPGME library"
HOMEPAGE="https://launchpad.net/pygpgme https://pypi.org/project/pygpgme/"
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 arm64 ~riscv x86"
IUSE=""

DEPEND="app-crypt/gpgme:=[python,${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"

python_configure_all() {
	append-cflags $(gpgme-config --cflags)
}