mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-19 07:37:01 +02:00
New package: python-pyglet-1.3.2
This commit is contained in:
parent
08374030ff
commit
3c593c5d5b
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-pyglet/template
Normal file
31
srcpkgs/python-pyglet/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'python-pyglet'
|
||||
pkgname=python-pyglet
|
||||
version=1.3.2
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="pyglet-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="pyglet"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
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}.tar.gz"
|
||||
checksum=b00570e7cdf6971af8953b6ece50d83d13272afa5d1f1197c58c0f478dd17743
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-pyglet_package() {
|
||||
noarch=yes
|
||||
pycompile_module="pyglet"
|
||||
depends="python3"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
1
srcpkgs/python3-pyglet
Symbolic link
1
srcpkgs/python3-pyglet
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-pyglet
|
Loading…
Add table
Reference in a new issue