wok-6.x annotate feedparser/receipt @ rev 25447

Down firefox-official (77.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 16:17:24 2022 +0000 (2022-09-06)
parents 5ea0ce1cecc0
children
rev   line source
jozee@2679 1 # SliTaz package receipt.
jozee@2679 2
jozee@2679 3 PACKAGE="feedparser"
Hans-G?nter@20918 4 VERSION="5.2.1"
jozee@2679 5 CATEGORY="misc"
Hans-G?nter@20918 6 SHORT_DESC="Parse RSS and Atom feeds in Python."
jozee@2679 7 MAINTAINER="jozee@slitaz.org"
pascal@15593 8 LICENSE="MIT"
pascal@20673 9 WEB_SITE="https://github.com/kurtmckee/feedparser"
Hans-G?nter@20918 10
Hans-G?nter@20918 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20918 12 WGET_URL="https://github.com/kurtmckee/$PACKAGE/archive/$VERSION.tar.gz"
jozee@2679 13
pascal@15593 14 DEPENDS="libxml2 python"
pascal@21580 15 BUILD_DEPENDS="libxml2-dev python-dev python-setuptools"
pascal@15593 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24299 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
jozee@2679 23 # Rules to configure and make the package.
jozee@2679 24 compile_rules()
jozee@2679 25 {
slaxemulator@11106 26 python setup.py install --root=$DESTDIR
jozee@2679 27 }
jozee@2679 28
jozee@2679 29 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2679 30 genpkg_rules()
jozee@2679 31 {
jozee@2679 32 mkdir -p $fs/usr/lib
al@18077 33 cp -a $install/usr/lib/python* $fs/usr/lib
jozee@2679 34 }