py-rnc2rng: fix 2.6.5 and add 2.6.6 (#30784)

This commit is contained in:
Manuela Kuhn 2022-05-23 17:02:13 +02:00 committed by GitHub
parent 3d2ff57e7b
commit 68cd6c72c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,10 @@ class PyRnc2rng(PythonPackage):
homepage = "https://github.com/djc/rnc2rng" homepage = "https://github.com/djc/rnc2rng"
pypi = "rnc2rng/rnc2rng-2.6.5.tar.gz" pypi = "rnc2rng/rnc2rng-2.6.5.tar.gz"
version('2.6.6', sha256='5a01d157857b5f010a94167e7092cc49efe2531d58e013f12c4e60b8c4df78f1')
version('2.6.5', sha256='d354afcf0bf8e3b1e8f8d37d71a8fe5b1c0cf75cbd4b71364a9d90b5108a16e5') version('2.6.5', sha256='d354afcf0bf8e3b1e8f8d37d71a8fe5b1c0cf75cbd4b71364a9d90b5108a16e5')
depends_on('py-setuptools', type='build') depends_on('py-setuptools', type='build')
# rnc2rng@2.6.5 uses use_2to3 which was removed in py-setuptools@58
depends_on('py-setuptools@:57', when='@:2.6.5', type='build')
depends_on('py-rply', type=('build', 'run')) depends_on('py-rply', type=('build', 'run'))