New package: python-miniupnpc-2.0.2

Closes: #225 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Urs Schulz 2018-04-21 17:22:12 +02:00 committed by Jürgen Buchmüller
parent a104a406fb
commit 0f06d9d389
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# Template file for 'python-miniupnpc'
pkgname=python-miniupnpc
version=2.0.2
revision=1
wrksrc="${pkgname#python-}-$version"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel miniupnpc-devel"
depends="python"
short_desc="Python2 bindings for miniupnpc, a UPnP library"
maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
license="BSD-3-Clause"
homepage="https://pypi.org/project/miniupnpc/"
distfiles="${PYPI_SITE}/m/miniupnpc/miniupnpc-${version}.tar.gz"
checksum=7ea46c93486fe1bdb31f0e0c2d911d224fce70bf5ea120e4295d647dfe274931
python3-miniupnpc_package() {
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vlicense LICENSE
vmove usr/lib/python3*
}
}
post_install() {
vlicense LICENSE
}

1
srcpkgs/python3-miniupnpc Symbolic link
View File

@ -0,0 +1 @@
python-miniupnpc