wok-current view python-ecore/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | d37d15244372 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-ecore"
4 VERSION="1.7.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Python bindings for ecore"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.enlightenment.org/"
11 WGET_URL="git|git://git.enlightenment.org/legacy/bindings/python/$PACKAGE.git"
12 TAGS="e enlightenment efl python"
14 DEPENDS="ecore"
15 BUILD_DEPENDS="ecore-dev python-dev python-cython autoconf automake git \
16 subversion libtool file"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://pypi.org/project/python-ecore/ 2>/dev/null | \
22 sed '/python-ecore [0-9]/!d;s|.*re ||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 ./configure --prefix=/usr &&
30 make all && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/python2.7 $fs/usr/lib
38 }