py-archspec: replace removed .build_directory with .stage.source_path (#34521)
This commit is contained in:
parent
ea029442e6
commit
2db38bfa38
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class PyArchspec(PythonPackage):
|
|||
|
||||
def patch(self):
|
||||
# See https://python-poetry.org/docs/pyproject/#poetry-and-pep-517
|
||||
with working_dir(self.build_directory):
|
||||
with working_dir(self.stage.source_path):
|
||||
if self.spec.satisfies("@:0.1.3"):
|
||||
filter_file("poetry>=0.12", "poetry_core>=1.0.0", "pyproject.toml")
|
||||
filter_file("poetry.masonry.api", "poetry.core.masonry.api", "pyproject.toml")
|
||||
|
|
Loading…
Reference in a new issue