mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-29 16:37:30 -07:00
Closes: https://github.com/gentoo/gentoo/pull/14246 Signed-off-by: Michał Górny <mgorny@gentoo.org>
32 lines
745 B
Bash
32 lines
745 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,8} pypy3 )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Python bindings for UPnP client library"
|
|
HOMEPAGE="http://miniupnp.free.fr/"
|
|
SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=net-libs/miniupnpc-${PV}:0="
|
|
DEPEND="${RDEPEND}
|
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/miniupnpc-2.0.20171102-shared-lib.patch
|
|
)
|
|
|
|
# DOCS are installed by net-libs/miniupnpc.
|
|
DOCS=()
|
|
|
|
# Example test command:
|
|
# python -c 'import miniupnpc; u = miniupnpc.UPnP(); u.discover(); u.selectigd(); print(u.externalipaddress())'
|