Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d879f03
add sha256
faisalfakhro Apr 2, 2024
b45ada6
sha256/sha1 checksum priority
faisalfakhro Apr 3, 2024
bde1df4
update checksums.ini files with sha256
faisalfakhro Apr 5, 2024
d890bd9
remove md5, cksum
faisalfakhro Apr 5, 2024
65f1f01
build/pkgs/symengine_py/checksums.ini: Fix upstream_url
mkoeppe Apr 7, 2024
685b4dc
sage_bootstrap.tarball: After checking sha256, also check sha1 for co…
mkoeppe Apr 19, 2024
d75ca34
sage -package fix-checksum: If sha256 is not available, create it
mkoeppe Apr 19, 2024
626539b
Update checksums.ini for updated packages
mkoeppe Apr 19, 2024
a3ccd8d
update packages checksums.ini
faisalfakhro Apr 25, 2024
091aa47
Merge branch 'develop' into update_hashes
faisalfakhro Apr 27, 2024
03bfd92
Merge branch 'pip-24' into update_hashes
mkoeppe Apr 28, 2024
0fe263a
Merge branch 'gambit_remove' into update_hashes
mkoeppe Apr 28, 2024
4044324
sage -package fix-checksum :all:
mkoeppe Apr 28, 2024
f2f63e9
Merge remote-tracking branch 'upstream/develop' into update_hashes
mkoeppe May 2, 2024
d831891
build/pkgs/{editables,fricas}: Add sha256
mkoeppe May 2, 2024
7587edf
Merge branch 'singular-4.3.2p16' into update_hashes
mkoeppe May 5, 2024
840eea0
Merge branch 'update-libgc-8_2_6' into update_hashes
mkoeppe May 5, 2024
72b755a
build/pkgs/{gc,singular}: Add sha256
mkoeppe May 5, 2024
d955e50
Merge branch 'culler/develop' into update_hashes
mkoeppe May 5, 2024
8b0768a
build/pkgs/python3: Add sha256
mkoeppe May 5, 2024
1578923
Merge remote-tracking branch 'upstream/develop' into update_hashes
mkoeppe May 12, 2024
eb08315
sage -package fix-checksum :all:
mkoeppe May 12, 2024
62dc5bc
build/pkgs/flint: Update to 3.1.0
mkoeppe Feb 25, 2024
1cda1df
build/pkgs/flint/patches/0001-Makefile.in-fix-handling-of-DESTDIR.pat…
mkoeppe Feb 25, 2024
4b253b5
build/pkgs/flint: Update to 3.1.2
mkoeppe Apr 10, 2024
fc47aea
build/pkgs/flint: Update to 3.1.3
mkoeppe May 2, 2024
18e1d4f
build/pkgs/gmp/spkg-configure.m4: Check the actual GMP version, to ma…
mkoeppe Jan 31, 2024
090a5af
build/pkgs/gmp/spkg-configure.m4: Cosmetic fixes
mkoeppe May 20, 2024
bff628a
Merge branch 'update_hashes' into gmp_require_6_2_1
mkoeppe May 20, 2024
e2d2df4
sage -package fix-checksum flint
mkoeppe May 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add sha256
  • Loading branch information
faisalfakhro committed Apr 25, 2024
commit d879f0361fead32bef0a9dfa1900669bbd6ee930
12 changes: 12 additions & 0 deletions build/sage_bootstrap/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,17 @@ def sha1(self):
String.
"""
return self.__sha1

@property
def sha256(self):
"""
Return the SHA256 checksum

OUTPUT:

String.
"""
return self.__sha256

@property
def cksum(self):
Expand Down Expand Up @@ -478,6 +489,7 @@ def _init_checksum(self):
pass
self.__md5 = result.get('md5', None)
self.__sha1 = result.get('sha1', None)
self.__sha256 = result.get('sha256', None)
self.__cksum = result.get('cksum', None)
self.__tarball_pattern = result.get('tarball', None)
self.__tarball_upstream_url_pattern = result.get('upstream_url', None)
Expand Down
4 changes: 4 additions & 0 deletions build/sage_bootstrap/tarball.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ def _compute_hash(self, algorithm):
def _compute_sha1(self):
import hashlib
return self._compute_hash(hashlib.sha1())

def _compute_sha256(self):
import hashlib
return self._compute_hash(hashlib.sha256())

def _compute_md5(self):
import hashlib
Expand Down