Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions projects/borgbackup.org/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,35 @@ versions:

dependencies:
pkgx.sh: ^1
github.com/Cyan4973/xxHash: ^0.8
github.com/Cyan4973/xxHash: ^0.8.1

build:
dependencies:
python.org: ^3.10
openssl.org: ^1.1
facebook.com/zstd: '*'
lz4.org: '*'
python.org: ^3.9
openssl.org: ^1.0
facebook.com/zstd: ^1.3.0
lz4.org: ^1.7.0
darwin:
macfuse.github.io: '*'
linux:
kernel.org/linux-headers: ^5
savannah.nongnu.org/acl: ^2.3.1
github.com/libfuse/libfuse: ^3
env:
BORG_OPENSSL_PREFIX: '{{deps.openssl.org.prefix}}'
BORG_LIBLZ4_PREFIX: '{{deps.lz4.org.prefix}}'
BORG_LIBZSTD_PREFIX: '{{deps.facebook.com/zstd.prefix}}'
BORG_LIBXXHASH_PREFIX: '{{deps.github.com/Cyan4973/xxHash.prefix}}'
BORG_LIBACL_PREFIX: '{{deps.savannah.nongnu.org/acl.prefix}}'
PKG_CONFIG_PATH: '$PKG_CONFIG_PATH:{{deps.github.com/libfuse/libfuse.prefix}}/lib64/pkgconfig'
linux:
FUSE_PKG: pyfuse3
darwin:
FUSE_PKG: llfuse
script:
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install -r requirements.d/development.txt
- ${{prefix}}/venv/bin/pip install .
- ${{prefix}}/venv/bin/pip install .[$FUSE_PKG]
- bkpyvenv seal {{prefix}} borg borgfs

provides:
Expand All @@ -45,3 +54,5 @@ test:
# note that the extract path is a full subdirectory based on the original
# absolute path of the fixture file
- test "# borg test fixture" = "$(cat .$FIXTURE)"
- mkdir mnt && borgfs mount test-repo mnt
- test -f mnt/test-repo/test-archive/$FIXTURE
Loading