wok-6.x annotate python-ecore/receipt @ rev 25445

itaka: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 07:38:52 2022 +0000 (2022-09-06)
parents d37d15244372
children
rev   line source
domcox@14410 1 # SliTaz package receipt.
domcox@14410 2
domcox@14410 3 PACKAGE="python-ecore"
domcox@14410 4 VERSION="1.7.0"
domcox@14410 5 CATEGORY="base-system"
domcox@14410 6 SHORT_DESC="Python bindings for ecore"
domcox@14410 7 MAINTAINER="domcox@slitaz.org"
pascal@14995 8 LICENSE="LGPL2.1"
domcox@14410 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20421 10 WEB_SITE="https://www.enlightenment.org/"
domcox@14410 11 WGET_URL="git|git://git.enlightenment.org/legacy/bindings/python/$PACKAGE.git"
domcox@14410 12 TAGS="e enlightenment efl python"
domcox@14410 13
domcox@14410 14 DEPENDS="ecore"
al@18077 15 BUILD_DEPENDS="ecore-dev python-dev python-cython autoconf automake git \
pascal@20585 16 subversion libtool file"
domcox@14410 17
pascal@24713 18 # What is the latest version available today?
pascal@24713 19 current_version()
pascal@24713 20 {
pascal@24713 21 wget -O - https://pypi.org/project/python-ecore/ 2>/dev/null | \
pascal@24713 22 sed '/python-ecore [0-9]/!d;s|.*re ||;q'
pascal@24713 23 }
pascal@24713 24
domcox@14410 25 # Rules to configure and make the package.
domcox@14410 26 compile_rules()
domcox@14410 27 {
domcox@14410 28 ./autogen.sh &&
domcox@14410 29 ./configure --prefix=/usr &&
al@18077 30 make all && make install
domcox@14410 31 }
domcox@14410 32
domcox@14410 33 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@14410 34 genpkg_rules()
domcox@14410 35 {
domcox@14410 36 mkdir -p $fs/usr/lib
domcox@14410 37 cp -a $install/usr/lib/python2.7 $fs/usr/lib
domcox@14410 38 }