Commit 2dfe7acb authored by Erwan Jahier's avatar Erwan Jahier

Some opam fix

parent ad57bc8e
......@@ -107,12 +107,18 @@ opam : $(WWW)/pool/$(PACKNAME).tgz
cd .. ; opam-admin check && opam-admin make -g && \
cp -rf $(OPAM_DIR) $(OFFICIAL_OPAM_DIR)
# if the following rule fails, it migth be necessary to do:
# cp opam.diff opam.diff.exp
# The idea is that oasis2opam correctly track dependancies, but
# generate a wrong opam file. Hence, I diff opam.diff.exp and opam.diff
# to make sure that my "manual" opam file does not miss a dep
opam-test : $(WWWTEST)/pool/$(PACKNAME).tgz
cd $(WWWTEST)/opam-repository/packages && \
oasis2opam $(HTTPTEST)/pool/$(PACKNAME).tgz && \
cp $(OPAM_FILE_TEST) $(PWD)/opam.oasis2opam && \
diff -u $(PWD)/opam.oasis2opam $(PWD)/opam | \
grep -v opam.oasis2opam > $(PWD)/opam.diff &&\
grep -v opam.oasis2opam | grep -v "+++" > $(PWD)/opam.diff &&\
diff $(PWD)/opam.diff $(PWD)/opam.diff.exp && \
cp $(PWD)/opam $(OPAM_FILE_TEST) || \
(echo "The opam file needs some update"; exit 2) && \
......
OASISFormat: 0.4
Name: Lutin
Version: 2.60
Version: 2.61
Authors: Erwan Jahier, Pascal Raymond, Bertrand Jeannnet (polka), Yvan Roux
Maintainers: erwan.jahier@univ-grenoble-alpes.fr
License: CeCILL
......
let str="2.60"
let sha="f5332350"
let str="2.61"
let sha="ad57bc8e"
......@@ -26,6 +26,7 @@ build-test: [
]
build-doc: [ "ocaml" "setup.ml" "-doc" ]
depends: [
"base-bigarray"
"conf-gmp"
"conf-perl" {build}
"base-unix" {build}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment