mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
python-b2sdk: rename to python3-b2sdk, clean up depends
This package no longer reverts a later version and can now conform to standard nomenclature.
This commit is contained in:
parent
d4e2ba60b5
commit
7ec5fff125
5 changed files with 13 additions and 5 deletions
1
srcpkgs/python-b2sdk
Symbolic link
1
srcpkgs/python-b2sdk
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python3-b2sdk
|
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-b2sdk'
|
# Template file for 'python3-b2sdk'
|
||||||
# keep python-b2sdk name to revert this package
|
pkgname=python3-b2sdk
|
||||||
pkgname=python-b2sdk
|
|
||||||
version=1.18.0
|
version=1.18.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=python3-pep517
|
build_style=python3-pep517
|
||||||
make_install_target="dist/b2sdk-${version}-*-*-*.whl"
|
make_install_target="dist/b2sdk-${version}-*-*-*.whl"
|
||||||
hostmakedepends="python3-setuptools_scm python3-wheel"
|
hostmakedepends="python3-setuptools_scm python3-wheel"
|
||||||
depends="python3-logfury python3-Arrow python3-requests python3-six"
|
depends="python3-logfury python3-Arrow python3-requests python3-tqdm"
|
||||||
checkdepends="python3-pytest-lazy-fixture $depends python3-dateutil
|
checkdepends="python3-pytest-lazy-fixture $depends python3-dateutil
|
||||||
python3-mock python3-tqdm python3-pyflakes"
|
python3-mock python3-tqdm python3-pyflakes"
|
||||||
short_desc="Backblaze's B2 Python SDK"
|
short_desc="Backblaze's B2 Python SDK"
|
||||||
|
@ -15,8 +14,16 @@ license="MIT"
|
||||||
homepage="https://pypi.org/project/b2sdk"
|
homepage="https://pypi.org/project/b2sdk"
|
||||||
distfiles="${PYPI_SITE}/b/b2sdk/b2sdk-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/b/b2sdk/b2sdk-${version}.tar.gz"
|
||||||
checksum=9272f28d18d498b66d33d749a0f05e49d9bb1a9134f94261c0b8bfa1b56f3eec
|
checksum=9272f28d18d498b66d33d749a0f05e49d9bb1a9134f94261c0b8bfa1b56f3eec
|
||||||
|
replaces="python-b2sdk>=0"
|
||||||
|
# Tests require an application key
|
||||||
make_check=no
|
make_check=no
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
python-b2sdk_package() {
|
||||||
|
build_style=meta
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" - transitional package"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue