Skip to content

Commit d073f87

Browse files
committed
Fix opam files and add make-opam-files script
1 parent b1ad2a0 commit d073f87

7 files changed

+29
-6
lines changed

coq-metacoq-erasure.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ opam-version: "2.0"
22
version: "8.15.dev"
33
maintainer: "[email protected]"
44
homepage: "https://metacoq.github.io/metacoq"
5-
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
5+
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
66
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
77
authors: ["Abhishek Anand <[email protected]>"
88
"Simon Boulier <[email protected]>"

coq-metacoq-pcuic.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ opam-version: "2.0"
22
version: "8.15.dev"
33
maintainer: "[email protected]"
44
homepage: "https://metacoq.github.io/metacoq"
5-
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
5+
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
66
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
77
authors: ["Abhishek Anand <[email protected]>"
88
"Simon Boulier <[email protected]>"

coq-metacoq-safechecker.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ opam-version: "2.0"
22
version: "8.15.dev"
33
maintainer: "[email protected]"
44
homepage: "https://metacoq.github.io/metacoq"
5-
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
5+
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
66
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
77
authors: ["Abhishek Anand <[email protected]>"
88
"Simon Boulier <[email protected]>"

coq-metacoq-template.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ opam-version: "2.0"
22
version: "8.15.dev"
33
maintainer: "[email protected]"
44
homepage: "https://metacoq.github.io/metacoq"
5-
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#master"
5+
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
66
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
77
authors: ["Abhishek Anand <[email protected]>"
88
"Simon Boulier <[email protected]>"

coq-metacoq-translations.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ opam-version: "2.0"
22
version: "8.15.dev"
33
maintainer: "[email protected]"
44
homepage: "https://metacoq.github.io/metacoq"
5-
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
5+
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
66
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
77
authors: ["Simon Boulier <[email protected]>"
88
"Cyril Cohen <[email protected]>"

coq-metacoq.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ opam-version: "2.0"
22
version: "8.15.dev"
33
maintainer: "[email protected]"
44
homepage: "https://metacoq.github.io/metacoq"
5-
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
5+
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
66
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
77
authors: ["Abhishek Anand <[email protected]>"
88
"Simon Boulier <[email protected]>"

make-opam-files.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#/usr/bin/env bash
2+
echo "Target directory: " $1
3+
echo "Target version: " $2
4+
echo "Releases package: " $3
5+
6+
wget $3
7+
archive=`basename $3`
8+
hash=`shasum -a 512 $archive | cut -f 1 -d " "`
9+
10+
echo "Shasum = " $hash
11+
12+
for f in *.opam;
13+
do
14+
opamf=${f/.opam/};
15+
target=$1/$opamf/$opamf.$2/opam;
16+
echo $opamf;
17+
mkdir $1/$opamf/$opamf.$2
18+
gsed -e "/^version:.*/d" $f > $target
19+
echo url { >> $target
20+
echo " src:" \"$3\" >> $target
21+
echo " checksum:" \"sha512=$hash\" >> $target
22+
echo } >> $target
23+
done

0 commit comments

Comments
 (0)