You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
964 B
38 lines
964 B
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/miniupnpc/miniupnpc-1.6.ebuild,v 1.2 2012/02/21 08:29:34 patrick Exp $
|
|
|
|
EAPI=3
|
|
SUPPORT_PYTHON_ABIS=1
|
|
PYTHON_DEPEND=2
|
|
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
|
|
|
inherit base distutils
|
|
|
|
DESCRIPTION="UPnP client library and a simple UPnP client"
|
|
HOMEPAGE="http://miniupnp.free.fr/"
|
|
SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="|| ( >=net-libs/miniupnpc-1.6-r1
|
|
net-libs/miniupnpc[-python] )
|
|
!net-libs/miniupnpc[python]"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_prepare() {
|
|
local PATCHES=(
|
|
"${FILESDIR}"/0001-Link-Python-module-against-the-shared-library.patch
|
|
)
|
|
|
|
base_src_prepare
|
|
distutils_src_prepare
|
|
|
|
# these will conflict with base miniupnpc ebuild
|
|
# and distutils.eclass is stupid enough to force installing them
|
|
rm -f Changelog.txt README || die
|
|
}
|