add license and fix meta.yaml based on comments at
@@ -6,10 +6,13 @@ package:
name: {{ name }}
version: {{ version }}
+
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}
+ patches: # patch required to add the license at the top level
+ - patch
build:
number: 0
@@ -21,16 +24,17 @@ requirements:
run:
- python
- - setuptools
test:
imports:
about:
home: 'http://www.python-excel.org/'
- license: "BSD-style"
+ license: "BSD 3-Clause"
+ license: "BSD with advertising"
license_family: BSD
- #license_file: docs/licences.rst # not in the tar bundle
+ # copy of github source code in docs/license.rst thanks to the patch
+ license_file: LICENSE
summary: 'Library for developers to extract data from Microsoft Excel (tm) spreadsheet files'
doc_url: http://xlrd.readthedocs.io/en/latest/
dev_url: https://github.com/python-excel/xlrd/blob/master/docs/index.rst
