diff --git a/bob/devtools/templates/conda/meta.yaml b/bob/devtools/templates/conda/meta.yaml index 1d480ff6f1620bff3815123e8a484f9bfcda60f9..7a0e3209793aefa8471f184c890f77fe8fa9ac14 100644 --- a/bob/devtools/templates/conda/meta.yaml +++ b/bob/devtools/templates/conda/meta.yaml @@ -15,6 +15,10 @@ build: - python setup.py sdist --formats=zip {% endif %} - python setup.py install --single-version-externally-managed --record record.txt + # installs the documentation source, readme to share/doc so it is available + # during test time + - install -d "${PREFIX}/share/doc/{{ name }}" + - cp -R README.rst doc "${PREFIX}/share/doc/{{ name }}/" requirements: # place your build dependencies before the 'host' section @@ -47,7 +51,8 @@ test: # extend this list with further test-time-only dependencies about: + summary: (( title )) home: https://www.idiap.ch/software/{{ group }}/ license: (% if license == 'gplv3' %)GNU General Public License v3 (GPLv3)(% else %)BSD 3-Clause(% endif %) license_family: (% if license == 'gplv3' %)GPL(% else %)BSD(% endif %) - summary: (( title )) + license_file: (% if license == 'gplv3' %)../COPYING(% else %)../LICENSE(% endif %) diff --git a/conda/meta.yaml b/conda/meta.yaml index ca2dec9539e6b0d69f62b153f87de07f033e50d8..e401a810a029aa438d245ce662f9a9820cbd88e4 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -17,12 +17,10 @@ build: - python setup.py sdist --formats=zip {% endif %} - python setup.py install --single-version-externally-managed --record record.txt - # installs the documentation source, readme and license to share/doc - # so it is available during test time - - install -d ${PREFIX}/share/doc/{{ name }} - - install -m 644 -D README.rst ${PREFIX}/share/doc/{{ name }} - - install -m 644 -D LICENSE ${PREFIX}/share/doc/{{ name }} - - find doc -type f -exec install -m 644 -D "{}" "${PREFIX}/share/doc/{{ name }}/{}" \; + # installs the documentation source, readme to share/doc so it is available + # during test time + - install -d "${PREFIX}/share/doc/{{ name }}" + - cp -R README.rst doc "${PREFIX}/share/doc/{{ name }}/" requirements: host: @@ -77,7 +75,8 @@ test: - bdt caupdate --help - bdt new --help - bdt new -t "New package" -o bob.foobar bob/bob.foobar "John Doe" "joe.doe@example.com" - - bdt new -t "New package" -o beat.foobar beat/beat.foobar "John Doe" "joe.doe@example.com" + - bdt new -t "New package" -l bsd -o bob.foobar2 bob/bob.foobar "John Doe" "joe.doe@example.com" + - bdt new -t "New package" -l bsd -o beat.foobar beat/beat.foobar "John Doe" "joe.doe@example.com" - bdt ci --help - bdt ci base-build --help - bdt ci build --help @@ -93,3 +92,4 @@ about: license: BSD 3-Clause summary: Tools for development and CI integration of Bob packages license_family: BSD + license_file: ../LICENSE