wok annotate feedparser/receipt @ rev 24211
created recipe for perl-file-rsync
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:00:22 2021 +0100 (2021-12-31) |
parents | 240fb3120638 |
children | ac8ca9758df1 |
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@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 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 } |