-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Prepare recipe for xmlf90 #20733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
albgar
wants to merge
10
commits into
conda-forge:main
Choose a base branch
from
albgar:xmlf90
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Prepare recipe for xmlf90 #20733
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
77af6ff
Add build.sh file
albgar edda87e
Use recipes/xmlf90 subdirectory
albgar 25dddfb
fix meta.yaml
albgar d0809a0
Remove comments
albgar b99b47c
Remove leading space in description
albgar 4e32a8c
Add indentation in description
albgar aefd386
Restore example recipe
albgar 9bf8039
Use official repo
albgar cde3a4a
Remove fossil test comments
albgar c44ec01
Merge branch 'conda-forge:main' into xmlf90
albgar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
cmake --version | ||
|
||
cmake_options=( | ||
"-DBUILD_SHARED_LIBS=ON" | ||
"-GNinja" | ||
) | ||
|
||
mkdir _build | ||
pushd _build | ||
cmake ${CMAKE_ARGS} "${cmake_options[@]}" .. | ||
ninja all install | ||
popd | ||
|
||
if [[ "${CONDA_BUILD_CROSS_COMPILATION:-0}" == "1" ]]; then | ||
exit 0 | ||
fi | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,50 @@ | ||||||||||||||||||||
{% set name = "xmlf90" %} | ||||||||||||||||||||
{% set version = "1.5.6" %} | ||||||||||||||||||||
|
||||||||||||||||||||
package: | ||||||||||||||||||||
name: {{ name|lower }} | ||||||||||||||||||||
version: {{ version }} | ||||||||||||||||||||
|
||||||||||||||||||||
source: | ||||||||||||||||||||
url: https://gitlab.com/siesta-project/libraries/{{ name }}/-/archive/{{ version }}/{{ name }}-{{ version }}.tar.gz | ||||||||||||||||||||
sha256: c4492596c911b668b94fee40a53453f06aef3bc41014b9e2f4b51e640ad20528 | ||||||||||||||||||||
|
||||||||||||||||||||
build: | ||||||||||||||||||||
number: 0 | ||||||||||||||||||||
skip: true # [win] | ||||||||||||||||||||
|
||||||||||||||||||||
requirements: | ||||||||||||||||||||
build: | ||||||||||||||||||||
- {{ compiler('fortran') }} | ||||||||||||||||||||
- cmake | ||||||||||||||||||||
- ninja | ||||||||||||||||||||
|
||||||||||||||||||||
test: | ||||||||||||||||||||
commands: | ||||||||||||||||||||
- test -f $PREFIX/lib/libxmlf90${SHLIB_EXT} | ||||||||||||||||||||
|
||||||||||||||||||||
Comment on lines
+22
to
+25
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||
about: | ||||||||||||||||||||
home: https://gitlab.com/siesta-project/libraries/xmlf90 | ||||||||||||||||||||
license: BSD-2-Clause | ||||||||||||||||||||
license_family: BSD | ||||||||||||||||||||
license_file: COPYING | ||||||||||||||||||||
summary: 'A lightweight XML parser and generator in Fortran' | ||||||||||||||||||||
description: | | ||||||||||||||||||||
xmlf90 is a suite of libraries to handle XML in Fortran. A | ||||||||||||||||||||
first component is a XML parsing library, designed to be a | ||||||||||||||||||||
useful tool in the extraction and analysis of data in the | ||||||||||||||||||||
context of scientific computing. The priorities were | ||||||||||||||||||||
efficiency and the ability to deal with very large XML files | ||||||||||||||||||||
while maintaining a small memory footprint. The most complete | ||||||||||||||||||||
programming interface is based on the very successful SAX | ||||||||||||||||||||
(Simple API for XML) model, although a partial DOM interface | ||||||||||||||||||||
and a very experimental XPATH interface are also present. Also | ||||||||||||||||||||
included is a library (xmlf90-wxml) that facilitates the | ||||||||||||||||||||
writing of well-formed XML, including such features as | ||||||||||||||||||||
automatic start-tag completion, attribute pretty-printing, and | ||||||||||||||||||||
element indentation. There are also helper routines to handle | ||||||||||||||||||||
the output of numerical arrays. | ||||||||||||||||||||
|
||||||||||||||||||||
extra: | ||||||||||||||||||||
recipe-maintainers: | ||||||||||||||||||||
- albgar |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You package needs a run export to ensure that downstream packages depend on a version of this package with a compatible ABI. Please adjust max_pin according to the ABI guarantees of your library.