py-versioneer-518: add a workaround (#42534)
This commit is contained in:
		| @@ -14,6 +14,10 @@ class PyVersioneer518(PythonPackage): | |||||||
|     pypi = "versioneer-518/versioneer-518-0.19.tar.gz" |     pypi = "versioneer-518/versioneer-518-0.19.tar.gz" | ||||||
|     git = "https://github.com/python-versioneer/versioneer-518.git" |     git = "https://github.com/python-versioneer/versioneer-518.git" | ||||||
| 
 | 
 | ||||||
|  |     # A workaround for invalid URL, most likely due to presence of 518 in the name. | ||||||
|  |     def url_for_version(self, version): | ||||||
|  |         return super().url_for_version(f"518-{version}") | ||||||
|  | 
 | ||||||
|     version("0.19", sha256="a287608997415f45401849d1227a42bb41b80a6e4a7da5776666f85ce6faec41") |     version("0.19", sha256="a287608997415f45401849d1227a42bb41b80a6e4a7da5776666f85ce6faec41") | ||||||
| 
 | 
 | ||||||
|     depends_on("py-setuptools", type="build") |     depends_on("py-setuptools", type="build") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Maciej Wójcik
					Maciej Wójcik