Skip to content

Commit

Permalink
+markitdown
Browse files Browse the repository at this point in the history
  • Loading branch information
jhheider committed Dec 27, 2024
1 parent 1924920 commit c6c13f3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions projects/microsoft.com/markitdown/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
distributable:
url: https://github.com/microsoft/markitdown/archive/refs/tags/{{version.tag}}.tar.gz
strip-components: 1

versions:
github: microsoft/markitdown/tags
transform: v => v.replace(/a/, '.') # still in pre-release, but we want it

dependencies:
pkgx.sh: ^1

build:
dependencies:
python.org: ~3.13
script:
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} markitdown

provides:
- bin/markitdown

test:
- markitdown --help
- markitdown test.docx > test.md
- grep 'Welcome to pkgx' test.md
Binary file added projects/microsoft.com/markitdown/test.docx
Binary file not shown.

0 comments on commit c6c13f3

Please sign in to comment.