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