diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-11-05 09:19:36 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-11-05 13:19:36 +0100 |
commit | fb9b9a5f715baa12afce456b6609880e53c5ff70 (patch) | |
tree | 41a625f0f48f33cb0336b6bb4033d98792e63af1 /dev-python/miniupnpc/miniupnpc-2.0.20171102.ebuild | |
parent | net-libs/miniupnpc: Bump to 2.0.20171102 (diff) | |
download | gentoo-fb9b9a5f715baa12afce456b6609880e53c5ff70.tar.gz gentoo-fb9b9a5f715baa12afce456b6609880e53c5ff70.tar.bz2 gentoo-fb9b9a5f715baa12afce456b6609880e53c5ff70.zip |
dev-python/miniupnpc: Bump to 2.0.20171102
Diffstat (limited to 'dev-python/miniupnpc/miniupnpc-2.0.20171102.ebuild')
-rw-r--r-- | dev-python/miniupnpc/miniupnpc-2.0.20171102.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/miniupnpc/miniupnpc-2.0.20171102.ebuild b/dev-python/miniupnpc/miniupnpc-2.0.20171102.ebuild new file mode 100644 index 000000000000..c3659faf80f3 --- /dev/null +++ b/dev-python/miniupnpc/miniupnpc-2.0.20171102.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) + +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())' |