wok-next annotate python-pyrex/receipt @ rev 21057

Deal with HOST_ARCH="any"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 03 14:47:30 2018 +0200 (2018-12-03)
parents d5aab818505e
children
rev   line source
pankso@3975 1 # SliTaz package receipt.
pankso@3975 2
pankso@3975 3 PACKAGE="python-pyrex"
slaxemulator@6904 4 VERSION="0.9.9"
al@20972 5 CATEGORY="python"
al@20972 6 SHORT_DESC="Language for Writing Python Extension Modules"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15378 8 LICENSE="Apache"
al@20887 9 WEB_SITE="http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/"
al@21057 10 HOST_ARCH="any"
al@20887 11 REPOLOGY="python:pyrex"
al@20887 12
al@20972 13 # pip didn't provide downloads for Pyrex
al@20972 14 TARBALL="Pyrex-$VERSION.tar.gz"
al@20972 15 WGET_URL="http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/$TARBALL"
pascal@15378 16
al@20972 17 BUILD_DEPENDS="python-dev"
pankso@3975 18
al@20972 19 compile_rules() {
al@20972 20 # Python3 based compilation produce error
al@20972 21 python -B setup.py install --root=$install
pankso@3975 22 }
pankso@3975 23
al@20972 24 genpkg_rules() {
al@20972 25 copy @std
al@20972 26 DEPENDS="python"
pankso@3975 27 }