31 lines
754 B
Bash
31 lines
754 B
Bash
# Template file for 'python-Yapsy'
|
|
pkgname=python-Yapsy
|
|
version=1.11.223
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="Yapsy-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
pycompile_module="yapsy"
|
|
short_desc="Yet another plugin system"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
homepage="http://yapsy.sourceforge.net/"
|
|
license="2-clause-BSD"
|
|
distfiles="${PYPI_SITE}/Y/Yapsy/Yapsy-${version}.tar.gz"
|
|
checksum=45bb39a72461913388d7f3e92ce33816e84fff59946c45e16796eb1fb1d5f2a6
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-Yapsy_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="yapsy"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|