python-pygame: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-28 23:55:53 +07:00
parent 9fe18166c1
commit 498ac8aede
3 changed files with 7 additions and 18 deletions

View file

@ -1 +0,0 @@
python-pygame

View file

@ -1,15 +1,14 @@
# Template file for 'python-pygame'
pkgname=python-pygame
# Template file for 'python3-pygame'
pkgname=python3-pygame
version=1.9.6
revision=2
revision=3
wrksrc="pygame-${version}"
build_style=python-module
pycompile_module="pygame"
hostmakedepends="pkg-config python-setuptools python3-setuptools SDL_mixer-devel
build_style=python3-module
hostmakedepends="pkg-config python3-setuptools SDL_mixer-devel
SDL_image-devel SDL_ttf-devel libjpeg-turbo-devel portmidi-devel"
makedepends="python-devel python3-devel SDL_mixer-devel SDL_image-devel
makedepends="python3-devel SDL_mixer-devel SDL_image-devel
SDL_ttf-devel libjpeg-turbo-devel portmidi-devel"
short_desc="Collection of Python modules for writing games (Python2)"
short_desc="Collection of Python modules for writing games (Python3)"
maintainer="Archaeme <normandy@firemail.cc>"
license="LGPL-2.1-or-later"
homepage="https://www.pygame.org/"
@ -17,12 +16,3 @@ distfiles="${PYPI_SITE}/p/pygame/pygame-${version}.tar.gz"
checksum=301c6428c0880ecd4a9e3951b80e539c33863b6ff356a443db1758de4f297957
export PORTMIDI_INC_PORTTIME=1
python3-pygame_package() {
pycompile_module="pygame"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vmove usr/include/python3*
}
}