31 lines
765 B
Bash
31 lines
765 B
Bash
# Template file for 'python-Yapsy'
|
|
pkgname=python-Yapsy
|
|
version=1.12.2
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="Yapsy-${version}"
|
|
build_style=python-module
|
|
pycompile_module="yapsy"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Yet another plugin system"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://yapsy.sourceforge.net/"
|
|
distfiles="${PYPI_SITE}/Y/Yapsy/Yapsy-${version}.tar.gz"
|
|
checksum=d8113d9f9c74eacf65b4663c9c037d278c9cb273b5eee5f0e1803baeedb23f8b
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-Yapsy_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
pycompile_module="yapsy"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt
|
|
}
|
|
}
|