py-deprecated: add 1.2.13 and get sources from pypi (#26286)

This commit is contained in:
Manuela Kuhn 2021-09-28 03:15:35 +02:00 committed by GitHub
parent 87450f3688
commit 87b23cc9cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,9 +11,10 @@ class PyDeprecated(PythonPackage):
functions or methods."""
homepage = "https://github.com/tantale/deprecated"
url = "https://github.com/tantale/deprecated/archive/v1.2.7.tar.gz"
pypi = "Deprecated/Deprecated-1.2.13.tar.gz"
version("1.2.7", sha256="7db3c814ddcac9d79c5bae8a0e82a5bba55cb8e46f3d611d0d8611c34a72a783")
version('1.2.13', sha256='43ac5335da90c31c24ba028af536a91d41d53f9e6901ddb021bcc572ce44e38d')
version('1.2.7', sha256='408038ab5fdeca67554e8f6742d1521cd3cd0ee0ff9d47f29318a4f4da31c308')
depends_on("python@2.7:2.8,3.4:", type=("build", "run"))
depends_on("py-wrapt@1.10:1.99999", type=("build", "run"))