32 lines
800 B
Bash
32 lines
800 B
Bash
# Template file for 'python-pyglet'
|
|
pkgname=python-pyglet
|
|
version=1.4.4
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="pyglet-${version}"
|
|
build_style=python-module
|
|
pycompile_module="pyglet"
|
|
hostmakedepends="python-setuptools python3-setuptools unzip"
|
|
depends="python"
|
|
short_desc="Cross-platform windowing and multimedia library for Python2"
|
|
maintainer="Jasper Chan <jasperchan515@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.pyglet.org"
|
|
distfiles="${PYPI_SITE}/p/pyglet/pyglet-${version}.zip"
|
|
checksum=08353c549b7f26d5815cc2e9360a85e4e0d80e6a67962e18df0255b00cb529ab
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-pyglet_package() {
|
|
archs=noarch
|
|
pycompile_module="pyglet"
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|