apply suggestions from code review
originally in
{% set name = "bdbag" %}
{% set version = "1.5.6" %}
-{% set hash_type = "sha256" %}
-{% set hash_value = "ae057fec9640442ad039fe50b60afa1d71c0109f9163d182f4f4b27774bbc8b3" %}
+{% set sha256 = "ae057fec9640442ad039fe50b60afa1d71c0109f9163d182f4f4b27774bbc8b3" %}
package:
name: {{ name|lower }}
@@ -9,23 +8,23 @@ package:
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
- sha256: {{ hash_value }}
+ sha256: {{ sha256 }}
build:
noarch: python
number: 0
- script: "{{ PYTHON }} -m pip install . -vv"
+ script: "{{ PYTHON }} -m pip install . --no-deps -vv"
entry_points:
- bdbag = bdbag.bdbag_cli:main
- bdbag-utils = bdbag.bdbag_utils:main
requirements:
host:
- - python
+ - python >=3
- pip
- setuptools
run:
- - python
+ - python >=3
- pytz
- tzlocal
- requests
@@ -47,7 +46,7 @@ about:
summary: 'The bdbag utilities are a collection of software programs for working with BagIt packages that conform to the BDBag and Bagit/RO profiles.'
license: Apache-2.0
license_family: Apache
- license_file: LICENSE.txt
+ license_file: LICENSE
description: |
The bdbag utilities are a collection of software programs for working with BagIt packages that conform to the BDBag and Bagit/RO profiles.
