Skip to content

Commit

Permalink
Add optional Python dependencies to PKGBUILD and setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Nov 27, 2023
1 parent 9a01b1f commit 497a47e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/aur/PKGBUILD.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ license=("LGPL3")
groups=()
makedepends=('python-setuptools' 'cython' 'python-build' 'python-installer')
depends=('python' 'python-archspec')
optdepends=('python-isal: fast gzip decompression support'
'python-lz4: lz4 decompression support'
'python-zstandard: zstd decompression support')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
noextract=()
sha256sums=(%sha256sum)
Expand Down
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ tests_require =
[options.extras_require]
isal =
isal ~=1.1
lz4 =
lz4 ~=4.0
zst =
zstandard ~=0.22

[options.entry_points]
console_scripts =
Expand Down

0 comments on commit 497a47e

Please sign in to comment.