# HG changeset patch # User Hans-G?nter Theisgen # Date 1586248684 -3600 # Node ID 64cea38a74bf581b9773c40ec9160bd9349882e6 # Parent 87f1b9716eb67279cd3d57f936521e09b0bb267b added recipe for python-twodict diff -r 87f1b9716eb6 -r 64cea38a74bf python-twodict/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-twodict/receipt Tue Apr 07 09:38:04 2020 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="python-twodict" +VERSION="1.2" +CATEGORY="development" +TAGS="python" +SHORT_DESC="Simple two way ordered dictionary for Python." +MAINTAINER="maintainer@slitaz.org" +LICENSE="Public Domain" +WEB_SITE="https://pypi.org/project/twodict" + +SOURCE="twodict" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://files.pythonhosted.org/packages/source/t/$SOURCE/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python" + +# 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() +{ + cp -a $install/usr $fs +}