wok-6.x annotate python-gevent/receipt @ rev 22400

update: expat 2.2.6 (2018) -> 2.2.9 (security fixes: CVE-2019-15903, CVE-2018-20843; ...) -> also, new site: the WGET_URL could be improved
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 08 11:10:33 2019 +0000 (2019-12-08)
parents 16df76e1fc6a
children 1df6fa555414
rev   line source
pascal@15210 1 # SliTaz package receipt.
pascal@15210 2
pascal@15210 3 PACKAGE="python-gevent"
Hans-G?nter@21579 4 VERSION="1.4.0"
pascal@15210 5 CATEGORY="development"
pascal@15210 6 SHORT_DESC="A coroutine-based Python networking library."
pascal@15210 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15210 8 LICENSE="MIT"
Hans-G?nter@21579 9 WEB_SITE="https://pypi.org/project/gevent/"
Hans-G?nter@21579 10
Hans-G?nter@21579 11 SOURCE="gevent"
pascal@15210 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@15210 13 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@15210 14
pascal@15210 15 DEPENDS="python"
Hans-G?nter@21579 16 BUILD_DEPENDS="file libevent-dev python python-dev python-setuptools"
pascal@15210 17
pascal@15210 18 # Rules to configure and make the package.
pascal@15210 19 compile_rules()
pascal@15210 20 {
pascal@15210 21 python setup.py build &&
pascal@15210 22 python setup.py install --root=$DESTDIR
pascal@15210 23 }
pascal@15210 24
pascal@15210 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15210 26 genpkg_rules()
pascal@15210 27 {
pascal@15210 28 mkdir -p $fs
pascal@15210 29 cp -a $install/usr $fs
pascal@15210 30 }