From 565b12a260a3a2c161495031c4dcfca8be8cc912 Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Mon, 29 Jan 2024 17:22:16 +0200 Subject: [PATCH] new file: projects/github.com/platformdirs/platformdirs/package.yml --- .../platformdirs/platformdirs/package.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/github.com/platformdirs/platformdirs/package.yml diff --git a/projects/github.com/platformdirs/platformdirs/package.yml b/projects/github.com/platformdirs/platformdirs/package.yml new file mode 100644 index 00000000..fe14ed51 --- /dev/null +++ b/projects/github.com/platformdirs/platformdirs/package.yml @@ -0,0 +1,21 @@ +distributable: + url: git+https://github.com/platformdirs/platformdirs.git + ref: ${{version.tag}} + +versions: + github: platformdirs/platformdirs + +dependencies: + python.org: '>=3.11' + +runtime: + env: + PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH + +build: + - python -m pip install --prefix={{prefix}} . + - run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}} + working-directory: ${{prefix}}/lib + +test: + - python -c 'import platformdirs; print(platformdirs.__version__)' | grep {{version}} \ No newline at end of file