SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "feedparser"

# SliTaz package receipt.

PACKAGE="feedparser"
VERSION="5.2.1"
CATEGORY="misc"
SHORT_DESC="Parse RSS and Atom feeds in Python."
MAINTAINER="jozee@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://github.com/kurtmckee/feedparser"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/kurtmckee/$PACKAGE/archive/$VERSION.tar.gz"

DEPENDS="libxml2 python"
BUILD_DEPENDS="libxml2-dev python-dev python-setuptools"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib 
    cp -a $install/usr/lib/python* $fs/usr/lib
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)