python-PyOpenGL-accelerate: add python3 flavor, depend on numpy
Remove pycompile_module since there's nothing to byte-compile.
This commit is contained in:
parent
3b1d035342
commit
362a899e11
2 changed files with 18 additions and 8 deletions
|
@ -1,19 +1,28 @@
|
||||||
# Template file for 'python-PyOpenGL-accelerate'
|
# Template file for 'python-PyOpenGL-accelerate'
|
||||||
pkgname=python-PyOpenGL-accelerate
|
pkgname=python-PyOpenGL-accelerate
|
||||||
version=3.1.0
|
version=3.1.0
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="PyOpenGL-accelerate-${version}"
|
wrksrc="PyOpenGL-accelerate-${version}"
|
||||||
build_style=python2-module
|
build_style=python-module
|
||||||
hostmakedepends="python-devel python-Cython"
|
hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython"
|
||||||
makedepends="python-devel python-numpy"
|
makedepends="python-devel python3-devel python-numpy python3-numpy"
|
||||||
pycompile_module="OpenGL_accelerate"
|
depends="python-numpy"
|
||||||
short_desc="Acceleration code for PyOpenGL"
|
short_desc="Acceleration code for PyOpenGL (Python2)"
|
||||||
maintainer="Alain Kalker <a.c.kalker@gmail.com>"
|
maintainer="Alain Kalker <a.c.kalker@gmail.com>"
|
||||||
license="BSD"
|
license="3-clause-BSD"
|
||||||
homepage="http://pyopengl.sourceforge.net/"
|
homepage="http://pyopengl.sourceforge.net/"
|
||||||
distfiles="${PYPI_SITE}/P/PyOpenGL-accelerate/PyOpenGL-accelerate-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/P/PyOpenGL-accelerate/PyOpenGL-accelerate-${version}.tar.gz"
|
||||||
checksum=927f4670b893d46e2f6273ae938bf0a1db27ffae3336eba94813ccef6260c410
|
checksum=927f4670b893d46e2f6273ae938bf0a1db27ffae3336eba94813ccef6260c410
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense license.txt
|
vlicense license.txt LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-PyOpenGL-accelerate_package() {
|
||||||
|
depends="python3-numpy"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense license.txt LICENSE
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
1
srcpkgs/python3-PyOpenGL-accelerate
Symbolic link
1
srcpkgs/python3-PyOpenGL-accelerate
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-PyOpenGL-accelerate
|
Loading…
Add table
Add a link
Reference in a new issue