wok diff protobuf-python/receipt @ rev 24736

updated libev and libev-dev (4.31 -> 4.33)
author Hans-G?nter Theisgen
date Wed Mar 16 09:25:45 2022 +0100 (2022-03-16)
parents f1f58e8f3b0d
children e717a4953b0e
line diff
     1.1 --- a/protobuf-python/receipt	Fri Apr 03 06:28:53 2020 +0100
     1.2 +++ b/protobuf-python/receipt	Wed Mar 16 09:25:45 2022 +0100
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="Protocol buffers - Google's data interchange format (python)."
     1.5  MAINTAINER="slaxemulator@gmail.com"
     1.6  LICENSE="BSD"
     1.7 -WEB_SITE="https://github.com/protocolbuffers/protobuf/"
     1.8 +WEB_SITE="https://github.com/protocolbuffers/protobuf"
     1.9  
    1.10  SOURCE="protobuf"
    1.11  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.12 @@ -15,6 +15,13 @@
    1.13  DEPENDS="protobuf python"
    1.14  BUILD_DEPENDS="libatomic protobuf-dev python-dev python-setuptools"
    1.15  
    1.16 +# What is the latest version available today?
    1.17 +current_version()
    1.18 +{
    1.19 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
    1.20 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    1.21 +}
    1.22 +
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {