libseccomp package: add version 2.5.3 (#27756)

- Use .tar.gz archive
- Update 2.3.3 to use .tar.gz archive (and update checksum)
- autoreconf dependency is no-longer required
- The new version depends on gperf
This commit is contained in:
Bernhard Kaindl 2021-12-02 23:52:23 +01:00 committed by GitHub
parent 9e1e7fa1d7
commit 4d1a6cd362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,16 +10,14 @@ class Libseccomp(AutotoolsPackage):
"""The main libseccomp repository"""
homepage = "https://github.com/seccomp/libseccomp"
url = "https://github.com/seccomp/libseccomp/archive/v2.3.3.zip"
url = 'https://github.com/seccomp/libseccomp/releases/download/v2.5.3/libseccomp-2.5.3.tar.gz'
version('2.3.3', sha256='627e114b3be2e66ed8d88b90037498333384d9bea822423662a44c3a8520e187')
version('2.5.3', sha256='59065c8733364725e9721ba48c3a99bbc52af921daf48df4b1e012fbc7b10a76')
version('2.3.3', sha256='7fc28f4294cc72e61c529bedf97e705c3acf9c479a8f1a3028d4cd2ca9f3b155')
variant('python', default=True, description="Build Python bindings")
depends_on('autoconf', type='build')
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
depends_on('gperf', type='build', when='@2.5:')
depends_on("py-cython", type="build", when="+python")
def configure_args(self):