# This file created by conda-build 3.21.4
# meta.yaml template originally from:
# /tmp/build/80754af9/rsync-recipes/python-libarchive-c-2.9-on-linux_64, last modified Wed Apr  7 08:10:18 2021
# ------------------------------------------------

package:
  name: python-libarchive-c
  version: '2.9'
source:
  patches:
    - 0002-prefer-to-load-libarchive-from-conda-pkg-path.patch
  sha256: 9919344cec203f5db6596a29b5bc26b07ba9662925a05e24980b84709232ef60
  url: https://pypi.io/packages/source/l/libarchive-c/libarchive-c-2.9.tar.gz
build:
  noarch: python
  number: '1'
  script:
    - /tmp/build/80754af9/python-libarchive-c_1617780486945/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin/python
      -m pip install . -vv
  string: pyhd3eb1b0_1
requirements:
  build:
    - _libgcc_mutex 0.1 main
    - libgcc-ng 9.1.0 hdf63c60_0
    - patch 2.7.6 h7b6447c_1001
  host:
    - _libgcc_mutex 0.1 main
    - ca-certificates 2021.1.19 h06a4308_1
    - certifi 2020.12.5 py39h06a4308_0
    - ld_impl_linux-64 2.33.1 h53a641e_7
    - libffi 3.3 he6710b0_2
    - libgcc-ng 9.1.0 hdf63c60_0
    - libstdcxx-ng 9.1.0 hdf63c60_0
    - ncurses 6.2 he6710b0_1
    - openssl 1.1.1k h27cfd23_0
    - pip 21.0.1 py39h06a4308_0
    - python 3.9.2 hdb3f193_0
    - readline 8.1 h27cfd23_0
    - setuptools 52.0.0 py39h06a4308_0
    - sqlite 3.35.4 hdfb4753_0
    - tk 8.6.10 hbc83047_0
    - tzdata 2020f h52ac0ba_0
    - wheel 0.36.2 pyhd3eb1b0_0
    - xz 5.2.5 h7b6447c_0
    - zlib 1.2.11 h7b6447c_3
  run:
    - libarchive
    - python
test:
  commands:
    - python -c "import libarchive; libarchive.extract_file('test/hello_world.xar')"
    - python -c "import os, shutil, libarchive; shutil.copytree(os.path.dirname(libarchive.__file__),
      'libarchive')"
    - pytest --cov libarchive -vv
  files:
    - test/hello_world.xar
  imports:
    - libarchive
  requires:
    - mock
    - pytest-cov
  source_files:
    - README.rst
    - tests
about:
  home: https://github.com/Changaco/python-libarchive-c
  license: CC0-1.0
  license_family: CC
  license_file: cc0-1.0.txt
  summary: Python interface to libarchive
extra:
  copy_test_source_files: true
  final: true
  recipe-maintainers:
    - bollwyvl
    - mingwandroid
    - ocefpaf
