wok-next annotate python-unittest2/receipt @ rev 20969

Micro-updates + { new clang + assaultcube (still broken)} + {new python modules from SliTaz Cooking + their depends}
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 14 01:56:52 2018 +0300 (2018-09-14)
parents 92698cd69f34
children c9a7a7b42a86
rev   line source
pascal@14376 1 # SliTaz package receipt.
pascal@14376 2
pascal@14376 3 PACKAGE="python-unittest2"
pascal@14376 4 VERSION="0.5.1"
pascal@14376 5 CATEGORY="development"
pascal@14376 6 SHORT_DESC="New features backport to the unittest testing framework."
pascal@14376 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15379 8 LICENSE="BSD"
al@20969 9 WEB_SITE="https://pypi.org/project/unittest2/"
al@20887 10 REPOLOGY="python:unittest2"
al@20887 11
pascal@14376 12 SOURCE="unittest2"
pascal@14376 13 TARBALL="$SOURCE-$VERSION.tar.gz"
al@20969 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@14376 15
pascal@14376 16 DEPENDS="python"
al@20444 17 BUILD_DEPENDS="python-dev"
pascal@14376 18
pascal@14376 19 # Rules to configure and make the package.
pascal@14376 20 compile_rules()
pascal@14376 21 {
pascal@14376 22 python setup.py build
pascal@14376 23 python setup.py test
pascal@14376 24 python setup.py install --root=$DESTDIR
pascal@14376 25 }
pascal@14376 26
pascal@14376 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14376 28 genpkg_rules()
pascal@14376 29 {
pascal@14376 30 mkdir -p $fs/usr
pascal@14376 31 cp -a $install/usr/lib $fs/usr
pascal@14376 32 }