python-miniupnpc: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-30 22:07:14 +07:00
parent 8b5f17c82d
commit 2fc83f0329
3 changed files with 20 additions and 29 deletions

View file

@ -1,28 +0,0 @@
# Template file for 'python-miniupnpc'
pkgname=python-miniupnpc
version=2.0.2
revision=3
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
}

View file

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

View file

@ -0,0 +1,20 @@
# Template file for 'python3-miniupnpc'
pkgname=python3-miniupnpc
version=2.0.2
revision=4
wrksrc="miniupnpc-$version"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel miniupnpc-devel"
depends="python3"
short_desc="Python3 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
post_install() {
vlicense LICENSE
}