Skip to content
Snippets Groups Projects
Commit d57512a2 authored by Guillaume Melquiond's avatar Guillaume Melquiond
Browse files

Update opam packages.

parent 8f84e5d3
No related branches found
No related tags found
No related merge requests found
...@@ -270,52 +270,27 @@ DONE * sauvegarde de la configuration : à quel endroit dans l'IDE ? ...@@ -270,52 +270,27 @@ DONE * sauvegarde de la configuration : à quel endroit dans l'IDE ?
https://gforge.inria.fr/tracker/admin/?group_id=2990&atid=10293&add_extrafield=1 https://gforge.inria.fr/tracker/admin/?group_id=2990&atid=10293&add_extrafield=1
* prepare the OPAM package * prepare the OPAM package
- update opam/url: url and checksum of why-0.86.tar.gz - update opam/why3-base/url: url and checksum of why-0.86.tar.gz
(use "md5sum distrib/why3-0.86.tar.gz") (use "md5sum distrib/why3-0.86.tar.gz")
- update opam/descr if necessary - update opam/why3-base/descr and opam/why3/descr if necessary
- update opam/opam with correct dependencies and such - update opam/why3-base/opam with correct dependencies
- update opam/why3/opam with the dependency on why3-base
* test the OPAM package - test with "opam pin add why3 --kind=git .../why3/.git"
. with opam 1.2:
opam pin add why3 --kind=git <...>/why3/.git
(it runs "opam install why3") (it runs "opam install why3")
. with opam < 1.2:
- first step: have a local copy of opam-repository if not done yet, e.g.:
git clone git@github.com:claudemarche/opam-repository.git * upload the OPAM package
- clone https://github.com/ocaml/opam-repository
git clone git@github.com:.../opam-repository.git
cd opam-repository/ cd opam-repository/
git remote add opam https://github.com/ocaml/opam-repository.git git remote add opam https://github.com/ocaml/opam-repository.git
- reinitialize the repository if not fresh:
or, if you already have one, make sure it is up-to-date:
git fetch opam git fetch opam
git reset --hard opam/master git reset --hard opam/master
git push git push
- cd packages/why3-base; cp -r .../opam/why3-base why3-base.0.86
- second step: copy why3 opam files into it : - cd packages/why3; cp -r .../opam/why3 why3.0.86
- commit and push
cd packages/why3 - make a pull request on github
cp -r <source why3>/opam why3.0.86
- second step:
opam repository add local <...>/opam-repository
opam install why3
(* test it, e.g.
cp example/quicksort.mlw ~/tmp
why3 ide ~/tmp/quicksort.mlw *)
opam remove why3
opam repository remove local
* make a pull request on OPAM
git add why3.0.86
git commit -am "new package version why3 0.86"
git push
sur github: creer un pull request
* inform Jerry James <loganjerry@gmail.com> so that he can produce the * inform Jerry James <loganjerry@gmail.com> so that he can produce the
Fedora package Fedora package
......
archive: "https://gforge.inria.fr/frs/download.php/file/34797/why3-0.86.1.tar.gz" archive: "https://gforge.inria.fr/frs/download.php/file/35214/why3-0.86.2.tar.gz"
checksum: "43ab4c224b025c2e3dd5526fa6bef181" checksum: "ef0f4c133fc0da25a6b90adefddefa9a"
...@@ -19,7 +19,7 @@ tags: [ ...@@ -19,7 +19,7 @@ tags: [
] ]
available: [ ocaml-version >= "4.01.0" ] available: [ ocaml-version >= "4.01.0" ]
depends: [ depends: [
"why3-base" { = "0.86" } "why3-base" { = "0.86.2" }
"lablgtk" "lablgtk"
"conf-gtksourceview" "conf-gtksourceview"
"zarith" "zarith"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment