py-htgettoken: add v2.0-2 (#45688)

* Add version 2.0.-2

* Newer version at the top

* [@spackbot] updating style on behalf of rahmans1

* py-htgettoken: reorder comments

* Use sha256sum instead of commit id for version 2.0-2 and above

---------

Co-authored-by: rahmans1 <rahmans1@users.noreply.github.com>
Co-authored-by: Wouter Deconinck <wdconinc@gmail.com>
This commit is contained in:
Sakib Rahman 2024-08-13 16:39:51 -04:00 committed by GitHub
parent 70eb7506df
commit 21a2c3a591
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,10 +22,12 @@ class PyHtgettoken(PythonPackage):
license("BSD-3-Clause")
version("2.0-2", sha256="80b1b15cc4957f9d1cb5e71a1fbdc5d0ac82de46a888aeb7fa503b1465978b13")
# The following versions refer to setuptools-buildable commits after 1.16;
# they are special reproducible version numbers from `git describe`
version("1.16-33-g3788bb4", commit="3788bb4733e5e8f856cee51566df9a36cbfe097d")
version("1.16-20-g8b72f48", commit="8b72f4800ef99923dac99dbe0756a26266a27886")
# Older versions do not have a python build system
depends_on("py-setuptools@30.3:", type="build")