From f93587366082858a4c456e3980426ae8bc9bebcb Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Sun, 4 Feb 2024 15:44:33 +0200 Subject: [PATCH] new file: projects/github.com/quodlibet/mutagen/package.yml --- .../github.com/quodlibet/mutagen/package.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/github.com/quodlibet/mutagen/package.yml diff --git a/projects/github.com/quodlibet/mutagen/package.yml b/projects/github.com/quodlibet/mutagen/package.yml new file mode 100644 index 00000000..985afb20 --- /dev/null +++ b/projects/github.com/quodlibet/mutagen/package.yml @@ -0,0 +1,21 @@ +distributable: + url: git+https://github.com/quodlibet/mutagen.git + ref: ${{version.tag}} + +versions: + github: quodlibet/mutagen + strip: /^release-/ + +dependencies: + python.org: '>=3.11' + +runtime: + env: + PYTHONPATH: $PYTHONPATH:{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages + +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 'from mutagen.id3 import ID3, TIT2' \ No newline at end of file