wok-next annotate python-opengl-accelerate/receipt @ rev 20885

Update python (2.7.15)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 13 13:52:56 2018 +0300 (2018-07-13)
parents 693f7325058f
children 8b5b2a6d07b8
rev   line source
yuripourre@18662 1 # SliTaz package receipt.
yuripourre@18662 2
yuripourre@18662 3 PACKAGE="python-opengl-accelerate"
yuripourre@18662 4 VERSION="3.0.2"
yuripourre@18662 5 CATEGORY="development"
yuripourre@18662 6 SHORT_DESC="Cross platform Python binding to OpenGL."
yuripourre@18662 7 MAINTAINER="yuripourre@gmail.com"
yuripourre@18662 8 LICENSE="BSD"
al@20885 9 WEB_SITE="http://pyopengl.sf.net"
al@20885 10 REPOLOGY="python:opengl-accelerate"
al@20885 11
al@20885 12 SOURCE="PyOpenGL-accelerate"
yuripourre@18662 13 TARBALL="$SOURCE-$VERSION.tar.gz"
yuripourre@18662 14 WGET_URL="https://pypi.python.org/packages/source/P/$SOURCE/$TARBALL"
yuripourre@18662 15
yuripourre@18662 16 DEPENDS="python python-opengl"
yuripourre@18662 17 BUILD_DEPENDS="python python-dev python-opengl"
yuripourre@18662 18
yuripourre@18662 19 # Rules to configure and make the package.
yuripourre@18662 20 compile_rules()
yuripourre@18662 21 {
yuripourre@18662 22 {
yuripourre@18662 23 python setup.py build &&
yuripourre@18662 24 python setup.py install --root=$DESTDIR
yuripourre@18662 25 } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)'
yuripourre@18662 26 }
yuripourre@18662 27
yuripourre@18662 28 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@18662 29 genpkg_rules()
yuripourre@18662 30 {
yuripourre@18662 31 cp -a $install/usr $fs
yuripourre@18662 32 }