-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Initial draft of hevea recipe #5532
Conversation
Seems will also need to package Objective Caml (ocaml) for conda...
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/hevea:
|
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/hevea:
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Removed some redundant comment lines in order to trigger a build now that |
@@ -0,0 +1,3 @@ | |||
#!/bin/bash | |||
make | |||
make install |
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 need to somehow tell conda to move the binary to $PREFIX
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.
The Makefile should put the binaries under $PREFIX/bin
on its own,
#### Standard configuration parameters
# Compile using ocamlopt, to use ocamlc set TARGET=byte
TARGET=opt
# Install prefix
PREFIX?=/usr/local
# Library directory of hevea
LIBDIR=$(PREFIX)/lib/hevea
# Where to install programms
BINDIR=$(PREFIX)/bin
#Where to install hevea.sty
LATEXLIBDIR=$(PREFIX)/lib/hevea
##### Advanced configuration param
...
The builds are failing with |
Progress, from
|
We now have |
Nice to see macOS worked. CircleCI and my local attempts breaking here on Linux:
It may be coincidence but the $ more check402.ml
let () =
if compare Sys.ocaml_version "4.02.0" >= 0 then
Printf.printf "ok\n"
else
Printf.printf "no\n" The if statement in file $ more handle402.sh
DIR=$(dirname $0)
if [ ! -z "$CHECK" ]
then
if [ "$(ocaml $DIR/check402.ml)" = "ok" ]; then
rm -f $DIR/bytes.ml $DIR/bytes.mli
else
cp $DIR/bytes.mlp $DIR/bytes.ml
cp $DIR/bytes.mlip $DIR/bytes.mli
fi
fi We could hard code this as we only have ocaml 4.06 in conda (so far). |
Hi friend! We really, really, really appreciate that you have taken the time to make a PR on In an effort to maintain this repository and increase the signal-to-noise for open PRs, the maintainers of If you'd like to keep it open, please comment/push and we will be happy to oblige! Note that very old PRs will likely need to be rebased on master so that they can be rebuilt with the most recent CI scripts. If you have any trouble, or we missed reviewing this PR in the first place (sorry!), feel free to ping the team using a special command in a comment on the PR to get the attention of the Cheers and thank you for contributing to this community effort! |
Hi again! About a month ago, we commented on this PR saying it would be closed in another month if it was still inactive. It has been a month and so now it is being closed. Thank you so much for making it in the first place and contributing to the community project that is Cheers and have a great day! |
I would like to have hevea on conda, http://hevea.inria.fr/
Essentially this is a tool which can turn LaTeX documents into HTML.
Hevea is written in Objective Caml. Therefore it seems we may first need to package Objective Caml (ocaml) and/or OPAM, the OCaml package manager, in order to package hevea for conda. I currently have no interest in this or other ocaml packages except as a means to an end - simple installation of hevea.
The old ocmal website has source and pre-compiled Linux binaries (Debian packages, Fedora packages & Gentoo packages), http://caml.inria.fr/ocaml/release.en.html
The new website recommends using OPAM, the OCaml package manager, or your local system package manager - which is perhaps where conda would sit?
https://ocaml.org/docs/install.html
The source releases include instructions. This also listed v4.06.0 as the latest, and the downloads refer to the old site URLs as listed above.
--
Do we need to package
ocaml
first? Can we recycle a pre-compiled binary package?I presume it does not make sense to package
OPAM
instead (the OCaml package manager)?