Merge pull request #244 from minextu/python2

Add python2 dependency to zfs-utils-common-git
pull/247/head
Jesus Alvarez 7 years ago committed by GitHub
commit 968f84e6e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/zfs-utils/PKGBUILD.sh

@ -1,12 +1,18 @@
#!/bin/bash
zfs_depends=""
# pyzfs in zfs-git depends on python2 (https://github.com/zfsonlinux/zfs/pull/7230)
if [[ ${archzfs_package_group} =~ -git$ ]]; then
zfs_depends+="\"python2\""
fi
cat << EOF > ${zfs_utils_pkgbuild_path}/PKGBUILD
${header}
pkgname="${zfs_utils_pkgname}"
pkgver=${zfs_pkgver}
pkgrel=${zfs_pkgrel}
pkgdesc="Kernel module support files for the Zettabyte File System."
depends=("${spl_pkgname}")
depends=(${zfs_depends})
makedepends=(${zfs_makedepends})
arch=("x86_64")
url="http://zfsonlinux.org/"

Loading…
Cancel
Save